TsuInstallLevel

InstallMate sets this variable to the installer's installation level, which is one of the following values (they correspond to the Installation level attribute on the Installer options project page and the /a command line option):

Value Description
0 No access checks performed
1 Install for Current User only
2 Install for All Users if possible, else Current User
3 Install for All Users if possible, else query Current User
4 Install for All Users if possible, else fail
5 Install as Administrator if possible, else fail

Usage

You can refer to this variable as <TsuInstallLevel>. In conditional expressions you can omit the brackets and use tests like TsuInstallLevel >= 4. Do not set this variable directly; it is set automatically when you build the installer from Installation level attribute on the Installer options project page. The installer updates this variable as appropriate.

Related topics

AdminUser, Internal variables