HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

msiexec — Install, update, repair, or uninstall Windows programs using MSI and MSP package files. More informa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandrepairwindowsupdateinstallmsiexeccliuninstall
windows

Problem

How to use the msiexec command: Install, update, repair, or uninstall Windows programs using MSI and MSP package files. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/msiexec>.

Solution

msiexec — Install, update, repair, or uninstall Windows programs using MSI and MSP package files. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/msiexec>.

Install a program from its MSI package:
msiexec /package {{path\to\file.msi}}


Install a MSI package from a website:
msiexec /package {{https://example.com/installer.msi}}


Install a MSP patch file:
msiexec /update {{path\to\file.msp}}


Uninstall a program or patch using their respective MSI or MSP file:
msiexec /uninstall {{path\to\file}}

Code Snippets

Install a program from its MSI package

msiexec /package {{path\to\file.msi}}

Install a MSI package from a website

msiexec /package {{https://example.com/installer.msi}}

Install a MSP patch file

msiexec /update {{path\to\file.msp}}

Uninstall a program or patch using their respective MSI or MSP file

msiexec /uninstall {{path\to\file}}

Context

tldr-pages: windows/msiexec

Revisions (0)

No revisions yet.