Launching an Installation from Another InstallScript Installation

InstallShield 2020

Project:The following information applies to InstallScript projects.

You can launch a complete installation by calling the LaunchApplication function. For example, if you placed the child installation’s files on a CD-ROM, you could call LaunchApplication as follows:

LaunchApplication (SRCDISK ^ "Launched Setup Folder\\Setup.exe", "", "", SW_HIDE,"", LAAW_OPTION_WAIT);

As an alternative, you can include the child installation in your project as a support file. If you do this, your main installation copies the child installation to the target system, runs the installation, and deletes the installation along with any other support files. Use the SUPPORTDIR variable in the path of your child installation:

LaunchApplication (SUPPORTDIR ^ Setup.exe, "", "", SW_HIDE,"", LAAW_OPTION_WAIT);

Alternatively, you could insert links to the child installation into your file groups, install the child installation onto the target system, and then launch the installation from the target location. (With these methods, the child installation is left on the target system until the parent installation is uninstalled.)

See Also