maandag 2 november 2009

Extract .msi files

To extract files from a .msi file at the command line, type:

msiexec /a PathToMSIFile /qb TARGETDIR=DirectoryToExtractTo

For example, to extract files from f:\zenworks\zfdagent.msi into c:\zfd701 you would type:

msiexec /a f:\zenworks\zfdagent.msi /qb TARGETDIR=c:\zfd701

The destination directory does not need to exist prior to running this command.

1 opmerking:

  1. The 7zip compression utility can also do this via a context menu.

    http://www.7-zip.org/

    As a bonus, it's open source (free), runs quickly, works on multiple platforms, and provides some of the best compression ratios available.

    BeantwoordenVerwijderen