Operating System Version Conditions
AdminStudio 2022 | 23.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 usage of conditions that evaluate to false in the Windows operating system in the tables InstallExecuteSequence, MsiLockPermissionsEx, Condition, and Component.
Test Group/Test Category
|
•
|
0313—Operating System Compatibility/Windows 8.1 (32-Bit) |
|
•
|
0413—Operating System Compatibility/Windows 8.1 (64-Bit) |
|
•
|
2813—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (32-Bit) |
|
•
|
5213—Operating System Compatibility/Windows 10-1909 (32-Bit) |
|
•
|
5413—Operating System Compatibility/Windows 10-2004 (32-Bit) |
|
•
|
5613—Operating System Compatibility/Windows 10-20H2 (32-Bit) |
|
•
|
5813—Operating System Compatibility/Windows 10-21H1 (32-Bit) |
|
•
|
7013—Operating System Compatibility/Windows 10-21H2 (32-Bit) |
|
•
|
2913—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (64-Bit) |
|
•
|
5313—Operating System Compatibility/Windows 10-1909 (64-Bit) |
|
•
|
5513—Operating System Compatibility/Windows 10-2004 (64-Bit) |
|
•
|
5713—Operating System Compatibility/Windows 10-20H2 (64-Bit) |
|
•
|
5913—Operating System Compatibility/Windows 10-21H1 (64-Bit) |
|
•
|
7113—Operating System Compatibility/Windows 10-21H2 (64-Bit) |
|
•
|
6713—Operating System Compatibility/Windows 11-21H2 (64-Bit) |
|
•
|
0513—Operating System Compatibility/Windows Server 2012 |
|
•
|
0613—Operating System Compatibility/Windows Server 2016 |
|
•
|
1013—Operating System Compatibility/Windows Server 2019 |
Severity
Warning
Messages
|
•
|
This Windows Installer database contains component [COMPONENT_NAME] using condition "[COMPONENT_CONDITION]" that evaluates to false for Windows [VERSION] (Table: Component, Key: [COMPONENT_NAME]). |
|
•
|
This Windows Installer database contains custom action [InstallExecuteSequence_ACTION] using condition "[InstallExecuteSequence_CONDITION]" that evaluates to false for Windows [VERSION] (Table: CustomAction, Key: [InstallExecuteSequence_ACTION]). |
|
•
|
This Windows Installer database contains security entry [MsiLockPermissionsEx_ENTRY] in MsiLockPermissionsEx using condition [MsiLockPermissionsEx_CONDITION] that evaluates to false for Windows [VERSION] (Table: MsiLockPermissionsEx, key: [MsiLockPermissionsEx_ENTRY]). |
|
•
|
This Windows Installer database contains feature [CONDITION_FEATUREKEY] using conditional Install Level with condition "[CONDITION]" that evaluates to false for Windows [VERSION] (Table: Feature, Key: [CONDITION_FEATUREKEY]; Table: Condition, Key: [CONDITION_FEATUREKEY], [CONDITION_LEVEL]). |
Background
Windows Installer provides the built-in properties VersionNT and WindowsBuild, which can be used in conditions to determine, for a given version of the operating system, which Windows Installer features/components should be installed, which custom actions should be executed, and/or what security should be applied.
Resolution
The following resolutions are available.
Manual Fix
The tables InstallExecuteSequence, MsiLockPermissionsEx, Condition, and Component should be scanned for conditions that evaluate to false for the specified Windows operating system. If the component, feature, custom action, or security is needed, the condition should be modified so that it evaluates to true for the specified Windows operating system.
Basic Auto Fix
No resolution is available.
Advanced Auto Fix
Conditions in the Windows Installer tables InstallExecuteSequence, MsiLockPermissionsEx, Condition, and Component that evaluate to false for the specified Windows operating system are replaced with a condition that evaluates to true in a Windows Installer transform.
This fix is enabled by default.
Caution:This workaround enables the entire Windows Installer database, including anything that was not intended for the specified Windows operating system.
See Also