[WiX-users] Force msi to ask for admin priviliges

2014-07-29 Thread dsro87
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

2014-07-29 Thread dsro87
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