Brief description of your issue
When the field ElevationRequirement: elevationRequired is set, MSI installers don't work properly. The issue appears to be that ShellExecute does not know how to use the verb runas for an MSI.
Steps to reproduce
For details and a screenshot of the issue occurring, see:
Expected behavior
The installer should be run as administrator, with the UAC prompt showing details from the MSI.
Actual behavior
Windows reports not knowing how to handle the file. For details and a screenshot of the issue occurring, see:
Environment
Windows Package Manager (Preview) v1.3.1391-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22808.1000
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.1391.0
Brief description of your issue
When the field
ElevationRequirement: elevationRequiredis set, MSI installers don't work properly. The issue appears to be thatShellExecutedoes not know how to use the verbrunasfor an MSI.Steps to reproduce
For details and a screenshot of the issue occurring, see:
Expected behavior
The installer should be run as administrator, with the UAC prompt showing details from the MSI.
Actual behavior
Windows reports not knowing how to handle the file. For details and a screenshot of the issue occurring, see:
Environment