Uninstall Windows App activity

The Uninstall Windows App activity uninstalls an application from a Windows target machine.

The only applications that can be uninstalled using this activity are those that were installed by a Windows Installer.

Note: This activity replaces a Powershell activity by the same name available in releases prior to Geneva. If you have a workflow created in a previous version that uses the deprecated activity, your workflow will continue to work normally after upgrading to Geneva. However, all new workflows must use the custom version of this activity. This activity was built with the Powershell activity designer, which gives workflow administrators the ability to store input and output variables in the databus.

Input variables

Table 1. Uninstall Windows App input variables
Variable Description
hostname Hostname or IP address of the Windows target machine on which to uninstall an application.
product The name of the application to uninstall exactly as it appears in the Windows Add/Remove Programs list.

Output variables

Table 2. Uninstall Windows App output variables
Variable Description
result Either success or failure.
errorMessage The executionResult.errorMessages from the Activity designer parsing sources. If this variable is not null, the operation has failed.

Conditions

Table 3. Uninstall Windows App conditions
Condition Description
Success The activity succeeded in unistalling the application from the Windows server.
Failure The activity failed to uninstall the application from the Windows server.