Hello Everyone,
Using the normal procedure I added a check box to my ExitDialog to launch my application on Exit. This works without any issues. http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run _program_after_install.html The issue I do have is that the application I launch on Exit requires that it be ran with Admin rights. (Elevated Privileges) It's a configuration utility. >From the documentation it seems that this is not possible, I need to execute between install initialize and finalize to get elevated privileges. It there a way I can run a post install process with Admin Rights ? The following code returns error 2762: Cannot write script record. Transaction not started. The InstallExecuteSequence may have been authored incorrectly. Actions that change the system must be sequenced between the InstallInitialize and InstallFinalize actions. Perform package validation and check for ICE77. <UI> <UIRef Id="MyWixUI_InstallDir" /> <!--Publish and determine of the CA if going to run on Exit, see LaunchApplication CA below for actual execution--> <Publish Dialog="MyExitDialog" Control="Finish" Event="DoAction" Value=" MyConfigurationToolStartCA ">LAUNCHAPPONEXIT = 1 AND NOT Installed</Publish> </UI> <CustomAction Id="MyConfigurationToolStartCA" Return="asyncNoWait" Directory="TARGETDIR" ExeCommand="[#Configuration.exe]" Execute="deferred" Impersonate="no"/> Thanks for the help, Marc ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users