This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Required Execution Level for the msi, not only the exe
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 26, 2009
01:06 PM
Required Execution Level for the msi, not only the exe
Is it possible to set the Required Execution Level to Administrator for the msi as well? I know it is possible for setup.exe and I get the UAC window once user starts the exe installer. If not possible for msi, how does it get around it? I would think UAC would cause some problems when it is executing some UAC related stuff?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 26, 2009
01:21 PM
Required Execution Level applies to manifests which are used in .exe files, so have no bearing for .msi files. There is a setting in General Information > Summary Information Stream "Require Administrative Privileges" which indicates whether the execute sequence needs elevation, but it does not work the same way. It elevates by also running as a system service.
One option if you really need to enforce things would be to set a Launch Condition based on the AdminUser property in a project that sets MSIUSEREALADMINDETECTION to 1. In general I would not recommend this; instead relevant custom actions should be set to run deferred in system context.
One option if you really need to enforce things would be to set a Launch Condition based on the AdminUser property in a project that sets MSIUSEREALADMINDETECTION to 1. In general I would not recommend this; instead relevant custom actions should be set to run deferred in system context.