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 mes­sage : You do not have suf­fi­cient priv­i­leges to com­plete this instal­la­tion for all users of the machine. Log on as admin­is­tra­tor and then retry this installation.


1) Cre­ate reg file
with this para­me­ter ( exam­ple 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

Face­book Comments