Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 6

InstallShield force applicatio launch


Is there any way to force application launch when the setup finish without giving the user the choice?
Labels (1)
0 Kudos
4 Replies
Level 8

CustomAction 18 (Execute program from installed files)
Place it add the end of the InstallExecute sequence or give it a value of -1 to only install after a successful installation.
0 Kudos
Level 7

If you are using script to do this you can use the 'LaunchApp' method...

/*--- code used in the OnEnd() method ---*/

//--- hh.exe is the microsoft help html file viewer...
if (LaunchApp( "hh.exe", strPathToLaunch) < 0) then

//--- Pop up error message if unable to launch application


... figured I'd add that in case someone using InstallScript or using script for a custom action read this post. For a more detailed description see this article.
0 Kudos
Level 6

Also, at the click of the Finish button in the Final dialog, you can launch the application.
0 Kudos
Level 7

True but that would launch the app before setup was complete. In my application I ask if they want to launch the app in the Finish dialog and then in OnEnd() I check to see if they chose to or not and launch it if they chose to.
0 Kudos