Extracting the Contents of an MSI File

Although there are tools you can use to extract MSI files, you can also use the command line. Here's how.

John Savill

January 29, 2008

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Q: How can I extract the content of an MSI file?

A: There are numerous utilities that will extract the content of an MSI file (e.g., msidb, which you can download at msdn2.microsoft.com/en-us/library/Aa370083.aspx). However, you can also extract the content by performing an administrative installation using the Msiexec command with the /a switch and specifying a target folder for the extraction, as the following example shows:

D:temp>msiexec /a mm26_enu.msi /qb TARGETDIR=d:tempmmextract

For more information about Windows Installer command-line options, see the Microsoft article “Command-line Options” at www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/msiexec.mspx?mfr=true.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like