abort
InstallShield 2024 » InstallScript Language Reference
When the script encounters an abort statement, the setup terminates. The abort statement is also encountered in the InstallShield default exit handler (OnCanceling) when the end user exits the installation before it has completed by pressing the Esc key or the Cancel button of an InstallScript dialog.
Note:The abort statement exits the installation and runs the uninstaller in silent mode to clean up the aborted installation. The exit statement aborts the installation, but does not remove anything from the target system.
The abort statement does not call a rollback if initiated after the OnFirstUIAfter event.
See Also