The Windows Installer technology uses Msiexec.exe for installing MSI and MSP packages. This tool gives you full control over the installation process, allowing you to set:
- install options (install, uninstall, administrative install, advertise a product)
- display options (full, basic or no UI during the installation)
- restart options (if the machine will be restarted after the installation)
- logging options
- update options (apply or remove updates)
- repair options (only for an installed package)
- public properties which are used by the installation
The usual form of the msiexec command line is this:
msiexec.exe <install_option> <path_to_package> [package_parameters]
Install Options
When launching an installation package, you can set the install type through these options:
msiexec.exe [/i][/a][/j{u|m|/g|/t}][/x] <path_to_package>