Home > Everything Else, Hardware and Software, Microsoft, Windows Server, Windows Vista, Windows XP > TIP : Extracting Files from an MSI File

TIP : Extracting Files from an MSI File

May 13, 2008

Ever had an MSI file that you needed a library or something out of, but didn’t want to install it?  Amazingly enough, you CAN get to those files.

The Windows Installer (msiexec.exe) can be ran at the command line to extract files directly using an administrative install.

How?

msiexec /a “YourMSIPackage.msi” /qb TARGETDIR=”DRIVE:\YourTargetPath”

Switches used:

/a – Administrative installation
/qb – Basic UI (simple GUI progress bar)

This is a lot easier than hacking it using WinRAR.🙂

%d bloggers like this: