Deferred Execution Custom Action Context
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 presence of any deferred execution custom actions that are not running in system context.
Test Group/Test Category
• | 0305—Operating System Compatibility/Windows 8.1 (32-Bit) |
• | 0405—Operating System Compatibility/Windows 8.1 (64-Bit) |
• | 2805—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (32-Bit) |
• | 5205—Operating System Compatibility/Windows 10-1909 (32-Bit) |
• | 5405—Operating System Compatibility/Windows 10-2004 (32-Bit) |
• | 5605—Operating System Compatibility/Windows 10-20H2 (32-Bit) |
• | 5805—Operating System Compatibility/Windows 10-21H1 (32-Bit) |
• | 7005—Operating System Compatibility/Windows 10-21H2 (32-Bit) |
• | 2905—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (64-Bit) |
• | 5305—Operating System Compatibility/Windows 10-1909 (64-Bit) |
• | 5505—Operating System Compatibility/Windows 10-2004 (64-Bit) |
• | 5705—Operating System Compatibility/Windows 10-20H2 (64-Bit) |
• | 5905—Operating System Compatibility/Windows 10-21H1 (64-Bit) |
• | 7105—Operating System Compatibility/Windows 10-21H2 (64-Bit) |
• | 6705—Operating System Compatibility/Windows 11-21H2 (64-Bit) |
• | 0505—Operating System Compatibility/Windows Server 2012 |
• | 0605—Operating System Compatibility/Windows Server 2016 |
• | 1005—Operating System Compatibility/Windows Server 2019 |
Severity
Warning
Message
This Windows Installer database contains a deferred execution custom action [CUSTOM_ACTION_NAME] that is not running in system context (with no impersonation) (Table: CustomAction, Key: [CUSTOM_ACTION_KEY]).
Background
The purpose of a deferred execution custom action is to delay a system change until the installation script runs. This differs from a regular custom action or a standard action, where the installation executes the action immediately. Deferred execution custom actions that make system changes should be running in system context (with no impersonation).
Resolution
The following resolutions are available. Note that this issue is not resolved automatically by default.
Manual Fix
All deferred execution custom actions that make system changes should be adjusted to run in system context (with no impersonation).
Basic Auto Fix
No resolution is available.
Advanced Auto Fix
Deferred execution custom actions are marked to run in system context (with no impersonation) in a Windows Installer transform.
See Also