Email
Share

We Rock Your Web Forum » Operating Systems » Windows

Vista MSI - Run as Administrator

(2 posts)
  1. Sally301

    member
    Joined: Aug '09
    Posts: 28

    Is there a way to run a Windows Vista MSI installer as Administrator? This is driving me crazy - I've been trying to install an .MSI installer to no avail. The installation will run smoothly until the very end, when I get an internal error and the installer crashes, and rolls back everything it did.

    I'm guessing this has to do with running the software as an administrator, so I've tried finding an EXE version of the installer, so I can right-click in the context menu and select "Run as administrator" - but no luck.

    I don't suppose there's a way to force MSI install files to run with administrator privileges?

    Posted 2 years ago #

  2. Posted 2 years ago
  3. Woofus

    member
    Joined: Sep '09
    Posts: 32

    Hi Sally,

    Crazy timing with your question! I just asked the same question in another forum. Here's the working solution I found: Create a .reg file containing the following code, and run it:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Msi.Package\shell\RunAs]
    @="Run as administrator"

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

    Posted 2 years ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.