Extract Contents of an MSI

Sometimes you want to be able to access the contents of an MSI without having to install it. This is possible by running the Windows Installer MSIExec program with a few chosen parameters:

msiexec /a _FilePathToMSI_ /qb TARGETDIR=_TargetFolder_

Where FilePathToMSI is the file path to the source MSI file, and TargetFolder is the path to extract the contents to.

More command line options can be found on MSDN here.

This post is licensed under CC BY 4.0 by the author.