Defining InstallShield Prerequisites

InstallShield 2024

Project: The following project types include support for InstallShield prerequisites:

Basic MSI
InstallScript
InstallScript MSI

All of these project types include support for the setup prerequisite type of InstallShield prerequisite. Basic MSI projects include support for the feature prerequisite type.

InstallShield also includes support for including InstallShield prerequisites as packages in Advanced UI and Suite/Advanced UI projects. For more information, see Including InstallShield Prerequisites (.prq) in an Advanced UI or Suite/Advanced UI Project.

Note:Windows Package Manger prerequisites are not supported to import in the Suite project.

WPM prerequisites runtime are supported on Windows 10 and later workstations. In other operating systems, the WPM prerequisites are skipped during runtime.

Use the InstallShield Prerequisite Editor in InstallShield to modify the settings for any of the prerequisites that are included with InstallShield. You can also create custom prerequisites using this tool and then add them to your projects.

Specifying your own InstallShield prerequisites and modifying existing ones enables you to set options such as the following:

The URL from where the prerequisite files should be downloaded to the target machine
Conditions under which the prerequisite should be installed
Other prerequisites on which a particular prerequisite is dependent
The command line for the prerequisite
The command line to be used if the installation is running in silent mode
Whether the target machine should be restarted after installation of a prerequisite
Whether the administrative privileges are required to install the prerequisite
Whether the installation should display a message box that enables end users to choose whether to install the prerequisite
Supports configuring prerequisite from Windows Package Manager.

This section includes the following topics:

Creating an InstallShield Prerequisite
Modifying an Existing InstallShield Prerequisite
Setting Properties for an InstallShield Prerequisite
Creating an InstallShield Windows Package Manager Prerequisite
Specifying an Alternate URL for a .prq File
Setting Installation Conditions for an InstallShield Prerequisite
Specifying Files for an InstallShield Prerequisite
Specifying URLs for Downloading InstallShield Prerequisites
Specifying Parameters for Installing an InstallShield Prerequisite
Restarting a Target Machine for InstallShield Prerequisite Installations
Specifying Installation Behavior for an InstallShield Prerequisite
Specifying Dependencies for an InstallShield Prerequisite
Saving an InstallShield Prerequisite

See Also