Skip to content

Uninstall MSI

Uninstalls applications installed with MSI by display name, publisher, version or product code. This PowerBrick can be used to uninstall applications installed with MSI by specifying the display name, publisher, version or product code. It is possible to use wildcards in the display name and publisher parameters to match multiple applications. If multiple applications match the specified criteria, all of them will be uninstalled.

Optional

The exact display name as presented in add/remove programs. It is possible to use * as wildcard

Optional

Version filter for matching applications. Wildcards are supported (example: 23*). Omitting the version will uninstall all versions matching the other filters.

Optional — Default: Like

Version comparison operator used when Version is set. Allowed values: Like, Equal, Less Than, Less Than Or Equal, Greater Than, Greater Than Or Equal.

Optional

Optional publisher filter. Wildcards are supported.

Optional

The MSI Product Code (GUID) to uninstall directly. Can be provided with or without braces. Either DisplayName or ProductCode must be provided.

Optional — Default: False

Enable to include extra MSI debug logging in uninstall MSI log files. Disable to use standard verbose MSI logging.

Required

Specify how each return code from the process is handled. Success continues the job, Failure stops the job as failed with that return code, and Retry Execution Later stops the job and runs it again later. Any return code not in the list stops the job as failed. Allowed values: Success, Failure, Retry Execution Later.

  • Category: Installer
  • Brick ID: MSI-Remove-By-Name