Pergunta

I've had a look at this https://www.wrightfully.com/part-6-of-writing-your-own-net-based-installer-with-wix-a-note-about-uac/ but this doesn't work in my circumstance.

I have two applications using the same Managed BA, one requires elevation and the other requires it only on install not on major upgrade. Is there any way to detect these conditions, i.e. are there any bundle properties that examine the underlying install to see if UAC is required or not or does it not know until elevation is requested by the packages?

Foi útil?

Solução

Deploy the C++ runtime private with your application or static link the libraries into your binaries. Now you're installer will never require elevation.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top