Conditions Using AdminUser Property

AdminStudio 2021 | 21.0 | Application Manager

Note:This test is not applicable to App-V packages.

For this operating system compatibility test, the Windows Installer database is scanned for the presence of the AdminUser property in conditions in the Install UI sequence.

Test Group/Test Category

0050—Operating System Compatibility/Windows 7 (32-Bit)
0250—Operating System Compatibility/Windows 7 (64-Bit)
0350—Operating System Compatibility/Windows 8.1 (32-Bit)
0450—Operating System Compatibility/Windows 8.1 (64-Bit)
2650—Operating System Compatibility/Windows 10-1803 (32-Bit)
2850—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (32-Bit)
5050—Operating System Compatibility/Windows 10-1903 (32-Bit)
5250—Operating System Compatibility/Windows 10-1909 (32-Bit)
5450—Operating System Compatibility/Windows 10-2004 (32-Bit)
5650—Operating System Compatibility/Windows 10-20H2 (32-Bit)
2750—Operating System Compatibility/Windows 10-1803 (64-Bit)
2950—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (64-Bit)
5150—Operating System Compatibility/Windows 10-1903 (64-Bit)
5350—Operating System Compatibility/Windows 10-1909 (64-Bit)
5550—Operating System Compatibility/Windows 10-2004 (64-Bit)
5750—Operating System Compatibility/Windows 10-20H2 (64-Bit)
0150—Operating System Compatibility/Windows Server 2008 R2
0550—Operating System Compatibility/Windows Server 2012
0650—Operating System Compatibility/Windows Server 2016
1050—Operating System Compatibility/Windows Server 2019

Severity

Warning

Message

This Windows Installer database contains condition [CONDITION_NAME] using AdminUser property (Table: InstallUISequence, Key: [InstallUISequence_ACTION])

Background

The Windows Installer properties AdminUser and Privileged may be used to prevent users who do not have administrator or elevated privileges from running certain parts of the installation. The installation sets the Privileged property to 1 if the user has elevated privileges; it sets the AdminUser property to 1 only if the user was an administrator. The differences between these properties may have been used in some legacy packages. On Windows Vista/Windows Server 2008 and later systems, these two Windows Installer properties are always the same and the Privileged property is recommended.

Resolution

The following resolutions are available. Note that this issue is not resolved automatically by default.

Manual Fix

The Windows Installer property AdminUser should be avoided; the Privileged property should be used instead. Packages that require distinct Privileged and AdminUser properties can restore the difference by setting the MSIUSEREALADMINDETECTION property.

Basic Auto Fix

No resolution is available.

Advanced Auto Fix

No resolution is available.

See Also