Sunday, April 17, 2011

How to extract msu/msp/msi/exe files on the command line



How to extract msu/msp/msi/exe files on the command line

I find these commands quite helpful — maybe you know them already — if not, here you go:

Microsoft Hotfix Installer (.exe)

setup.exe /t:C:\extracted_files\ /c

Microsoft Update Standalone Package (.msu)

expand -F:* update.msu C:\extracted_files
cd extracted_files
expand -F:* update.cab C:\extracted_files

Microsoft Patch File (.msp)

msix patch.msp /out C:\extracted_files
msix.zip

Windows Installer Package (.msi)

msiexec /a setup.msi /qb TARGETDIR=C:\extracted_files
Filed Under :

0 comments for "How to extract msu/msp/msi/exe files on the command line"

Post a Comment

background