
cinar.yusuf1.5524897099429568E12 asked a question.
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?
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.