/build/static/layout/Breadcrumb_cap_w.png
09/11/2019 222 views

what is the best practice to un/install all versions of Citrix Receiver clients using KACE SMA (K1000) to do these tasks? What are their parameters to do quietly or silently in the background?

Task1 -  I needed to be able to uninstall all versions of Citrix Receiver clients like from

Citrix Receiver (Enterprise) 13.1.0.89 .. all the way to Citrix Receiver(USB) 14.12.0.18020 or any latest version, if possible.


Task2 -  After clean uninstalling, I want to do a push-install a newer Citrix Receiver LTSR_4.9.7000 clients, of course, KACE K1000 to do these tasks.


To uninstall for Citrix Receiver (Enterprise) versions, I can use this parameter C:\ProgramData\Citrix\Citrix Receiver (Enterprise)\TrolleyExpress.exe /uninstall /cleanup

To install for Citrix Receive:

    for old version 3.4.x:   CitrixReceiverEnterprise.exe /silent  /includeSSON SERVER_LOCATION="BVVNinstSrvr.citrite.net" ENABLE_SSON="Yes"
    for LTSR_4.9.7000+      CitrixReceiver.exe /silent SERVER_LOCATION="BVVNinstSrvr.citrite.net" ENABLE_SSON="Yes"

but it is NOT silently installs for LTSR_4.9.7000+  and get pop-ups dialog windows

Q1. How do I make it installing silently since these parameters are NOT the same anymore from old version 4.8.x or less  to the newer version 4.9.x (LTSR)?

Q2. What are proper parameters for the newer version if my old version using these: /silent SERVER_LOCATION="BVVNinstSrvr.citrite.net" ENABLE_SSON="Yes"


Q3. Also, for KACE, is there any way I can issue a command to remove everything under this folder:   C:\ProgramData\Quest\KACE\scripts\ ??





1 Comment   [ + ] Show comment

Comments

  • I use the Receiver Clean-Up Utility to remove all installed versions.
    https://support.citrix.com/article/CTX137494


Community Chosen Answer

1

If I remember correctly, Citrix Has its own clean-up tool which may prove useful.

https://support.citrix.com/article/CTX137494

You could probably even push this out via KACE, though you may want to push out an uninstall afterwards to make sure it doesn't remove any newer versions

Answered 09/20/2019 by: jonniipalos
6th Degree Black Belt

All Answers

0

I have a script that I wrote a few months back for the receiver plugin, perhaps it uses similar logic to the version you're deploying and can be adapted for it? Looks like many of the switches may be listed here https://docs.citrix.com/en-us/citrix-workspace-app-for-windows/install.html

# Citrix Receiver Installation Script



#Arguments for the Installation

# /Silent (Install SIlently) /RCU (Force upgrade of legacy versions) /EnableCEIP=False (Disable Customer Experience Improvement Program)

#/noreboot (so install doesn't reboot automatically and throw off KACE/SCCM) /ALLOWADDSTORE=N (prevent FTU dialog popup https://docs.citrix.com/en-us/citrix-workspace-app-for-windows/getting-started.html#user-accounts)

$InstallerArguments = "/Silent /RCU /EnableCEIP=False /ALLOWADDSTORE=N /noreboot"



# get the properties of the installer

$InstallerFile = (Get-ItemProperty -Path "$PSScriptRoot\CitrixOnlinePluginWeb.exe")



# Display the version of the installer

$Installerversion = $InstallerFile.VersionInfo.Fileversion

Write-Output "Preparing to install $Citrix Receiver $InstallerVersion" |Out-Host



# Look for versions to remove

$CitrixUninstallers = (Get-ItemProperty -path "$ENV:SystemDrive\ProgramData\Citrix\Citrix Receiver *\TrolleyExpress.exe" -ea silentlycontinue) 



# Remove each version found

foreach ($CitrixUninstaller in $CitrixUninstallers){

    Write-Output "Running Citrix uninstaller found in Path $CitrixUninstaller" |Out-Host

    Start-Process -FilePath $CitrixUninstaller -Argumentlist "/uninstall /silent /cleanup /noreboot" -wait

}



Write-Output "Beginning Installation" |Out-Host

start-process -FilePath $installerFile -ArgumentList $InstallerArguments -Wait

Answered 10/03/2019 by: Kiyolaka
Orange Senior Belt