Uninstalling iSeries Legacy Client Access
From the archive (2010). Written for the tools of the time, so some details may be out of date.
If you have legacy iSeries Windows Client Access and need to do an upgrade to the latest 6.1 version, it can be a little challenging to get the old version uninstalled. Here is a script that will take care of the uninstall, credit goes to a former colleague of mine for creating this. This has worked with versions 5.4 and 5.2.
Begin Script
###########################
@echo off
if exist “C:\Program Files\IBM\Client Access\cwbunins.exe” goto legacy
exit 0
:legacy
cls
echo Uninstalling old versions.
“C:\Program Files\IBM\Client Access\cwbunins.exe” /s
reg.exe delete “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce” /v “CA RmDir” /f
rmdir /s /q “C:\Program Files\IBM\Client Access\Mri2924”
exit 0
###########################
End Script