Thursday, February 01, 2007 2:08 PM Ryan Ternier

How to install .msi files on Vista.

I've been running Vista for about two months now. One thing I've noticed is installing msi files (install files) is a pain.  One way around this is to create a small bach file that uses the msiexec.exe executable to launch the msi. When referencing the file names, you must fully qualify them.

Here's an example of one I used to install the Power Tools for Team Foundation Server:

C:\Windows\System32\msiExec.exe -i  C:\Users\rternier\Documents\Downloads\tfpt.msi

Once you have a batch file (.bat) with that in it, right click it, and choose Run As Administrator.

And there you go.

Filed under: ,

Comments

# re: How to install .msi files on Vista.

Tuesday, December 04, 2007 12:37 PM by mick derrick

Thanks a lot I've trawled the internet for days and this is the only thing that worked.  Now to try and find out how to clean coca cola from my spacebar cheers!

# re: How to install .msi files on Vista.

Wednesday, February 20, 2008 4:22 PM by k

This still dos not work, any other methods?

# re: How to install .msi files on Vista.

Friday, March 28, 2008 2:36 PM by Andrew

Thank you so much. Great help I was starting to despair that I would not be able to reinstall some programs that I was going to need to use to complete some work for an upcoming work deadline!

Thanks again!

# re: How to install .msi files on Vista.

Thursday, April 17, 2008 6:53 PM by John, UK

thanks for this, i would prob have never thought of it, although it might be worth noting when you copy the command into notepad tp create the batch file, it must all be on 1 line, i.e. disable "wordwrap"

# re: How to install .msi files on Vista.

Tuesday, May 20, 2008 2:38 PM by no sapces in file or folder name

Great help... thanks!

one thing - make sure your MSI file name or foldr does not contain spaces...

Leave a Comment

(required) 
(required) 
(optional)
(required)