Windows Installer Editor Reference
531
Custom Action Reference
Tips
z
This custom action is not available in an Administrative Installation.
z
The installation being called must be a Windows Installer installation.
z
On the Properties tab, In-Script Options is unavailable for this custom action and
Processing only allows synchronous execution.
z
For best results, place this custom action in the Execute Immediate sequence after
the InstallFinalize action.
Usage
Double-click the custom action and complete the Details tab:
z
Custom Action Name
Enter a unique name that begins with a letter or underscore. It can contain numbers
and periods. It must not match the name of any Windows Installer standard action.
See Standard Actions Reference in the Windows Installer SDK Help.
z
Installation to Run
Enter the relative path of the .MSI to run. Example: If this installation is located at
the top level of a CD (F:\), and the nested installation is at
F:\SubInstall\second.msi, enter the following:
SubInstall\second.msi
z
Property Settings
Enter properties to set for the nested installation. You can set Windows Installer
properties or private properties. Example: To set the main installation directory for
the nested installation to be the same as for the current installation:
INSTALLDIR="[INSTALLDIR]"
If the directory represented by the property might contain spaces, as is typical with
the installation directory, enclose the property in quotes as shown above.
To set the nested installation to be advertised, enter:
ADVERTISE=ALL
To uninstall the nested installation, enter:
REMOVE=ALL
For a list of properties, see Property Reference in the Windows Installer SDK Help.
See also:
Guidelines for Nested Installation Custom Actions
on page 506
Guidelines for Custom Action Location
on page 505
Using the Custom Action Properties Tab
on page 542
Using the Custom Action Location Tab
on page 539
Custom Action Type 23 in the Windows Installer SDK Help
Nested Installation Actions in the Windows Installer SDK Help
Launch Web Page
This custom action displays a Web page during installation using the end user’s default
browser.