Windows 7 – How to Run .msi Installer with Admin Rights

windows 7windows-installer

As in topic. I want to run .msi installer but I cannot install a program because it requires administrator rights. As for .exe files I know how to do that.

EDIT:
My problem is that I don't have 'Run as the administrator' when i righ-click, shift-click, control-click or anything. On .exe files I can see that option but not with .msi.

Best Answer

See: Special Installation Instructions for the ActiveGanttVBA & ActiveGanttCSA Gantt Scheduler Components

To circumvent this error, extract and double click on the:

Install_As_Administrator.reg

File that is included in the Install_As_Administrator.zip file distribution that can be downloaded from the top link on this page. This file will modify the Windows Registry to include the following information:

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

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

Once the Windows Registry has been modified using the Install_As_Administrator.Reg patch you can right click on any Windows Installer (*. msi) file and select the option Install As Administrator and the .msi file will run using elevated permissions (Administrator Permissions).