Archive for October, 2009

Extracting MSI Files (Revisited)

A few years ago, I posted about how to extract the contents of an MSI file without having to go through the process of installing it. The tool used to do this was called Less MSIèrables. This tool does do the job, but the UI is a bit clunky to use, it has a few bugs, and occasionally fails to extract the contents of a file. On top of this, it looks like this tool is not actively developed (it was last updated in 2005), so I recently started to look for an alternative.

It turns out that Microsoft provide this functionality as part of MSIExec that comes as part of the Windows installer. To extract the contents of any MSI file, simply run the following:

msiexec.exe /a installer.msi /qb TARGETDIR=C:\temp

This will extract the complete contents of the MSI file to the specified directory.

Add comment Permalink October 29th, 2009 Adrian Banks
Subscribe to this feed Bookmark this post on del.icio.us Digg this post on digg.com Share this post


Calendar

October 2009
M T W T F S S
« Jul   Jun »
 1234
567891011
12131415161718
19202122232425
262728293031  

Posts by Month

Posts by Category

RSS Feeds Feeds

Visitors

Visitor Map