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=153845071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to