REMOVEONLY

InstallShield 2019 » InstallScript Language Reference

Project • This information applies to the following project types:

InstallScript
InstallScript MSI

The REMOVEONLY system variable is set equal to a non-zero value if Setup.exe is run with the -removeonly option, and is set equal to FALSE otherwise. The default code for the OnMaintUIBefore event handler function conditionally displays the SdWelcomeMaint dialog, depending on the value of REMOVEONLY.

This system variable is read-only; if you attempt to assign a value to it, a compiler error results.