![Msi silent install command line example Msi silent install command line example](/uploads/1/2/6/8/126891413/904720908.jpg)
MSI switches¶
![Msi Silent Install Command Line Msi Silent Install Command Line](/uploads/1/2/6/8/126891413/237405517.png)
When using the bootstrapper, command line parameters can be sent to msiexec from within the Setup.ini as well as on the cmd line. The syntax for msiexec is as follows: Windows Installer command-line options are not case-sensitive. Let have a look at a full command line that does just that. Msiexec.exe /i “MyPackage.msi” /quiet WRAPPEDARGUMENTS=”/S” In the command line above the /quiet parameter will tell the Windows Installer to run quietly. Using the WRAPPEDARGUMENTS=”/S” will send the /S command line parameter to the embedded installer. Mar 10, 2013 Combine with the Full MSI Syntax options as listed below to output installation progress to a log file. Other installation considerations - passive mode Another great option to consider is using the /passive parameter.
For Microsoft documentation, see http://msdn.microsoft.com/en-us/library/Aa367988.
Msi Silent Install Command Line Windows 7
Command | Description |
---|---|
{ /?| /h} | Displays the Windows Installer version and copyright information. |
/a | Applies the administrative installation option. |
/f | For product repair. Enables one or more of the command-line options below:
|
/g | Identifies the language. Syntax: /g LanguageID |
/i | Installs or configures a product. |
/j | Advertises a product. If you want to install the application with elevated privileges, use /jm. Syntax:
|
/L | Specifies the path to the log file. To include the v option in a log file using the wildcard flag, type /L*v at the command prompt. The Windows Installer log file options can also be used with the uninstall and repair processes. For example, use /L*v to set verbose logging.
|
/p | Applies an update. |
/q | Sets the user interface level. The modal box is not displayed if the user cancels the installation.
|
/t | Applies transform to advertised package. Syntax: /t TransformList |
/x | Uninstalls a product. |
/y | Calls the system API DllRegisterServer to self-register modules passed on the command line. |
/z | Calls the system API DllUnRegisterServer to unregister modules passed on the command line. |
Package Code | Specifies the globally unique identifier of the Windows Installer package. For Acrobat products, this is the GUID. |
Package | Not supported. Specifies the name of the Windows Installer package file |
/sAll | Run installer in silent mode. |
/sPB | Silent mode with minimum UI: show the progress bar only. |
/rs | Reboot Suppress. Setup.exe will not initiate reboot even if it is required. |
/rps | Reboot Prompt Suppress. If reboot is required, the system restarts without warning. |
/ini “PATH” | Relative or absolute path to an alternative (different) Bootstrapper INI file. The CmdLine of alternative INI will be ignored. |
/sl “LANG_ID” | Set Language, where LANG_ID is the decimal code of the destination installation language. Use it only for the multilingual installer, and make sure that the corresponding language transform file exist in the setup directory. If /sl “LANG_ID” is not set and you are running the multilingual installer interactively (not silently), ‘Choose Setup Language’ dialog will be displayed. |
/msi[Command line] | Identifies the portion of CmdLine for additional MSIEXEC command line parameters. Everything following /msi is passed to MSIEXEC without analyzing and without any changes. |