Re: [WiX-users] Uninstalling with admin privileges on win 8 - 8.1

2013-11-19 Thread Смагин Александр Михайлович
I have found a way to elevate my msi. The solution is to use  InstallPrivileges="elevated" in  and do not use setting  MSIUSEREALADMINDETECTION property. Thanks -- Shape the Mobile Experience: Free Subscription Softwar

Re: [WiX-users] Uninstalling with admin privileges on win 8 - 8.1

2013-11-19 Thread Смагин Александр Михайлович
Thanks for clarification, but I do not understand anyway how to elevate the uninstall. Should I always use my setup.exe to uninstall the app instead of add/remove programs? Понедельник, 18 ноября 2013, 17:05 -08:00 от Phil Wilson : >On UAC systems a check like the one you have will not always

Re: [WiX-users] Uninstalling with admin privileges on win 8 - 8.1

2013-11-18 Thread Phil Wilson
On UAC systems a check like the one you have will not always work properly because Privileged doesn't get set until an MSI elevation prompt which is after the launch conditions. That check works when you run from an elevated prompt because that forces elevation of the entire MSI including the launc

[WiX-users] Uninstalling with admin privileges on win 8 - 8.1

2013-11-18 Thread Смагин Александр Михайлович
Hi,  I create msi to install our company software. During installation it's required to register COM object. it requires admin privileges. I use the following condition to detect admin privileges (Privileged and (VersionNT = 601 Or VersionNT = 602 or VersionNT = 603)) or VersionNT = 501 Ther