Thursday, May 28, 2015

Windows: Run MSI file as Administrator

Run MSI file as Administrator


Open and Run the CMD as Admin

Win vista,7, 8: Type "cmd" in run box (Start), then right-click command prompt, and then click "Run as administrator", or use the comand Ctrl+Shift + Enter


Go to the path where the file is locates: example C:\,copy C: it shows: >C:, and use this command:

msiexec  "ExampleInstall.msi"

Or try with this one:

msiexec  /a "ExampleInstall.msi"

Or try with this one:

runas /user:domain\user msiexec /a "ExampleInstall.msi"


I hope to be useful.

No comments:

Post a Comment