REMOVEALLMODE
InstallShield 2026 » InstallScript Language Reference
Project:
This system variable is non-zero if the application is being completely uninstalled—that is, if FeatureRemoveAll, FeatureRemoveAllInMedia, or FeatureRemoveAllInMediaAndLog have been called in the current instance of the setup—and FALSE otherwise. The value of this system variable is shared among object scripts and between object scripts and the main setup script.
Note:To execute script code only when the application is being completely uninstalled, enclose the code in the following if-then statement:
if REMOVEALLMODE!=0 then
/* this code is executed only during uninstallation */
endif;
To perform specific uninstallation actions when a particular component is uninstalled, override the component's <ComponentName>_Uninstalling event and perform the actions in this event.