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
- :
- How to call msiexec ?
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
‎Apr 26, 2011
11:19 AM
How to call msiexec ?
I am new to InstallShield 11. Can anyone tell me, or better yet pass along a script, that calls msiexec.exe and then runs a few .MSI files. And these .MSI files are compiled within the .ism script. I know I can install files under "files and folders" but I am not sure how to run msiexec and then point it to the location where the .MSI were installed.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 26, 2011
08:18 PM
If you are working in a Basic MSI or InstallScript MSI project, you can do a Chained Installation.
You set up a Chained Installation in the Releases view of your project, and you chain other MSI files to your main installation project. Now, these chained MSI files must be built beforehand. You can not build them in your main installation project.
Chained Installation is the safest way to do what you are wanting. You can look it up in the Help. There will also be many posts related to Chained Installations in this forum.
You set up a Chained Installation in the Releases view of your project, and you chain other MSI files to your main installation project. Now, these chained MSI files must be built beforehand. You can not build them in your main installation project.
Chained Installation is the safest way to do what you are wanting. You can look it up in the Help. There will also be many posts related to Chained Installations in this forum.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 27, 2011
04:12 AM
Chained MSI is the best option in case of MSI based projects......... If you are just installing two MSI files (and run) then you can also consider using InstallScript wrapper just to have an exe wrapper.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 27, 2011
03:46 PM
This command line worked:
LaunchApplication("msiexec.exe", "/i " + SUPPORTDIR^"Orca.msi" + " /qn REBOOT=R", "", SW_NORMAL, INFINITE, LAAW_OPTION_WAIT | LAAW_OPTION_USE_SHELLEXECUTE);
But, no matter what i try I can't get it to run the following:
cmd.exe /c md c:\windows\build
I've replaced msiexec.exe with cmd.exe and tried many different syntax combo's and nothing worked yet. How would you run this command: cmd.exe /c md c:\windows\build ?
LaunchApplication("msiexec.exe", "/i " + SUPPORTDIR^"Orca.msi" + " /qn REBOOT=R", "", SW_NORMAL, INFINITE, LAAW_OPTION_WAIT | LAAW_OPTION_USE_SHELLEXECUTE);
But, no matter what i try I can't get it to run the following:
cmd.exe /c md c:\windows\build
I've replaced msiexec.exe with cmd.exe and tried many different syntax combo's and nothing worked yet. How would you run this command: cmd.exe /c md c:\windows\build ?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)