Forrest logo
back to the msiexec tool

msiexec:tldr:e4d67

msiexec: Install a MSP patch file.
$ msiexec /update ${path\to\file-msp}
try on your machine

The command "msiexec /update ${path\to\file-msp}" is used to update an existing Windows Installer (.msi) package by applying a patch file (.msp) to it. Here's a breakdown of the command:

  • "msiexec" is the command-line utility for the Windows Installer service. It allows you to install, modify, or uninstall software packages.
  • "/update" is a parameter used to apply an update to an existing installed product.
  • "${path\to\file-msp}" is the placeholder for the actual file path and name of the .msp file that you want to apply as an update. You need to replace "${path\to\file-msp}" with the actual path to the .msp file on your system.

By running this command, the Windows Installer service will locate the existing installed product based on the information stored in the .msi file and apply the changes provided by the .msp file, effectively updating the software to the new version or applying patches/fixes.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the msiexec tool