Immediate Execution System-Context Custom Actions
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 non-impersonated custom actions that are not scheduled to run in the script (deferred execution).
Test Group/Test Category
• | 0304—Operating System Compatibility/Windows 8.1 (32-Bit) |
• | 0404—Operating System Compatibility/Windows 8.1 (64-Bit) |
• | 2804—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (32-Bit) |
• | 5204—Operating System Compatibility/Windows 10-1909 (32-Bit) |
• | 5404—Operating System Compatibility/Windows 10-2004 (32-Bit) |
• | 5604—Operating System Compatibility/Windows 10-20H2 (32-Bit) |
• | 5804—Operating System Compatibility/Windows 10-21H1 (32-Bit) |
• | 7004—Operating System Compatibility/Windows 10-21H2 (32-Bit) |
• | 2904—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (64-Bit) |
• | 5304—Operating System Compatibility/Windows 10-1909 (64-Bit) |
• | 5504—Operating System Compatibility/Windows 10-2004 (64-Bit) |
• | 5704—Operating System Compatibility/Windows 10-20H2 (64-Bit) |
• | 5904—Operating System Compatibility/Windows 10-21H1 (64-Bit) |
• | 7104—Operating System Compatibility/Windows 10-21H2 (64-Bit) |
• | 6704—Operating System Compatibility/Windows 11-21H2 (64-Bit) |
• | 0504—Operating System Compatibility/Windows Server 2012 |
• | 0604—Operating System Compatibility/Windows Server 2016 |
• | 1004—Operating System Compatibility/Windows Server 2019 |
Severity
Warning
Message
This Windows Installer database contains non-impersonated immediate custom action [CUSTOM_ACTION_NAME] (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. Immediate custom actions are not elevated; therefore, actions that make system changes should be deferred in execution until in-script is generated.
Resolution
The following resolutions are available. Note that this issue is not resolved automatically by default.
Manual Fix
All custom actions that make system changes should be deferred in execution to run in the script.
Basic Auto Fix
No resolution is available.
Advanced Auto Fix
Non-impersonated immediate custom actions are marked to run as deferred actions in a Windows Installer transform.
See Also