How to silently install an MSI package

Configurare noua (How To)

Situatie

MSI stands for Microsoft Installer and it’s the Windows standard installer format. It uses msiexec.exe to install the setup and accepts the standard MSI parameters. MSI’s silent install standard parameters are as follows:

  • /quiet – quiet mode (there is no user interaction)
  • /passive – unattended mode (the installation shows only a progress bar)
  • /q – set the UI level:
  • n – no UI
  • n+ – no UI except for a modal dialog box displayed at the end.
  • b – basic UI
  • b+ – 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.
  • b- – 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.
  • r – reduced UI
  • f – full UI

A regular command line to silently install an MSI should look like this:

 Msiexec /i <applicationname.msi> /qb! /l*v install.log

Solutie

Tip solutie

Permanent

Voteaza

(8 din 17 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?