Windows: Extract all files from a msi file
first post in 2015 🙂
msiexec offers the ability to extract all files included in an msi file to a specified folder by alter the TARGETDIR proberty of the msi package.
msiexec /a msifile.msi /qb TARGETDIR=D:\target
For example. Extract all files from the NLM.msi to folder D:\Temp\nlm\extracted.
msiexec /a NLM.msi /qb TARGETDIR=D:\Temp\nlm\extracted
Note: The msi file must be placed in a different folder then the TARGETDIR, otherwise msi error 2203 occurs.