8.1 Windows Installer Command Line Options

The following are basic Windows Installer command-line options used to manually install, uninstall; and configure software and components:

Command

Usage

/i

Installs or configures a product.

/f

Repairs a product.

/a

Installs or configures a product on a network.

/x

Uninstalls a product.

/p

Applies a patch to a product.

/q

Sets the user interface (UI) level during the installation of a product.

The following are the standard Windows installer command line options that can also be used to install, uninstall software and components:

Command

Usage

/help

Displays the help and quick reference options.

/quiet

Installs without user interaction.

/passive

Installs with a progress bar.

/norestart

No restart after installation.

/forcerestart

Always restarts after installation.

/promptrestart

Prompts user to restart after installation.

/uninstall

Uninstalls an application.

/log

Writes a log file after installation.

/package

Installs or configures an application.

/update

Installs one or multiple patches.

For details of Microsoft Windows Installer command line options and parameters, refer the MSDN Library.