Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
    
What exactly is your problem? – Michael K May 18 '11 at 10:52
    
Edited my queston. – Jacek Koralik May 18 '11 at 11:49
    
Duplicate Voting to close other post – Dave M May 18 '11 at 14:17
up vote 4 down vote accepted

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).

share|improve this answer
    
A very convenient solution. +1 – Gangnus Feb 9 '14 at 15:34

Hitting Shift while clicking on the MSI and then running as a different user and putting in my credentials allowed me to run my MSI. I did this even though I was logged in with those credentials.

share|improve this answer

I believe you need to hold shift then right click on the msi (or application) to get the 'Run as Administrator' option. As detailed here: http://mockbox.net/windows-7/235-windows-7-run-program-as-a-different-user.html

share|improve this answer
    
This worked for me when the accepted answer (modifying registry) did not work. – Kristen Waite Mar 17 '15 at 19:57

Right click, Run as. Administrator -Easy as pie. By right windows SHOULD recognise its an installer and kick up UAC tho

share|improve this answer
3  
Does not work on .msi files! See @Ichibann solution – Andrey Rubshtein Apr 25 '13 at 13:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .