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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top