Summary
Information on custom action.Synopsis
This article explains in detail how to launch third-party setups that are based on the Windows Installer Service from within an InstallShield Express setup.
Discussion
If you want to deploy a third-party Windows Installer package, it is recommended that you launch the MSI package as opposed to setup.exe itself via custom actions. Express 4.0 and later has a new type of custom action that enables you to launch executables that already exist on the machine. This articles makes use of this type of custom action to launch child MSI packages.
Follow these steps to create a custom action to launch third-party MSI packages from your setup:
- Within the parent project in Express, insert all the child-setup related files under the INSTALLDIR folder in the Destination Computer's folders in the Files view. If the setup files are uncompressed, make sure to include all the files and folders related to the child setup with the proper folder structure.
- To install the child setup during installation time, create a new executable type of custom action. Open the Custom Actions view and set the following attributes:
- Source Location: File Exists on Target Computer
- File Location: [SystemFolder]
- File Name and Command Line: msiexec.exe /i "[INSTALLDIR]childpackage.msi" (the msiexec.exe file runs the install of an MSI file and childpackage.msi is the name of the child setup package)
- Invoke: After Setup Complete Success Dialog
- Execute: During Installation
- The other attributes of the custom action can be left as the defaults
- Source Location: File Exists on Target Computer
Related Articles
Detecting Whether an Installation is Running on a Virtual Machine Returns True When Ran on a Physical Machine with Hyper-V… 6Number of Views The Setup Must Update Files or Services That Cannot Be Updated While System is Running 14Number of Views Suite Project Build Error -7239 3Number of Views Change Installation State of a Feature, Based on Another Feature's Selection State 5Number of Views Display of Suite Controls Based on Feature Selection 8Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago