Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to set the custom Microsoft visual studio projects MSI to open it without admin power

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.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

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_USER\Software\Policies\Microsoft\Windows\Installer

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

You can read this document:
https://learn.microsoft.com/en-us/windows/win32/msi/alwaysinstallelevated

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading