greg996
Posts: 6
Joined: Sat Oct 26, 2024 3:57 am

msi package requires Admin user account

Hello,
I created a MSI setup of my application. The install parameter of "Per machine only (Fails if not administrator)"。The 'Run as administrator' option is also checked.When I install this package using the local ‌Administrator‌ account, it works fine. However, when I try to install it with a ‌domain user‌ (which is already a member of the ‌Administrators group‌), it fails with the error: 'This package requires installation by an Admin user account.
I know disabling User Account Control (UAC) via Group Policy would allow the installation to proceed. However, I'd like to explore if Advanced Installer can be configured to avoid modifying the OS settings. Could you provide some suggestions?
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: msi package requires Admin user account

Hello Greg,

First of all, please note that the "Run as administrator" option from the "Install Parameters" page is not compatible with the MSI output (only with EXE).

By default, an MSI does not have the "Run as administrator" option (e.g. if you right click on it).

The way to install the msi elevated is through inheritance (e.g. open cmd as administrator and launch tjhe msi from there using msiexe).

So, if you launch the MSI from a command prompt that is elevated, do you still encounter this behavior?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”