exit
InstallShield 2024 » InstallScript Language Reference
When the setup program encounters an exit statement in the script it is executing, the setup process terminates. Each setup script contains—at most—one exit statement. If your script includes conditional expressions that might cause it to exit before the installation has completed, you should use abort instead of exit.