1. Open the Command Prompt
  2. Type the following syntax

    msiexec /i /q { Package | ProductCode }

    Option /i simply signifies the package will be installed (Click here to view more available options)

    Option/q with the use of additional parameters allows full control over whether or not the MSI package should be executed silently


    Option Parameter Meaning
    /q n|b|r|f Sets user interface level.q , qn – No UIqb – Basic UI. Use qb! to hide the Cancel button.

    qr – Reduced UI with no modal dialog box displayed at the end of the installation.

    qf – Full UI and any authored FatalErrorUserExit, or Exit modal dialog boxes at the end.

    qn+ – No UI except for a modal dialog box displayed at the end.

    qb+ – Basic UI with a modal dialog box displayed at the end. The modal box is not displayed if the user cancels the installation. Use qb+! or qb!+ to hide the Cancel button.

    qb- – Basic UI with no modal dialog boxes. Please note that /qb+- is not a supported UI level. Use qb-! or qb!- to hide the Cancel button.

    Note that the ! option is available with Windows Installer 2.0 and works only with basic UI. It is not valid with full UI.


See below for some examples based on the location of the MSI package

Network (UNC Path)

msiexec /i /q “\\SERVER\ShareLocation\MSIpackage.msi”

Local Directory

msiexec /i /q “C:\FileLocation\MSIpackage.msi”

Script/MSI Package In Same Location

msiexec /i /q “MSIpackage.MSI”

Running the script will execute and install MSI package(s) silently. You may also create a batch script by copying and pasting the appropriate code in Notepad and saving it with a .bat extension.

Please see Microsoft’s article on Msiexec Command-Line Options for further parameter combinations and explanations such as repairing installations, uninstalling, and logging.