Knowledgebase

Back to Articles List

How do I perform an unattended uninstall of all Tracker Software products older than a specific version?

Symptoms

A computer has multiple versions of Tracker Software products installed, installing the latest version does not update old versions but leaves multiple versions installed when only the latesd version is wanted.

Cause

In the past, major versions of Tracker Software products had been designed to be installed in parallel.  Only minor version upgrades replace existing installations.

Resolution

Clean up the Target machine by uninstalling instances of Tracker Software older than a specific version.

The following wmic commands can be run using PowerShell as Administrator locally or pushed to multiple machines through a Group Policy script.  wmic commands only work with msi installed products.

The target machine in this example has had over time multiple versions of Tracker Software installed.

Query the currently installed software:

wmic product where "Vendor like '%Tracker Software%'" list brief

returns:

Caption IdentifyingNumber Name Vendor Version
PDF-XChange Editor SDK {6C5A7BA2-2F82-435D-B50E-6833D2028CA8} PDF-XChange Editor SDK Tracker Software Products (Canada) Ltd. 5.5.315.0
PDF-XChange PRO V6 {FDEE9B63-F8FF-459D-96D0-115138EB6C72} PDF-XChange PRO V6 Tracker Software Products (Canada) Ltd. 6.0.317.1
PDF-XChange Standard V6 {BE80B2D3-4FE8-4339-BF9C-14E4367F9257} PDF-XChange Standard V6 Tracker Software Products (Canada) Ltd. 6.0.317.0
PDF-XChange Editor {DE76F0A5-0745-4FBA-B774-B760DF92724D} PDF-XChange Editor Tracker Software Products (Canada) Ltd. 6.0.317.0
PDF-XChange Lite V6 Home {E714AF27-710C-4181-A0B4-45227BE3683F} PDF-XChange Lite V6 Home Tracker Software Products (Canada) Ltd. 6.0.317.0
PDF-XChange Editor {3D1987D7-5A88-4DDA-9D29-6977AE2BDBD0} PDF-XChange Editor Tracker Software Products (Canada) Ltd. 5.5.316.1
PDF-XChange Viewer {9ED333F8-3E6C-4A38-BAFA-728454121CDA} PDF-XChange Viewer Tracker Software Products (Canada) Ltd. 2.5.315.0
 
Remove a specific product:

Running the following command then removes the Viewer only:             
wmic product where "Name like '%PDF-XChange Viewer%'" call uninstall

Querying for all tracker Software now returns:

Caption IdentifyingNumber Name Vendor Version
PDF-XChange Editor SDK {6C5A7BA2-2F82-435D-B50E-6833D2028CA8} PDF-XChange Editor SDK Tracker Software Products (Canada) Ltd. 5.5.315.0
PDF-XChange PRO V6 {FDEE9B63-F8FF-459D-96D0-115138EB6C72} PDF-XChange PRO V6 Tracker Software Products (Canada) Ltd. 6.0.317.1
PDF-XChange Standard V6 {BE80B2D3-4FE8-4339-BF9C-14E4367F9257} PDF-XChange Standard V6 Tracker Software Products (Canada) Ltd. 6.0.317.0
PDF-XChange Editor {DE76F0A5-0745-4FBA-B774-B760DF92724D} PDF-XChange Editor Tracker Software Products (Canada) Ltd. 6.0.317.0
PDF-XChange Lite V6 Home {E714AF27-710C-4181-A0B4-45227BE3683F} PDF-XChange Lite V6 Home Tracker Software Products (Canada) Ltd. 6.0.317.0
PDF-XChange Editor {3D1987D7-5A88-4DDA-9D29-6977AE2BDBD0} PDF-XChange Editor Tracker Software Products (Canada) Ltd. 5.5.316.1
 
Remove all Tracker Software products where the version number is lower than a specific value:

Running the following command removes all Tracker Software products older than major version 6.0:             
wmic product where "Vendor like '%Tracker Software%' and Version < '6'" call uninstall

Querying for all tracker Software now returns:

Caption IdentifyingNumber Name Vendor Version
PDF-XChange PRO V6 {FDEE9B63-F8FF-459D-96D0-115138EB6C72} PDF-XChange PRO V6 Tracker Software Products (Canada) Ltd. 6.0.317.1
PDF-XChange Standard V6 {BE80B2D3-4FE8-4339-BF9C-14E4367F9257} PDF-XChange Standard V6 Tracker Software Products (Canada) Ltd. 6.0.317.0
PDF-XChange Editor {DE76F0A5-0745-4FBA-B774-B760DF92724D} PDF-XChange Editor Tracker Software Products (Canada) Ltd. 6.0.317.0
PDF-XChange Lite V6 Home {E714AF27-710C-4181-A0B4-45227BE3683F} PDF-XChange Lite V6 Home Tracker Software Products (Canada) Ltd. 6.0.317.0

 

Similary, unning the following command removes all Tracker Software products older version 6.0.317.1:
wmic product where "Vendor like '%Tracker Software%' and Version < '6.0.317.1'" call uninstall

Querying for all tracker Software now returns:

Caption IdentifyingNumber Name Vendor Version
PDF-XChange PRO V6 {FDEE9B63-F8FF-459D-96D0-115138EB6C72} PDF-XChange PRO V6 Tracker Software Products (Canada) Ltd. 6.0.317.1
 
Caveat.

Now comes the catch.  The Editor and Standard Drivers here were installed discretely, each with their own installer and ALSO with the Pro Bundle installer.  The Pro Bundle installer includes the Editor and Standard Driver, however, these were now installed twice, once each using their own installer and again as a part of the Pro Bundle.  The impact of this is that these two programs get listed as separate products in Windows Programs and Features even though there is only a single instance actually installed.
This is unfortunately an unavoidable consequence of installing Pro Bundle components discretely as well as with the Pro Bundle installer and is to be avoided in a managed environment.
In summary, one can uninstall all instances of Tracker Software prior to a specific version as long as the original installations are not overlapping (componants installed both as part of the Pro Bundle and their own installers).

Was this article helpful?
Yes No Somewhat