After removing Citrix Receiver 3.4 Enterprise during some testing of another issue I managed to corrupt the installation somehow.
I tried re-installation but if failed miserably with the below error:
“Setup cannot continue because this version of Receiver is incompatible with a previously-installed version”
So how did I go about fixing this issue?
As with all receiver installation issue we should examine the trolley express log file found below:C:\Users\username\AppData\Local\Temp 11:03:55: Information – CApp::CheckIfAClientPackageIsInstalled(1001) – Checking if a 13.1 or later package is installed. 11:03:55: Information – CApp::ReadInstalledPackageVersion(1081) – An existing 18.104.22.168 package was found. 11:03:55: Information – CApp::SetExitCode(45) – Exit code is 1603 (called with 1603) 11:03:55: Error – CApp::CheckIfAClientPackageIsInstalled(1057) – An existing 22.214.171.124 package was found. Install cannot continue.
From the log file we can see that the installation fails due an existing package being found (the same as the error message above as we suspected!) . We need to find out where TrolleyExpress is reading that information so we can manipulate the situation , best tool to that is procmon (aka process monitor).
I quickly filtered on trolley express.exe and tried the installation again. We can see the process trying to access various keys and files which revealed the location is was reading the data from.
The solution is to delete the below reg key so that we can continue the installation.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CitrixOnlinePluginFull
Now running the installation again it completes with success
fyi you will probably see a similar document on support.citrix.com soon too (written by me of course).