How to extract contents of a .msi file
This post is basically just a note to myself, because I keep searching for this every now and then and every time I forget the syntax. So, here’s what you need to do in order to extract .msi archives to a specific folder of your choice.
To extract files from a .msi file from the command line, type:
msiexec /a PathToMSIFile /qb TARGETDIR=DirectoryToExtractTo
For example, to extract files from X:\installs\someProgram.msi into C:\someProgram you would type:
msiexec /a X:\installs\someProgram.msi /qb TARGETDIR=C:\someProgram
Cool! thank you!
Comment by Sergo — July 13, 2012 @ 08:26