Summary
This article provides information on how deferred in system context actions run when installing per-user (ALLUSERS is not set).Synopsis
This article provides information on how deferred in system context actions run when installing per-user (ALLUSERS is not set).
Discussion
Custom actions that have an in-script execution setting of deferred in system context are used to perform an action with the rights granted to the local SYSTEM account on Windows, as the Windows Installer service runs in the SYSTEM context. Actions not marked as deferred in system context run with user impersonation, and have the rights that the user that launched the installation has.
- The user that launched the MSI installation is not an administrator, or is running on Windows Vista, in which users are part of the administrators group, but do not have administrator privileges by default.
- The custom action attempts to modify a resource in a per-machine location on the machine, such as a file in Program Files, or a registry key/value in HKEY_LOCAL_MACHINE in the registry.
Additional Information
More information can be found in the following articles:
- ALLUSERS Property
- Custom Action In-Script Execution Options
- Tao of the Windows Installer, Part 3 - Rule 30
- UAC in MSI Notes: The NoImpersonate Bit Mistake
Related Articles
7 Reasons Why your Installations May Fail on Windows Vista (And How You Can Fix Them) 3Number of Views Windows Installer 4.5 Prerequisite Installation Issue on Windows Vista Systems 3Number of Views Some files won't register on Windows Vista and Windows 7 4Number of Views Message Box Spawned From a Custom Action Loses Focus on Windows 7 3Number of Views Retrieve and Set Properties in a VBScript Custom Action 15Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago