Specifying the Uninstallation Order of Packages in a Suite

InstallShield 2023

Project:This information applies to the following project types:

Advanced UI
Suite/Advanced UI

Edition:The Advanced UI project type is available in the InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.

You can specify the uninstallation order of packages in a suite project using the Uninstallation Order property on the Setup.exe tab of the Releases view.

To specify the uninstallation order of packages in a suite project:

1. In the View List under Media, click Releases.
2. Select the release that you want to build.
3. Click the Setup.exe tab.
4. In the Uninstallation Order setting, select one of the following options:
Same as Packages Order—Uninstall the packages in the same order that packages were installed (as defined in the project).
Reverse of Packages Order—Uninstall the packages in the reverse order that packages were installed (as defined in the project).

UninstallOrder Method in Automation Interface

You can also use the UninstallOrder method in the automation interface to set the Uninstallation Order property. Specify one of the following values:

euoForward(0)—Uninstall the packages in the same order that packages were installed (as defined in the project).
euoReverse(1)—Uninstall the packages in the reverse order that packages were installed (as defined in the project).