TsuRebootRequired
InstallMate sets this variable if a reboot is required because of in-use files. You can also set (or clear) it through a Set Variable action to schedule a reboot at the end of the installation. Reboots are still subject to user approval and the value of the TsuRebootMode variable.
Usage
You can refer to this variable as <TsuRebootRequired>. In conditional expressions you can omit the brackets and use tests like TsuRebootRequired. Set automatically by the installer. You can also use a Set Variable action to set it to a nonzero value (to schedule a reboot) or to zero (to suppress reboots) at installation time. Supported values:
Value | Description |
---|---|
0 | No reboot required |
1 | Reboot required; will ask for user confirmation |
>= 2 | Reboot required; already confirmed by user |