The is achieved by enabling the install to support elevation. MSI does this by default when UAC is enabled and you are targeting the 4.0 or higher MSI engine.
There are two things you need be aware of when using custom actions: 1. All immediate custom actions run in the current users context. 2. Only deferred custom actions can be configured to run in the system context (elevation). Mat Skildum -----Original Message----- From: Michael Tissington [mailto:michael_tissing...@ciqual.com] Sent: Tuesday, April 12, 2011 4:40 AM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] XP Install as admin I'm a little confused ... I have seen some installs running on an XP box as a regular user display a dialog that prompts for admin user credentials to run the install as an admin user. How is this achieved? ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users