Open cameronkollwitz opened 3 years ago
Additionally, this error appears if you try to Uninstall the application via Control Panel or Apps:
You can also work around this by launching the MSI from Command Prompt or PowerShell and then selecting "Remove" from the prompt and the issue does not appear.
The right-click RunAs function for .msi files can be added to File Explorer by merging the following in the registry.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Msi.Package\shell\runas\command] @=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\ 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\ 73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,\ 00,69,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00
yeah, but compiling an app as user installable when default install path is program file is a big mistake. This msi should have an administrator manifest.
As stated in the title, attempting to launch the MSI directly from File Explorer on a Local Administrator account will produce an error stating the installation has been restricted by an Administrator.
You can work around this by launching "Driver Automation Tool.msi" from a Command Prompt or PowerShell prompt (launched as Local Administrator) does not produce this error and installation can proceed.
OS: Windows Server 2019