| Reference information | |
|---|---|
| Applies to | Tarma Installer |
Tarma Installer 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 |
| Usage | |
|---|---|
| How to set | Set by Tarma Installer 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. |
| How to use | You can refer to this variable as <TsuRunMode> (Tarma native syntax, preferred). In conditional expressions you can omit the brackets and use tests like TsuRunMode = 2 to test for an uninstallation run. |