Table 23-1 lists the Windows Installer command-line options used to manually install, uninstall, and configure software and components.
Table 23-1 Windows Installer Command Line Options
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. |
/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. NOTE:This command installs the patches in English only. |
For details of Microsoft Windows Installer command line options and parameters, refer the MSDN Library.
Parameters listed in might be relevant in enterprise environments where the administrators control the installation; however, users can still see the product being installed.
Table 23-2 Other Install Options
Install Options |
Usage |
---|---|
/qn |
Displays no user interface. This option will install and reboot the application and show nothing to the user to indicate the installation is taking place. A user cannot cancel the installation. |
/qb |
Displays a basic user interface. This option will install and prompt the user to reboot the application indicating the installation has taken place. A user can cancel the installation. |
/qr |
Displays a reduced user interface with a modal dialog box displayed at the end of the installation. |
/qf |
Displays the full user interface with a modal dialog box displayed at the end. |
/qn+ |
Displays no user interface, except for a modal dialog box displayed at the end. |
/qb+ |
Displays a basic user interface with a modal dialog box displayed at the end. |
/qb- |
Displays a basic user interface with no modal dialog boxes |