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
- :
- Running another setup program
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
Aug 07, 2009
04:36 AM
Running another setup program
Using Installshield 2010 Premium [basic msi project]
I need to run another insatller
this is located in a subdirectory on Disk one
i.e.
Assets\setup.exe
now I've linked a Custom action from a dialog however I just cannot seem to get the Custom action correct
how do I create one [custom action] which will set the working dirctory to the correct directory on DISK1 [or even the last disk] and lauch itself
I need to run another insatller
this is located in a subdirectory on Disk one
i.e.
Assets\setup.exe
now I've linked a Custom action from a dialog however I just cannot seem to get the Custom action correct
how do I create one [custom action] which will set the working dirctory to the correct directory on DISK1 [or even the last disk] and lauch itself
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 10, 2009
06:14 AM
To Answer my own question.
"Behaviour and Logic -> InstallScript" section. Then click on the "Files" folder and choose "New Script File".
This will create a new script with a sample function in it.
Then add the following command into that function:
LaunchApplication(SRCDIR + "Alternative\\setup.exe", "", SRCDIR, SW_SHOW, 0, 0);
then
"Behaviour and Logic -> Custom Actions and Sequences" section.
Then right-click on "Custom Actions" and choose "New Installscript". Call your action something appropriate (eg. 'RunAltSetupAction'),
then click on it and select your function in the properties on the right.
Then
"User Interface -> Dialog" section (from the lefthand menu).
Expand the dialog you created, and choose "Behaviour". Then click on your button, and assign the "DoAction" event. Then choose the default action you created (RunAltSetupAction).
Job Done
"Behaviour and Logic -> InstallScript" section. Then click on the "Files" folder and choose "New Script File".
This will create a new script with a sample function in it.
Then add the following command into that function:
LaunchApplication(SRCDIR + "Alternative\\setup.exe", "", SRCDIR, SW_SHOW, 0, 0);
then
"Behaviour and Logic -> Custom Actions and Sequences" section.
Then right-click on "Custom Actions" and choose "New Installscript". Call your action something appropriate (eg. 'RunAltSetupAction'),
then click on it and select your function in the properties on the right.
Then
"User Interface -> Dialog" section (from the lefthand menu).
Expand the dialog you created, and choose "Behaviour". Then click on your button, and assign the "DoAction" event. Then choose the default action you created (RunAltSetupAction).
Job Done
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)