Loading
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?

  • 0_M Urman (Flexera Software)

    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.
    Expand Post

Loading
Required Execution Level for the msi, not only the exe