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
- :
- Re: Sequences Installation Execute Help
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 28, 2010
04:20 PM
Sequences Installation Execute Help
I'm having problems understanding the Sequences - Installation - Execute section.
I'm needing to execute another MSI program for a 3rd party vendor to install their library files on the users computer along with our application. I'm including this MSI file in my list of files included in my installation.
I created a function that would run the LaunchAppAndWait procedure to run their MSI program.
I created a Custom Action that would run my function.
I inserted this Custom Action at where I thought would be near the end of the Installation Execute sequence after the "PublishProduct" sequence. (The only things listed after it are the ScheduleReboot, InstallFinalize, & ISSelfRegisterFinalize.)
I have a message box being displayed if it fails to run which it is failing because the files (and directory) have not even been created at that time. (when I get the message box error message, using a windows explorer to look at the directory where I'm installing to, the directory hasn't been created in the Program Files directory yet).
So is there a better place to put my Custom Action or is there a better way to launch this separate MSI program at the end of my installation process.
I appreciate any help I can get on this. I only have an intermediate (if that at all) IS knowledge, so please explain in a way I can understand. Thanks 😉
I'm needing to execute another MSI program for a 3rd party vendor to install their library files on the users computer along with our application. I'm including this MSI file in my list of files included in my installation.
I created a function that would run the LaunchAppAndWait procedure to run their MSI program.
I created a Custom Action that would run my function.
I inserted this Custom Action at where I thought would be near the end of the Installation Execute sequence after the "PublishProduct" sequence. (The only things listed after it are the ScheduleReboot, InstallFinalize, & ISSelfRegisterFinalize.)
I have a message box being displayed if it fails to run which it is failing because the files (and directory) have not even been created at that time. (when I get the message box error message, using a windows explorer to look at the directory where I'm installing to, the directory hasn't been created in the Program Files directory yet).
So is there a better place to put my Custom Action or is there a better way to launch this separate MSI program at the end of my installation process.
I appreciate any help I can get on this. I only have an intermediate (if that at all) IS knowledge, so please explain in a way I can understand. Thanks 😉
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 28, 2010
10:01 PM
If you are tryting to call one msi within another msi its will fail. MSI's doesnt support that. So in your case try to call the 3rd party msi after the ExecuteAction in the UI sequence.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 29, 2010
01:44 PM
Executing an MSI after the UI sequence but just before the Execute sequence is something I've done in one of my projects. The notable danger there is that you must keep in mind that it will not be executed during silent installs.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 29, 2010
07:08 PM
Looks like that is working for me.
I was having a problem with the TARGETDIR and INSTALLDIR paths appear to be empty when I was executing them using the action of Defered Execution. But doing them in the UI sequence they can be done back as Execute Immediate so now the paths are present. So this looks like it will work.
Thank you.
I was having a problem with the TARGETDIR and INSTALLDIR paths appear to be empty when I was executing them using the action of Defered Execution. But doing them in the UI sequence they can be done back as Execute Immediate so now the paths are present. So this looks like it will work.
Thank you.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)