How to troubleshoot Unified Agent uninstall issues

book

Article ID: 168269

calendar_today

Updated On:

Products

CDP Integration Server

Issue/Introduction

You attempt to uninstall the Unified Agent (UA) application from Windows by using Add/Remove Programs but receive a message that a newer version of the program has already been installed.

Command line un-installation attempts also failed.
msiexec /x {4102C9CD-C185-404E-B821-673E9FEE9D30} 

 

Resolution


From the command line, use the msiexec command to generate an uninstall log.
EXAMPLE: 
msiexec /x "c:\MyPackage\Example.msi" /L*V "c:\log\example.log"

Example using the current UA install file: 
msiexec /x "c:\temp\UnifiedAgentInstaller64-4.4.0.144781.msi" /L*V "c:\temp\example.log"

NOTE: The /L*V parameter generates a verbose log.

This generated a debug log.
Property(S): AI_NEWERPRODUCTFOUND = {216652C2-709F-449B-B92F-9723C7E78384}
Property(S): OM = **********
Property(S): ProductCode = {4102C9CD-C185-404E-B821-673E9FEE9D30}

From this debug log, we see that the correct ProductCode to use for the command line uninstall is: 
{216652C2-709F-449B-B92F-9723C7E78384}

Re-attempt the uninstall with this correct code.
msiexec /x {216652C2-709F-449B-B92F-9723C7E78384}

OPTIONAL PARAMETERS:
msiexec /x {216652C2-709F-449B-B92F-9723C7E78384} /quiet UNINSTALL_TOKEN=password