I want to know if there some options to set the MSI file without admin power. When I open the msi file in non-admin user, it always need admin power. How can I set it to open the msi file without the admin power?
Based on my search, I find the remote desktop has the behavior, but I could not find the settings in Microsoft Visual Studio Installer Projects.
I want to use MSI installer for non-admin user.
Dennis Li is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
According to my latest test, you only need to set the AlwaysInstallElevated value under the following two registry keys to “1” as the current user, and you can perform MSI installation without administrator privileges.
HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindowsInstaller
HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsInstaller
You can read this document:
https://learn.microsoft.com/en-us/windows/win32/msi/alwaysinstallelevated