Filtering Based on Release Flags

InstallShield 2014

Project: The following project types include support for product configuration flags and release flags:

Basic MSI
InstallScript MSI

Once you have assigned release flags to your features and InstallShield prerequisites, you can create a release that includes the ones that are based on those flags. By default, all features, InstallShield prerequisites, and chained .msi packages are included in a release. Once you specify a flag in either the Releases view or the Release Wizard, only the unflagged features, the unflagged InstallShield prerequisites, the unflagged chained .msi packages, the features that contain the specified flag, the InstallShield prerequisites that contain the specified flag, and the chained .msi packages that contain the specified flag are included in your installation. To include only unflagged features, unflagged InstallShield prerequisites, and unflagged chained .msi packages, specify a flag that does not exist. For example, you might use NoFlags. This way, only unflagged features, unflagged InstallShield prerequisites, and unflagged chained .msi packages are built into a release.

It is possible to include a subfeature but not its parent feature. In such a case, the subfeature is built into the release as a top-level feature, and its parent is excluded from the release.

You can filter features, InstallShield prerequisites, and chained .msi packages in the Release Wizard or in the Releases view. Both methods are described below.

Filtering in the Release Wizard

The easiest way to create a release is to use the Release Wizard. The Filtering Settings panel of this wizard enables you to specify which flags you want to include in your release.

Filtering in the Releases View

You can also use the Releases view to specify flags to include. You can include flags both at the product configuration level and on the release itself. For more information, see Product Configuration Flags vs. Release Flags.

To specify product configuration flags:

1. In the View List under Media, click Releases.
2. In the Releases explorer, click the product configuration that you want to modify. Its settings are displayed on the General tab in the right pane.
3. For the Product Configuration Flags setting, enter the flags that you would like to include. To include more than one flag, separate each with a comma.

To specify release flags:

1. In the View List under Media, click Releases.
2. In the Releases explorer, click the release that you want to modify. Its settings are displayed on tabs in the right pane.
3. For the Release Flags setting, enter the flags that you would like to include in this release. To include more than one flag, separate each with a comma.

See Also