Bia Securities

Run msi with elevated privileges in Vista

by Jim Geurts on Dec.15, 2006

I installed an “older” msi (QuickCode.net for vs.net 2005) on my vista box, tonight, and it apparently runs a custom action to register an assembly that Vista doesn’t like so much.  That custom action requires elevated priviledges and the install will bomb if you try to run it under a typical user account.  So… I created a batch file that calls msiexec.  You can run the batch file as an administrator and everything installs as it should.  I copied the msi to a temp directory (C:\temp) and created the batch file as follows:

msiexec /i c:\temp\QuickCodeSetup2005.msi

Then all you have to do is right-click the batch file and select “Run as administrator”

 


Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...