InstallMate sets this variable to the installer's current status, which is one of the following values:

Value Description
-2 Session is cancelled by the user
-1 Session failed due to an error
0 Session not started yet
1 Session is in progress
2 Session completed successfully


You can refer to this variable as <TsuStatus>. In conditional expressions you can omit the brackets and use tests like TsuStatus < 0 to test for a failed installation session. Set and updated by the installer.

Related topics

TsuExitCode, Internal variables