Labels

[win]extract files from a .msi file using the Windows command line

To extract files from a .msi file at the command line, type:

msiexec /a $PathToMSIFile /qb TARGETDIR=$DirectoryToExtractTo

For example, to extract files from c:\foo.msi into c:\foo you would type:

msiexec /a c:\foo.msi /qb TARGETDIR=c:\foo

specify the full path to the destination directory in TARGETDIR property is necessary

No comments:

Post a Comment