From WineHQ Wiki
Jump to: navigation, search

msiexec is a tool for installing .msi packages.


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


  • 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.


msiexec /i msxml3.msi