InstallAware for Windows Installer
 

Terminate with Exit Code

This command performs an orderly shutdown of the installation. The installation will immediately exit and clean up after itself. In addition, this command returns the specified numeric exit code. It is similar to the Terminate Install command, which exits and returns the standard error code of 0, indicating successful execution.

Exit Code

Enter the numeric exit code to return. Positive and negative numeric values are allowed. If a non-numeric value is entered here, the function exits with code 0.

 Notes

  • The codes returned by this function are accessible to the process that started the installation, and may be used to communicate the resulting state of the install to the parent process.