TsuRunMode

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

Value Description
0 Unknown run mode
1 Install
2 Uninstall
3 Register only
4 Repair
5 Resume

Usage

You can refer to this variable as <TsuRunMode>. In conditional expressions you can omit the brackets and use tests like TsuRunMode = 2 to test for an uninstallation run. Set by InstallMate when the installer starts, based on its command line options. You can also use a Set Variable action to change its value at installation time.

Related topics

Internal variables