This is something I need from time to time, so I'm posting it right here - extracting files from an MSI installer using the command line:
start /wait msiexec /a [MSI installer].msi TARGETDIR=[fully qualified folder, no trailing backslash] /qn
Where [MSI installer] is the name of the MSI file, and [fully qualified folder, no trailing backslash] is the folder where the MSI contents are to be extracted to e.g. "C:\TEMP\Folder1".
Thanks to Peter Bromberg's blog for this tip (and Google for helping me find it, again and again!)
Tags: installer, extract, windows, msiexec
posted @ Thursday, January 29, 2009 3:39 PM