After the completion of my setup, I need to launch the main executable of the
software. In the manifest file of the main executable the execution level has
been set to 'requireAdministrator'. The wix file has a custom action to launch
the main executable. The custom action is given as:
<CustomAction Id="StartApp" Directory="INSTALLDIR"
ExeCommand="[INSTALLDIR]MyApp.exe" Return="asyncNoWait" />
The problem is that the MSI is failing to launch the executable and returning
the error code 1631... this is probably because the application needs to run
with elevated privileges.
I can't run the executable in deferred mode as I need to run it at a very late
stage (after completing the setup, when the user clicks the 'Finish' button on
my final dialog). Because in deferred mode I need to sequence it between
InstallInitialize and InstallFinalize.
Any ideas on how to run the executable...
Thanks.
Sudripta.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users