Avatar of carbonbase
carbonbaseFlag for United Kingdom of Great Britain and Northern Ireland

asked on 

Endpoint Configuration Manager application supersedence

I'm having problems trying to install a new version of Citrix Workspace, we use Microsoft Endpoint Configuration Manager.  I've set the new Workspace package to supersede the old one, problem is that after the new package is installed it still thinks that the old one is there and tries to uninstall it which ends up uninstalling the new version, end result is that old version is uninstalled as expected but the new version also gets uninstalled, even though Software Centre thinks that the new version is strill installed.  I've had a look at the AppEnforce and AppDiscovery logs using CMTrace, but I can't see what the problem is. 

* Microsoft Endpoint Configuration ManagerInstallationSCCMCitrix

Avatar of undefined
Last Comment
carbonbase
Avatar of Hayes Jupe
Hayes Jupe
Flag of Australia image

Sounds like your detection methods aren't correct. Can you confirm they are both detecting the correct MSI ?
Avatar of carbonbase
carbonbase
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

I'm not using an MSI I've downloaded the Citrix Workspace install .exe and I'm calling it with some install switches from a batch file, this is the way the previous app install was done.

The superseded app had this as it's detection:

Detect Receiver.exe in file path:  C:\Program Files (x86)\Citrix\ICA Client\Receiver AND check file version of wfica32.exe in file path:  C:\Program Files (x86)\Citrix\ICA Client

Version of wfica32.exe is set to be greater than or equal to the version that is being installed.

I used the same detection mechanism for my app and just updated the version of wfica32.exe.

What seems to be happening is this:

  1. new app is deployed to the client
  2. new app does its install and uninstalls the previous app version
  3. In Software Centre both versions of the Workspace app are now listed as installed (even though the previous app is no longer on the machine)
  4. The new install prompts for a reboot which I do.
  5. After the reboot Software Centre still thinks both apps are installed so I force a config manager update
  6. The uninstall script of the superseded app is called (not sure why that is), this then removes whatever version of Citrix Workspace is installed (which in this case is the new version)
  7. The new version of Citrix Workspace has now been uninstalled which means there is now no version of Citrix Workspace on the client
  8. In Software Centre it thinks that the previous version is now removed and thinks the new version is installed.

I have tried modifying the uninstall script of the superseded app to only run if it detects the superseded version of wfica32.exe.  Now when I force a Config manager policy update the superseded app uninstall script is still invoked but this time doesn't remove the newly installed Workspace and disappears for Software Centre, but the status of the new app in Software Centre is "past due - will be updated"

I have also tried unticking the 'uninstall' option on the supersedance tab, but that means some reg keys from the superseded app version get left behind and I need those removed.

Avatar of Hayes Jupe
Hayes Jupe
Flag of Australia image

yer, so if your using = or greater than - your going to get yourself into a loop when upgrading - as its always going to matchy on the superseded app - as its always going to be greater than.

Change that to be equal to, rather than equal or greater.


Avatar of carbonbase
carbonbase
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Should i change it to to 'equal to' on both the superseded app and the new one?
Avatar of carbonbase
carbonbase
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

I've changed both apps so that file version is equal to, unfortunately it hasn't fixed it and I'm seeing the same behaviour.  I also removed the first detection clause (i.e. checking to see if Receiver.exe exists) just in case that detection clause was causing problems but again it hasn't helped.
Avatar of carbonbase
carbonbase
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Slight correction to one of my earlier posts, the new app shows as 'past due - will be retried' not sure why Software Centre doesn't think it is installed.  I'm seeing this in the AppEnforce log on the client machine.


    Performing detection of app deployment type New Citrix Workspace App batch file installer(ScopeId_AA2745C7-6D20-45F1-976E-9DCF0A0A97DC/DeploymentType_fce58ea2-f8bb-40ff-8f0c-b6a44b287e79, revision 29) for system.   AppEnforce   17/09/2021 18:04:16   3596 (0x0E0C)

+++ Application not discovered. [AppDT Id: ScopeId_AA2745C7-6D20-45F1-976E-9DCF0A0A97DC/DeploymentType_fce58ea2-f8bb-40ff-8f0c-b6a44b287e79, Revision: 29]   AppEnforce   17/09/2021 18:04:16   3596 (0x0E0C)


Avatar of Hayes Jupe
Hayes Jupe
Flag of Australia image

there is a lag between updating the app and when the new detection rule will be in use.

could you please post the appdiscovery.log and appenforce.log from a machine with the issue.
Avatar of carbonbase
carbonbase
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Hi, please see attached, thanks.

AppDiscovery.log
AppEnforce.log
Avatar of carbonbase
carbonbase
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Hi just wondering if you had a chance to look at the log files?
ASKER CERTIFIED SOLUTION
Avatar of Hayes Jupe
Hayes Jupe
Flag of Australia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of carbonbase
carbonbase
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

That's great, narrows it down for me a bit, I'll see if I can modify the detection rule in Config manager.
Avatar of carbonbase
carbonbase
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Hi Hayes, I changed the detection method to check the version of Receiver.exe and the install seems to be working fine now.  

Thanks for your help!
Citrix
Citrix

Citrix is the synonym for the virtualization and application infrastructure systems developed by the company of the same name. Main areas are application virtualization, Software-As-A-Service (SaaS), cloud-computing and networking. The two most well-known are Citrix XenApp or Citrix CloudPlatform.

14K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo