2021-12-13 10:21:17 +00:00
|
|
|
# msiexec
|
|
|
|
|
|
|
|
> Install, update, repair, or uninstall Windows programs using MSI and MSP package files.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/msiexec>.
|
2021-12-13 10:21:17 +00:00
|
|
|
|
|
|
|
- Install a program from its MSI package:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`msiexec /package {{path\to\file.msi}}`
|
2021-12-13 10:21:17 +00:00
|
|
|
|
|
|
|
- Install a MSI package from a website:
|
|
|
|
|
|
|
|
`msiexec /package {{https://example.com/installer.msi}}`
|
|
|
|
|
|
|
|
- Install a MSP patch file:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`msiexec /update {{path\to\file.msp}}`
|
2021-12-13 10:21:17 +00:00
|
|
|
|
|
|
|
- Uninstall a program or patch using their respective MSI or MSP file:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`msiexec /uninstall {{path\to\file}}`
|