Re: [WiX-users] Force msi to ask for admin priviliges
http://www.joyofsetup.com/2007/09/24/test-your-setups-virtually/ Palbinder Sandher Software Platform Engineer T: +44 (0)141 945 8500 F: +44 (0)141 945 8501 http://www.iesve.com Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: dsro87 [mailto:dominik.schw...@web.de] Sent: 29 July 2014 10:29 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Force msi to ask for admin priviliges I solved the problem. It was not a msi/wix problem. We have an entry in our group policy which is Always install with elevated privileges (http://msdn.microsoft.com/en-us/library/ms813108.aspx). With this entry the msi never asked for administration priviliges. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Force-msi-to-ask-for-admin-priviliges-tp7596097p7596099.html Sent from the wix-users mailing list archive at Nabble.com. -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Force msi to ask for admin priviliges
Hi all, I created a setup with custom actions which copies and deletes our license files. When I start the msi with a bootstraper (Setup.exe) it is asked for administration priviliges and the custom actions run fine, but when i uninstall our application over Control Panel - Programs - programs and features the msi starts to run but rollback after executing the delete custom action. The Error is System.UnauthorizedAccessException. I think the msi does not run with admin priviliges. My question is, how can I force the msi to ask for admin priviliges before start? I tried InstallPrivileges=elevated InstallScope=perMachine an AdminImage=no as properties. But this doesn't work. Regards Dominik -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Force-msi-to-ask-for-admin-priviliges-tp7596097.html Sent from the wix-users mailing list archive at Nabble.com. -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Force msi to ask for admin priviliges
I solved the problem. It was not a msi/wix problem. We have an entry in our group policy which is Always install with elevated privileges (http://msdn.microsoft.com/en-us/library/ms813108.aspx). With this entry the msi never asked for administration priviliges. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Force-msi-to-ask-for-admin-priviliges-tp7596097p7596099.html Sent from the wix-users mailing list archive at Nabble.com. -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users