WineHQ

Msiexec: Difference between revisions

(Iniitial import; some markup fixes, tweak formatting)
(No difference)

Revision as of 19:39, 5 March 2016

msiexec is a tool for installing .msi packages.

Usage

  Install a product:
    msiexec {package|productcode} [property]
    msiexec /i {package|productcode} [property]
    msiexec /a package [property]
  Repair an installation:
    msiexec /f[p|o|e|d|c|a|u|m|s|v] {package|productcode}
  Uninstall a product:
    msiexec /x {package|productcode} [property]
  Advertise a product:
    msiexec /j[u|m] package [/t transform] [/g languageid]
    msiexec {u|m} package [/t transform] [/g languageid]
  Apply a patch:
    msiexec /p patchpackage [property]
    msiexec /p patchpackage /a package [property]
  Modifiers for above operations:
    msiexec /l[*][i|w|e|a|r|u|c|m|o|p|v|][+|!] logfile
    msiexec /q{|n|b|r|f|n+|b+|b-}
  Register a module:
    msiexec /y module
  Unregister a module:
    msiexec /z module
  Display usage and copyright:
    msiexec {/h|/?}

Notes:

  • Use of Product codes on commandline has not yet been implemented.
  • Generally a product will ship with an executable (.exe file) which provides a more user friendly mechanism for installing the product. Where possible you should use the .exe provided by the application developer. The file name will usually contain "setup" or "install" in its filename.

Example(s)

msiexec /i msxml3.msi

This page was last edited on 5 March 2016, at 19:39.