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|/?}

/!\ NOTE: Use of Product codes on commandline has not yet been implemented.

(!) Note: 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

See Also


CategoryListofCommands

msiexec (last edited 2008-05-03 05:19:37 by nathan.n)