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 FAQ (the basics)->MSIEXEC.EXE

MSIEXEC.EXE Command line

The MSIEXEC.EXE command line is documented at AppDeploy.com, MSI command line FAQ and many other places.

Some of the return codes MSIEXEC can return are documented at http://msdn.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 "welcome" 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, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please 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).
Sunday February 28 2016 at 3:45pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.