MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: MSIEXEC.EXE[Next]: Register
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Windows Installer Basics->MSIEXEC.EXE->Administrative Install

Administrative Install

This is probably one of the easiest ways to extract files out of an MSI. Note that the installed "MSI MENU... has options to do this for you.

If you want the files uncompressed outside of cabinet files then an administrative install of the MSI MAKEMSI creates is the simplest way to generate the image.

msiexec.exe /a "C:\MSI\some.msi"

Note that the above will not extract files stored in the "Binary" table, the easiest way to extract these is to use the "export" function in "ORCA" (or see the "Export to .IDT" shell extension).

If you need to automate the process then something like the following is what you need:

msiexec.exe /a "C:\MSI\some.msi" TARGETDIR=C:\tmp\Some /qn


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 23 Aug 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: MSIEXEC.EXE[Next]: Register


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Thursday August 28 2008 at 11:28am
Visit MAKEMSI's Home PageThis external link was OK when tested at 13 Aug 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 23 Aug 2008