문제

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