Command Line In Windows Installer

13.09.2019
Command Line In Windows Installer 5,0/5 9059 reviews

3-12x56

  1. Windows 10 Command Line Tools
  2. Windows Installer Command Line Options
-->

Install the AWS CLI Using the MSI Installer. The AWS CLI is supported on Microsoft Windows XP or later. For Windows users, the MSI installation package offers a familiar and convenient way to install the AWS CLI without installing any other prerequisites.

The executable program that interprets packages and installs products is Msiexec.exe.

Windows 10 Command Line Tools

Note

We normally use Services.msc to start or stop or disable or enable any service. We can do the same from windows command line also using net and sc utilities. Below are commands for controlling the operation of a service. Using Windows Installer. Windows Installer Features. Python 2.5 is distributed as a Microsoft Installer (MSI) file on Windows. Typically, packages are installed by double-clicking them in the file explorer. However, with the msiexec.exe command line utility, additional features are available, like non-interactive installation and.

Windows

Msiexec also sets an error level on return that corresponds to System Error Codes.

The following table identifies the standard command-line options for this program. Command-line options are case insensitive.

Windows Installer 2.0: The command-line options that are identified in this topic are available beginning with Windows Installer 3.0. The Windows Installer Command-Line Options are available with Windows Installer 3.0 and earlier versions.

Installer

Windows Installer Command Line Options

OptionParametersMeaning
/helpHelp and quick reference option. Displays the correct usage of the setup command including a list of all switches and behavior. The description of usage can be displayed in the user interface. Incorrect use of any option invokes this help option.
Example: msiexec /help
[!Note]
The equivalent Windows Installer Command-Line Option is /?.

/quietQuiet display option. The installer runs an installation without displaying a user interface. No prompts, messages, or dialog boxes are displayed to the user. The user cannot cancel the installation. Use the /norestart or /forcerestart standard command-line options to control reboots. If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user.
Examples:
msiexec /package Application.msi /quiet
Msiexec /uninstall Application.msi /quiet
Msiexec /update msipatch.msp /quiet
Msiexec /uninstall msipatch.msp /package Application.msi / quiet
[!Note]
The equivalent Windows Installer Command-Line Option is /qn.

/passivePassive display option. The installer displays a progress bar to the user that indicates that an installation is in progress but no prompts or error messages are displayed to the user. The user cannot cancel the installation. Use the /norestart or /forcerestart standard command-line options to control reboots. If no reboot option is specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user.
Example: msiexec /package Application.msi /passive
[!Note]
The equivalent Windows Installer Command-Line Option is /qb!- with REBOOTPROMPT=S set on the command line.

/norestartNever restart option. The installer never restarts the computer after the installation.
Example: msiexec /package Application.msi /norestart
[!Note]
The equivalent Windows Installer command line has REBOOT=ReallySuppress set on the command line.

/forcerestartAlways restart option. The installer always restarts the computer after every installation.
Example: msiexec /package Application.msi /forcerestart
[!Note]
The equivalent Windows Installer command line has REBOOT=Force set on the command line.

/promptrestartPrompt before restarting option. Displays a message that a restart is required to complete the installation and asks the user whether to restart the system now. This option cannot be used together with the /quiet option.
[!Note]
The equivalent Windows Installer command line has REBOOTPROMPT = ' set on the command line.

/uninstallUninstall product option. Uninstalls a product.
[!Note]
The equivalent Windows Installer Command-Line Option is /x.

/uninstall/package