Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top