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: How to invoke a Basic MSI installer from another Basic MSI installer silently
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
‎Oct 20, 2010
01:35 AM
How to invoke a Basic MSI installer from another Basic MSI installer silently
Hi,
I need to invoke installer of a Basic MSI installer from another Basic MSI installer silently. For this, in first installer, i created a custom action of type "New exe(path referencing a directory)". I specified the action properties correctly as:
Working directory -> the location where the second installable setup.exe is created beforehand
Filename & Command line -> setup.exe /S /v"/qn"
Return processing -> Synchronous (check exit code)
When I'm running the first installer, i'm getting Error 1721: There is a problem with this Windows Installer Package. A program required for this install to complete could not be run.... And if i change "Return processing" to any other option, the installation completes successfully, but second installation (silent one) is not done at all.
Also, if i change "Working directory" to System folder and give absolute path for second setup.exe in "Filename & Command line", i start getting Error 1722: There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected...
Please provide some assistance to overcome the problem. Any help appreciated.
Thanks
Amit
I need to invoke installer of a Basic MSI installer from another Basic MSI installer silently. For this, in first installer, i created a custom action of type "New exe(path referencing a directory)". I specified the action properties correctly as:
Working directory -> the location where the second installable setup.exe is created beforehand
Filename & Command line -> setup.exe /S /v"/qn"
Return processing -> Synchronous (check exit code)
When I'm running the first installer, i'm getting Error 1721: There is a problem with this Windows Installer Package. A program required for this install to complete could not be run.... And if i change "Return processing" to any other option, the installation completes successfully, but second installation (silent one) is not done at all.
Also, if i change "Working directory" to System folder and give absolute path for second setup.exe in "Filename & Command line", i start getting Error 1722: There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected...
Please provide some assistance to overcome the problem. Any help appreciated.
Thanks
Amit
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 20, 2010
01:32 PM
You can't run two basic msi installers concurrently. The windows installer engine will not allow it. The best approach is to uninstall the applications seperately and not within another installation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2010
01:17 AM
Another way is using "nested msi" type custom action.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2010
07:51 AM
The "nested MSI' custom action type has been deprecated by Microsoft and is not recommended.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2010
08:23 AM
The best solution would probably be to create an InstallShield prerequisite that launches the separate package. You can pass command-line parameters so that the package is launched silently. The help has more information.