How to extract contents of a .msi file

loocas | miscellaneous,software,technical | Wednesday, July 11th, 2012

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

1 Comment »

  1. Cool! thank you!

    Comment by Sergo — July 13, 2012 @ 08:26

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress | Theme by Roy Tanck