/build/static/layout/Breadcrumb_cap_w.png

Launch exe after install

I have packaged a small legacy install that distributes a few files including an executable(handheldinstall.exe). I would like to have the MSI launch the executable after installation is complete. I have added a custom action and install execute sequence:

CustomAction:
Action=CA_HandheldInstall
Type=3282
Source=handheldinstall.exe
Target=

InstallExecuteSequence:
Action=CA_HandheldInstall
Condition=
Sequence=6595

The InstallFinalize sequence is 6600. The exe never launches. Anyone know what might be wrong? I'm making these changes to the MSI in Orca.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: nheim 16 years ago
10th Degree Black Belt
0
Hi Joe,
this can't work like this, but you are on the right track.
Your CA type is: 3072 + 192 + 18 (TypeInScript-TypeNoImpersonate + Async-Continue + EXE).
This combination is not allowed, have a look at the logfile where this CA should run. A deferred CA must allways have a return code.
You need to run this type of CA at very end of the InstallExecuteSequence or if its not needed in silent mode, at the end of the InstallUISequence.

So, change the type to 210 and the sequence to 6800 and it will work.

Regards, Nick
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ