Prerequisites Page - Installer Project

This view allows you to include existing installers in your package, to enable Windows features or set specific Windows Server roles.

Prerequisites

Existing installers can be added in multiple ways, depending on the moment you want to execute them:

  • Pre-install - additional packages that are installed before the MSI is launched. The UI for these prerequisites can be customized from the Pre-install UI section from the Dialogs page.
  • Feature-based - additional packages which are handled as features during your main installation. They are launched right before the main installation after pressing the [ Install ] button.
  • Chained - packages embedded in your MSI using native Windows Installer 4.5 support. They are ignored on machines with older Windows Installer versions.
  • Post-install - feature-based prerequisites which are launched after your main installation. They are also handled by the installation user interface.

NoteYou can change when a prerequisite is executed by dragging it over the appropriate folder (Pre-install, Feature-based or Post-install).

ImportantPre-install prerequisites are handled by our EXE bootstrapper. This is why the corresponding option must be checked in the Configuration Tab page.

All setup files used by a prerequisite can be bundled with your package or placed online and accessed through a URL. During install, if the prerequisite is not found it will be automatically installed.

Prerequisites Prerequisites

Adding predefined prerequisites

Select Packages tree item to display the Frameworks and Runtimes page. You can then check the prerequisites you want to include in your package.

NoteIn Frameworks and Runtimes page you can also configure global prerequisite options.

To make sure that the target machines can run your installation package, you can include Windows Installer as a prerequisite. Windows Installer predefined prerequisites use special setup file locations. When building your project, the prerequisite installation package is downloaded automatically. If the download fails or you cancel it, an error message will be displayed and the build process is aborted.

Adding bundled prerequisite software

New package prereq Use the [ Package Prerequisite ] toolbar button, “New Package Prerequisite” context menu item or Insert key. You will be prompted to pick the prerequisite setup files.

Adding downloadable prerequisite software

New url prereq Use the [ URL Prerequisite ] toolbar button or “New URL Prerequisite” context menu item to add the download URL of the prerequisite. This type of prerequisite is created with default settings, so you need to configure it manually.

Adding chained packages

New chained pack Use the [ Chained Package ] toolbar button or context menu item. Chained packages are handled by the actual installation process and are launched when the progress bar is shown.

NoteChained packages require Windows Installer 4.5 or higher. For older Windows Installer versions they are ignored.

Specify which builds will contain a prerequisite or chained package

Use the “Builds...” context menu item. A dialog with all MSI builds will be displayed. This option is shown only if multiple builds were created in Builds page.

Adding a prerequisite from repository

Use the “Add From Repository” context menu item. A submenu with all the available repository prerequisites will be displayed.

NoteThis option is shown only if there is at least one prerequisite in repository.

Exporting a prerequisite in repository

Select the prerequisite you want to export and use the “Move To Repository” context menu item.

TipYou can read more about the prerequisites repository in this article.

Editing a prerequisite or chained package

When selecting a prerequisite or chained package, its properties pane will be displayed. In this pane you can configure all available package settings.

Removing prerequisites

Remove Use the [ Delete ] toolbar button, the “Delete” context menu item or press the Delete key while a prerequisite or chained package is selected.

Reordering prerequisites and chained packages

The order in which the prerequisites and chained packages are displayed is the order in which they will be installed on the target machine. The [ Move Up ] context menu item or Shift + Up keys will move a package up. The [ Move Down ] context menu item or Shift + Down keys will move it down.

Windows features Windows Features

Adding a Windows Features bundle

New windows features bundle Use the [ Windows Feature bundle ] toolbar button or “New Windows Feature bundle” context menu item.

Editing a Windows Features bundle

When selecting a Windows Features bundle, its properties pane will be displayed. In this Windows Features pane you can configure all available settings.

Removing a Windows Features bundle

Remove Use the [ Delete ] toolbar button, the “Delete” context menu item or press the Delete key while a Windows Features bundle is selected.

Windows Server Roles

Windows server roles Roles selected in this view only apply when running the package on a Windows Server. They will be ignored on any other OS type.

NoteThis feature is available for Enterprise or above project types.

Adding a Windows Server Role

New windows server role Select Windows Server Roles tree item, then check the roles you want to include in your package. The roles are grouped by the earliest supported version of the target server OS.

Editing a Windows Server Role

When selecting a Windows Server Role, its properties pane will be displayed. In this Windows Server Roles pane you can configure all available settings.

Removing a Windows Server Role

Remove Use the [ Delete ] toolbar button, the “Delete” context menu item or press the Delete key while a Windows Server Role is selected.

Topics