A-Z List


Msiexec

Updated: April 17, 2012

Applies To: Windows Server 2008

Msiexec

Provides the means to install, modify, and perform operations on Windows Installer from the command line.

For the syntax and examples of how to use this command, see Msiexec.

Tags :


Community Content

PaulDouglas4294
Whats Needed
<p>What would be good would be some examples and what they mean.<br /></p> <p>Even better would be showing how to bypass the UAC for an install.</p> <p> <br /> </p>
Tags :

mfinky
MSIEXEC documentation
<div>The following documentation is obtained when you type msiexec {Return} on a CMD prompt.</div> <div> <br /> </div> <div>HTH,</div> <div>Marcelo Finkielsztein</div> <div>~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*</div> <div> <br /> </div> <div> <br /> </div> <div>Windows ® Installer. V 4.5.6001.22159 </div> <div> <br /> </div> <div>msiexec /Option &lt;Required Parameter&gt; [Optional Parameter]</div> <div> <br /> </div> <div>Install Options</div> <div> <span />&lt;/package | /i&gt; &lt;Product.msi&gt;</div> <div> <span />Installs or configures a product</div> <div> <span />/a &lt;Product.msi&gt;</div> <div> <span />Administrative install - Installs a product on the network</div> <div> <span />/j&lt;u|m&gt; &lt;Product.msi&gt; [/t &lt;Transform List&gt;] [/g &lt;Language ID&gt;]</div> <div> <span />Advertises a product - m to all users, u to current user</div> <div> <span />&lt;/uninstall | /x&gt; &lt;Product.msi | ProductCode&gt;</div> <div> <span />Uninstalls the product</div> <div>Display Options</div> <div> <span />/quiet</div> <div> <span />Quiet mode, no user interaction</div> <div> <span />/passive</div> <div> <span />Unattended mode - progress bar only</div> <div> <span />/q[n|b|r|f]</div> <div> <span />Sets user interface level</div> <div> <span />n - No UI</div> <div> <span />b - Basic UI</div> <div> <span />r - Reduced UI</div> <div> <span />f - Full UI (default)</div> <div> <span />/help</div> <div> <span />Help information</div> <div>Restart Options</div> <div> <span />/norestart</div> <div> <span />Do not restart after the installation is complete</div> <div> <span />/promptrestart</div> <div> <span />Prompts the user for restart if necessary</div> <div> <span />/forcerestart</div> <div> <span />Always restart the computer after installation</div> <div>Logging Options</div> <div> <span />/l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] &lt;LogFile&gt;</div> <div> <span />i - Status messages</div> <div> <span />w - Nonfatal warnings</div> <div> <span />e - All error messages</div> <div> <span />a - Start up of actions</div> <div> <span />r - Action-specific records</div> <div> <span />u - User requests</div> <div> <span />c - Initial UI parameters</div> <div> <span />m - Out-of-memory or fatal exit information</div> <div> <span />o - Out-of-disk-space messages</div> <div> <span />p - Terminal properties</div> <div> <span />v - Verbose output</div> <div> <span />x - Extra debugging information</div> <div> <span />+ - Append to existing log file</div> <div> <span />! - Flush each line to the log</div> <div> <span />* - Log all information, except for v and x options</div> <div> <span />/log &lt;LogFile&gt;</div> <div> <span />Equivalent of /l* &lt;LogFile&gt;</div> <div>Update Options</div> <div> <span />/update &lt;Update1.msp&gt;[;Update2.msp]</div> <div> <span />Applies update(s)</div> <div> <span />/uninstall &lt;PatchCodeGuid&gt;[;Update2.msp] /package &lt;Product.msi | ProductCode&gt;</div> <div> <span />Remove update(s) for a product</div> <div>Repair Options</div> <div> <span />/f[p|e|c|m|s|o|d|a|u|v] &lt;Product.msi | ProductCode&gt;</div> <div> <span />Repairs a product</div> <div> <span />p - only if file is missing</div> <div> <span />o - if file is missing or an older version is installed (default)</div> <div> <span />e - if file is missing or an equal or older version is installed</div> <div> <span />d - if file is missing or a different version is installed</div> <div> <span />c - if file is missing or checksum does not match the calculated value</div> <div> <span />a - forces all files to be reinstalled</div> <div> <span />u - all required user-specific registry entries (default)</div> <div> <span />m - all required computer-specific registry entries (default)</div> <div> <span />s - all existing shortcuts (default)</div> <div> <span />v - runs from source and recaches local package</div> <div>Setting Public Properties</div> <div> <span />[PROPERTY=PropertyValue]</div> <div> <br /> </div>
Tags : msiexec

Thomas Lee
msiexec , what does it do?
<p>msiexec, what does it do?</p> <p> <em>MSIExec is the main Windows Installer process - it installs programs etc based on a .MSI file. This shoudl be better documented.</em> </p>
Tags : contentbug

Thomas Lee
Content Required
More information on what MSIExec is and what is does should be added
Tags : contentbug

Page view tracker