SetExitCode
Previous Topic  Next Topic 

::InstallAPI::SetExitCode


Set the exit code for the current (un)installer.  By default, an (un)installer will exit with an exit code of 0 if it finishes or 1 if it is canceled.  By setting the exit code you are forcing an exit code of your choice.



Supported Platforms

All



Returns

Empty string



Options


-exitcode <exit code> (required)

Set the exit code to the given number.