| Reference information | |
|---|---|
| Applies to | Windows Installer |
| Related topics | AdminUser |
| External links | |
Windows Installer sets this variable to a nonzero value if the installer runs with elevated privileges (either as Administrator or if the installation policies are set to AlwaysInstallElevated. Otherwise, it is not set.
| Usage | |
|---|---|
| How to set | Set automatically by Windows Installer. |
| How to use |
You can refer to this variable as <Privileged> (Tarma native syntax, preferred) or [Privileged] (Windows Installer syntax). In conditional expressions you can omit the brackets and simply use Privileged as a test for elevated privileges. |