This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- InstallShield force applicatio launch
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 12, 2010
07:51 AM
InstallShield force applicatio launch
Hi,
Is there any way to force application launch when the setup finish without giving the user the choice?
Is there any way to force application launch when the setup finish without giving the user the choice?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2010
09:08 AM
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.
Place it add the end of the InstallExecute sequence or give it a value of -1 to only install after a successful installation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 15, 2010
01:08 PM
If you are using script to do this you can use the 'LaunchApp' method...
... 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.
/*--- 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
MessageBox( @IDS_ERROR_UNABLE_TO_OPEN_HELP_FILE, WARNING);
endif;
... 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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 20, 2010
01:59 AM
Also, at the click of the Finish button in the Final dialog, you can launch the application.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2010
08:45 AM
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.