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
- :
- Launch setup.exe, installed from MSI file after MSI installation completes
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Mar 05, 2014
08:59 AM
Launch setup.exe, installed from MSI file after MSI installation completes
Dear community.
I need to be able to launch a setup.exe, which is installed from a MSI file.
To sum up the problem:
I have an MSI-file (created as a Basic-MSI project in InstallShield 2013), containing a setup.exe which deploys on the users computer. I need to launch this setup.exe after the MSI is done installing. It needs to happen automatically, and there is no UI avaliable (Either it is silent or with basic-UI) so binding an action to the Finish Button of the SetupCompleteSuccess dialogue is not an option.
My guess is that this is somewhat possible with the use of a custom action, placed after the InstallFinalize-step in the exec-sequence. However, I have not succeded in getting this to work. I have, however managed to start NotePad, but not the setup.exe I am deploying myself. I can manually start the setup.exe after it has been deployed, so I know it works - I just can't get the installer to start it without any problems.
Starting it before the InstallFinalize step, is unfortunately not an option either, since it will fail, due to multiple installation processes running.
There are many more elegant ways to design this, than wrapping a setup.exe in a MSI, but unfortunately a Single MSI file containing the setup.exe is a hard requirement, so alternative solutions is unfortunately not an option.
I have tried many things, but I have not gotten anything to work, so any help is much much appreciated.
Best regards and thanks in advance
C
I need to be able to launch a setup.exe, which is installed from a MSI file.
To sum up the problem:
I have an MSI-file (created as a Basic-MSI project in InstallShield 2013), containing a setup.exe which deploys on the users computer. I need to launch this setup.exe after the MSI is done installing. It needs to happen automatically, and there is no UI avaliable (Either it is silent or with basic-UI) so binding an action to the Finish Button of the SetupCompleteSuccess dialogue is not an option.
My guess is that this is somewhat possible with the use of a custom action, placed after the InstallFinalize-step in the exec-sequence. However, I have not succeded in getting this to work. I have, however managed to start NotePad, but not the setup.exe I am deploying myself. I can manually start the setup.exe after it has been deployed, so I know it works - I just can't get the installer to start it without any problems.
Starting it before the InstallFinalize step, is unfortunately not an option either, since it will fail, due to multiple installation processes running.
There are many more elegant ways to design this, than wrapping a setup.exe in a MSI, but unfortunately a Single MSI file containing the setup.exe is a hard requirement, so alternative solutions is unfortunately not an option.
I have tried many things, but I have not gotten anything to work, so any help is much much appreciated.
Best regards and thanks in advance
C
(2) Replies
Mar 06, 2014
04:11 AM
Hi,
Go to Project Assistant tab and select Installation Interview panel.
Select Yes for “Do you want to give users the option to launch your application when the installation completes?” and provide your .exe location.
Now when you install your application it would show a check box saying ‘Launch’ on installation success dialog. Select the checkbox and click on Finish. Your exe would launch.
Regards,
Rajesh Kumar
Go to Project Assistant tab and select Installation Interview panel.
Select Yes for “Do you want to give users the option to launch your application when the installation completes?” and provide your .exe location.
Now when you install your application it would show a check box saying ‘Launch’ on installation success dialog. Select the checkbox and click on Finish. Your exe would launch.
Regards,
Rajesh Kumar
Mar 06, 2014
07:51 AM
rakumar wrote:
Hi,
Go to Project Assistant tab and select Installation Interview panel.
Select Yes for “Do you want to give users the option to launch your application when the installation completes?” and provide your .exe location.
Now when you install your application it would show a check box saying ‘Launch’ on installation success dialog. Select the checkbox and click on Finish. Your exe would launch.
Regards,
Rajesh Kumar
Hi Rajesh. Thank you for your reply.
Unfortunately I do not have the luxury of a Finish-dialogue, since I am running in either Silent (/qs) or Basic-UI (/qb). What you suggest would work, but It is not an option which I can use, unfortunately.
If it is possible to emmulate this behaviour automatically without using the UI-sequence, then I would like to hear how.
Best regards.