Created On:  29 June 2010

Problem:

I need to uninstall a Liant product on a Windows machine. However, I need to perform the uninstall silently without using the GUI uninstaller. How is this done?

Resolution:

In order to uninstall RM/COBOL v12.02 from a machine you can use the Windows Instrumentation command-line interface (WMIC).  The Windows Instrumentation command-line interface is available on any PC running Windows XP Professional, or later.

Below is the syntax for two WMIC functions that are necessary for uninstalling products.

-------------------------------------

To get a list of installed products:

wmic product get name

To uninstall a product:

wmic product where name="application name" call uninstall /nointeractive

Where, application name, is the name of the program you wish to uninstall (use the exact name provided by the previously generated list).

-------------------------------------

The following examples demonstrate how to use the Windows Instrumentation command-line interface (WMIC) to uninstall RM/COBOL Runtime v12.05 and Relativity Data Manager v12.05.

Uninstall RM/COBOL Runtime v12.05:

wmic product where name="Liant RM/COBOL v12.05 Runtime" call uninstall /nointeractive

Uninstall Recover1

wmic product where name="Liant Relativity v12.05 Data Manager" call uninstall /nointeractive

*If you want to uninstall interactively, remove the /nointeractive switch.
**You can also use the utility to uninstall any application on a machine.
Incident #2461934