Skip to main content

1E 8.1 (on-premises)

Software.Uninstall

Module

Software

Method

Uninstall

Library

Core

Action

Uninstall the specified software item.

Parameters

Product (string): The software product to uninstall. Any instances that match will be uninstalled.

Publisher (string): The publisher of the product to uninstall. This value must be empty if there is no recorded publisher for the product.

Version (string; optional): If given, uninstall only this exact version of the product. Leading zeroes are not significant in dot-separated numeric fields, so for example versions "11.0.0" and "11.0.00" are considered to be equivalent. However, there must be the same quantity of dot-separated fields, e.g. "11" and "11.0" are not equivalent. Version is not relevant for uninstall on some platforms, e.g. those with Debian-style packages.

Return values

CommandLine (string): The command(s) used to uninstall the software.

Example

Remove all installed instances and versions of Calculator Plus:

Software.GetInstallations( Publisher : "Microsoft", Product : "Microsoft Calculator Plus");
evaluate;
Software.Uninstall( Publisher : "Microsoft", Product : "Microsoft Calculator Plus");

Platforms

  • Windows

  • Linux

Notes

On Windows, only uninstall commands that use msiexec are supported.