Silent Install of MSI

10,727

Solution 1

Standard Installer Command-Line Options

/quiet

Quiet display option.

The installer runs an installation without displaying a user interface.

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.

msiexec

run this command to find more information about the installation options.

Solution 2

See the docs for "Unattended": http://unattended.sourceforge.net/installers.php

In short, while there are ways to cause them to fail, these flags should work:

 msiexec /qb /i blah.msi REBOOT=ReallySuppress

Solution 3

There's also these:

/q , /qn  No UI.
/qb       Basic UI.
/qb!      Basic UI with no cancel button.
/qr       Reduced UI. A modal dialog box is displayed at the end of the install.
/qf       Full UI. A modal dialog box is displayed at the end of the install.
/qn+      No UI. However, a modal dialog box is displayed at the end of the installation.
/qb+      Basic UI. A modal dialog box is displayed at the end of the installation. If you         cancel the installation, a modal dialog box is not displayed.
/qb-      Basic UI with no modal dialog boxes.

source: http://www.ss64.com/nt/msiexec.html

Share:
10,727
JoshRivers
Author by

JoshRivers

Updated on September 17, 2022

Comments

  • JoshRivers
    JoshRivers over 1 year

    What is the command line to silently install an MSI file?