Windows: Extract all files from a msi file

Hi,

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.

Syntax is
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, also specify a new or empty folder, otherwise msi error 2203 occurs.

Michael

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.