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]: Configuration of Merge Modules[Next]: Administrative Install
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

MSIEXEC.EXE Command line

The MSIEXEC.EXE command line is documented at AppDeploy.comThis external link was OK when tested at 18 Apr 2008, MSI command line FAQThis external link was OK when tested at 20 Apr 2008

HTML page dated Wed, 17 Jan 2001 16:44:53 GMT and many other places.

Some of the return codes MSIEXEC can return are documented at http://msdn2.microsoft.com/en-us/library/aa368542.aspx.

Note that I do not know all the issues associated with using the commands as shown below so please take care and test them yourself! They should provide a good starting point as it is hard to find any decent examples.

These sections are available:

Some bugs specific to its command line handling:

  1. MSIEXEC.EXE - Setting Property Values to NULL
  2. MSIEXEC.EXE - Silent Mode Displays Dialog on Command Line Error and Wrong Return Code

The MSIEXEC.EXE Service

There is a service that runs "MSIEXEC.EXE", this gets automatically started and stopped as required, if you start an install and wait at the "welome" screen you will see (with "PROCESS EXPLORER") two "MSIEXEC.EXE" processes were started. If you cancel the install you will see that the service task will remain in memory for a period of time (10 minutes?).


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 2 May 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Configuration of Merge Modules[Next]: Administrative Install


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Friday May 02 2008 at 8:41am
Visit MAKEMSI's Home PageThis external link was OK when tested at 1 May 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 2 May 2008