HOW TO ADD run like ADMIN USER to content menu for msi package

If, you can’t install msi file in windows,
You got this message : You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation.


1) Create reg file
with this parameter ( example Install_As_setup.reg )
Install_As_setup.zip

[HKEY_CLASSES_ROOT\Msi.Package\shell\runas]
@="Install &As SETUP"

[HKEY_CLASSES_ROOT\Msi.Package\shell\runas\command]
@="msiexec /i \"%1\""

SETUP = ADMIN USER (Change to your admin user)

2) Run this reg file
3) right click on to msi file and choice: “Install as SETUP”

SOURCE

Facebook Comments