incomplete uninstall of xFlow prevents reinstall

Document ID : KB000121490
Last Modified Date : 23/11/2018
Show Technical Document Details
Issue:
I am trying to re-install SDM 17.1 on a test system from the same local installation folder as used previously.

First I did a complete uninstall of SDM 17.1, cleanup folders, cleanup registry before running setup.exe as administrator.

Everything is working fine until the step to update xFlow to 17.1.0.0 (xFlow Interface Update(s): 17.1

-------------- C A S M    I N S T A L L A T I O N    R E P O R T ------------------
Start time : 10:02:14
-----------------------------------------------------------------------------------

Task Status : 
1. Configuring CA Service Management common tables - task.install_CDB >> complete
2. Installing CA Service Desk Manager - task.install_sdm >> complete
3. Configuring CA Service Desk Manager - task.configure_sdm >> complete
4. Installing xFlow Interface  - task.install_l1analystcore >> complete
5. Installing Search Server - task.install_searchserver >> complete
6. Loading Search Initial Data  - task.run_initialload_searchserver >> complete
7. Installing Collaboration Server - task.install_chatserver >> complete
8. Integrating the Product(s) - task.auto_integration >> complete
9. Applying CA Service Desk Manager Binaries Update(s) : 17.1  - task.sdm.patch.binaries.17.1 >> complete
10. Applying CA Service Desk Manager MDB Update(s) : 17.1  - task.sdm.patch.mdb.17.1 >> complete
11. Applying CA Service Desk Manager Localization Update(s) : 17.1 - task.sdm.patch.locale.17.1 >> complete
12. Running Post Installation steps for CA Service Desk Manager Update(s) : 17.1 - task.sdm.postinstall.steps.17.1 >> complete
13. xFlow Interface Update(s) : 17.1  - task.xflow.patch.17.1 >> Aborted
14. Running Post Installation steps for xFlow Interface Update(s) : 17.1 - task.xflow.postinstall.steps.17.1 >> pending
15. Applying Collaboration Server Update(s) : 17.1 - task.update_chatserver.17.1 >> pending

Note : Abort requested while running task: xFlow Interface Update(s) : 17.1  
-----------------------------------------------------------------------------------
Last updated at : 10:36:36
Installation status : Aborted
-----------------------------------------------------------------------------------

Following error is shown in the install log file:

2018/11/23 10.36.11.508 INFO  [DeployThread: xFlow Interface Update(s) : 17.1 ] [PatchBase] Installing xFlow patch with default locale (en_US) Installanywhere code (en)
2018/11/23 10.36.11.508 DEBUG [DeployThread: xFlow Interface Update(s) : 17.1 ] [PatchBase] Applying xFlow Patch using command : "C:\Users\ADADMI~2\AppData\Local\Temp\2\casm\Patching\GOA_20181123_100213\xFlow-CUM1-17.1.0.0_XFLOW_20181123_103608\xFlow.exe" -i silent -f "C:\Users\ADADMI~2\AppData\Local\Temp\2\casm\Patching\GOA_20181123_100213\xFlow-CUM1-17.1.0.0_XFLOW_20181123_103608\l1analystinstallresponse.properties"
..
18/11/23 10.36.19.254 DEBUG [DeployThread: xFlow Interface Update(s) : 17.1 ] [CommonProcessUtilities] Command terminated with exit code: 8000
2018/11/23 10.36.19.255 DEBUG [DeployThread: xFlow Interface Update(s) : 17.1 ] [PatchBase] xFlow Analyst Interface Installation Exit Code: 8000
2018/11/23 10.36.19.255 DEBUG [DeployThread: xFlow Interface Update(s) : 17.1 ] [PatchBase] xFlow Analyst Interface Install/Upgrade failed. Firing Task Error.
...
2018/11/23 10.36.19.321 DEBUG [DeployThread: xFlow Interface Update(s) : 17.1 ] [ProgressPage] Task Error. TaskID: task.xflow.patch.17.1,xFlow Interface Update(s) : 17.1 
2018/11/23 10.36.35.062 WARN  [DeployThread: xFlow Interface Update(s) : 17.1 ] [Messages] Unable to find resource task.xflow.patch.17.1 in bundle com/ca/smsi/installui/resources/ui/configui
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key task.xflow.patch.17.1
    at java.util.ResourceBundle.getObject(Unknown Source)
    at java.util.ResourceBundle.getString(Unknown Source)
    at com.ca.smsi.installui.Messages.getMessage(Messages.java:70)
    at com.ca.smsi.installui.Messages.getMessage(Messages.java:83)
    at com.ca.smsi.wizard.task.Task.getFailureMessage(Task.java:416)
    at com.ca.smsi.installui.wizard.ProgressPage.taskError(ProgressPage.java:359)
    at com.ca.smsi.installcore.DeployThread.fireTaskError(DeployThread.java:1274)
    at com.ca.smsi.installcore.DeployThread.taskError(DeployThread.java:1284)
    at com.ca.smsi.wizard.task.Task.fireTaskError(Task.java:401)
    at com.ca.smsi.installui.patches.xFlowPatch.installXflowBinaryPatch(xFlowPatch.java:138)
    at com.ca.smsi.installui.patches.xFlowPatch.installBinaryPatch(xFlowPatch.java:48)
    at com.ca.smsi.installui.patches.xFlowPatch.run(xFlowPatch.java:149)
    at com.ca.smsi.wizard.task.Task.start(Task.java:239)
    at com.ca.smsi.installcore.DeployThread.run(DeployThread.java:1117)
2018/11/23 10.36.35.099 DEBUG [DeployThread: xFlow Interface Update(s) : 17.1 ] [Task] inside initErrMap() generic. This method should be overloaded if possible

There is no issue by uninstalling/re-installation 17.1.0.1 (SO03787), this is working fine.  There is no issue either to uninstall/re-install the orig version 17.0.0.0. The problem is that the 17.1.0.0 installation comes with the setup.exe for 17.1 and so meaning I cannot re-install SDM 17.1. During the uninstall I also get a message "Unable to uninstall xFlow Analysis Interface 17.1.0.0" 



 
Cause:
The root cause is incomplete "xFlow Analyst Interface 17.1.0.0" uninstall process.
Resolution:
Try these steps to resolve the issue:

1. Uninstall of xFlow Analyst Interface 17.1.0.1 is working fine (successfull uninstall)
2. Uninstall of xFlow Analyst Interface 17.1.0.0 is NOT working
2a. Message "Unable to uninstall xFlow Analysis Interface 17.1.0.0" )
2b. Manually cleanup folder "C:\Program Files\CA\xFlow\_xFlow Analyst Interface 17.1.0.0_installation"
2c. Re-initiate uninstall from Control Panel to remove the xFlow Analyst Interface 17.1.0.0 entry from Program and Features
2d. ===> Manually remove "Product 17.1.0.0" from hidden file “C:\Program Files\Zero G Registry\.com.zerog.registry.xml”
3. Uninstall of xFlow Analyst Interface is working fine (successfull uninstall)
4. Uninstall SearchServer
5. Uninstall CollaborationServer
6. Uninstall Service Desk Manager
7. Cleanup Program Files\CA and Program Files (x86)\CA folders
8. Delete SQL mdb database
9. Check hidden file “C:\Program Files\Zero G Registry\.com.zerog.registry.xml”
===> No products and no components registered
10. Cleanup IIS
11. Install 17.1 SUCCESSFULL (including xFlow Interface Update(s) : 17.1 )
12. Install 17.1 SO03787 SUCCESSFULL