tis-citrix-workspace icon

Citrix Workspace

Silent install package for Citrix Workspace

22.4.0.55-1

  • package: tis-citrix-workspace
  • name: Citrix Workspace
  • version: 22.4.0.55-1
  • categories: Utilities,System and network
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Citrix
  • licence: Proprietary
  • locale: all
  • target_os: windows
  • impacted_process: Receiver,ReceiverCleanupUtility,CitrixWorkspaceUpdater,CitrixWorkspaceUpdater,Ctx64Injector64,CtxBrowserInt,CtxCFRUI,CtxTwnPA,CtxWebBrowser,wfica32,wfcrun32,concentr,icaconf,CitrixWorkspaceBrowser,CitrixWorkspaceBrowser_proxy,CitrixReceiverUpdater,CitrixWorkspaceNotification,AuthManSvr,SelfService,SelfServicePlugin
  • architecture: all
  • signature_date:
  • size: 311.25 Mo
  • installed_size: 1.20 Go
  • homepage : https://www.citrix.com/products/citrix-workspace/
  • depends:
  • conflicts :

package           : tis-citrix-workspace
version           : 22.4.0.55-1
architecture      : all
section           : base
priority          : optional
name              : Citrix Workspace
categories        : Utilities,System and network
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Citrix Workspace (formerly Citrix Workspace Suite) is a digital workspace software platform developed by Citrix Systems
depends           : tis-dotnetfx,tis-vcredist
conflicts         : tis-citrix-receiver,tis-citrix-receiver-ltsr,tis-citrix-workspace-ltsr
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.citrix.com/downloads/workspace-app/windows/workspace-app-for-windows-latest.html
installed_size    : 1201442816
impacted_process  : Receiver,ReceiverCleanupUtility,CitrixWorkspaceUpdater,CitrixWorkspaceUpdater,Ctx64Injector64,CtxBrowserInt,CtxCFRUI,CtxTwnPA,CtxWebBrowser,wfica32,wfcrun32,concentr,icaconf,CitrixWorkspaceBrowser,CitrixWorkspaceBrowser_proxy,CitrixReceiverUpdater,CitrixWorkspaceNotification,AuthManSvr,SelfService,SelfServicePlugin
description_fr    : Citrix Workspace est un logiciel client simple à installer offrant un accès fluide et sécurisé à tout ce dont vous avez besoin pour travailler
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Citrix
keywords          : remote,client,ica,receiver,citrix
licence           : Proprietary
homepage          : https://www.citrix.com/products/citrix-workspace/
package_uuid      : 6f2a5fe9-888a-426e-a997-75ea5a8b6dcf
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.citrix.com/downloads/workspace-app/windows/workspace-app-for-windows-latest.html
min_os_version    : 6.3
max_os_version    : 
icon_sha256sum    : 49bd7b341d8246a4f562cbdd88f92b3e6e719a9347a7d291764f587d5f280deb
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : OPgyOWw8xcuUm6oDlnHjbP/ZxK1Qy4yrc+IQg/egSkImI9jsBGBvz94+DqUj6VDV3yqFRJYsfZxUHTqEO7Tg/xyAjyw+LwrX+ue2OOBLkfqEn+fOPkeSIb0c7q2Te5rO1am28E5+LjlxkUJsGzLo03Pf2ykEccwf/qL+XNfGuSY6/m55jrK3headaO961evFy8z90Dd/lkZQSiwS2CqDYuDGy8oBVWJ+PaQv5TLNoSNd5yeghCKaGhjxgLGeKgt+G+lwEXNilwCJeoQZ6D/HmKhN9+2PAKHr+eLeriDB/gdPCcai0BhwadQpr/HRk0m1covIPeq/LY0Zu8Da1yl/pg==
signature_date    : 2022-03-28T22:01:02.006388
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

Lifecycle Milestones for Citrix Workspace app:
https://www.citrix.com/support/product-lifecycle/workspace-app.html

CitrixWorkspaceApp.exe /?
Paramètres pris en charge :
/help               - Affiche ces informations d'utilisation
/uninstall          - Supprime une installation existante
/silent             - Supprime toutes les interfaces utilisateur graphiques
/noreboot           - Supprime tous les redémarrages et invites de redémarrage
/preview - Affiche un aperçu des modifications sans modifier la machine
/extract <dossier> - Extrait un pack auto-extractible sur un dossier existant
/includeSSON        - Installe le composant Single Sign-On pour l'ouverture de session unique au domaine
/EnableCEIP         - Active (true) ou désactive (false) le Programme Citrix d'amélioration de la satisfaction client (CEIP)
/AutoUpdateCheck - Active la mise à jour automatique (auto), active la mise à jour manuelle (manual), interdit la mise à jour automatique (disabled)
/AutoUpdateStream - Spécifie le cycle de mise à jour automatique : Long Term Service Release (LTSR) ou Short Term Service Releases (Current)
/DeferUpdateCount - Spécifie le nombre de fois qu'il est possible de différer la mise à jour automatique

Les valeurs de propriété MSI sont prises en charge et doivent être séparées par des espaces, par ex. :
   PROPERTY="Value" PROPERTY2="Valeur2"

Exemple de ligne de commande silencieuse utilisant toutes les valeurs par défaut :
   CitrixWorkspaceApp.exe /silent

Exemple de ligne de commande spécifiant de multiples options :
   CitrixWorkspaceApp.exe /silent ADDLOCAL="ReceiverInside,ICA_Client,USB,DesktopViewer,WebHelper,BrowserEngine" INSTALLDIR="C:\mondossier" ENABLE_DYNAMIC_CLIENT_NAME="No" CLIENT_NAME="mon_nom_remplacé" DEFAULT_NDSCONTEXT="Contexte1,Contexte2"

Exemple de ligne de commande pour activer l'authentification unique au domaine :
   CitrixWorkspaceApp.exe /silent  /includeSSON ADDLOCAL="ReceiverInside,ICA_Client,SSON,USB,DesktopViewer,WebHelper,BrowserEngine" INSTALLDIR="C:\mondossier" ENABLE_DYNAMIC_CLIENT_NAME="No" CLIENT_NAME="mon_nom_remplacé" DEFAULT_NDSCONTEXT="Contexte1,Contexte2"

Exemple de ligne de commande pour installer le serveur Single Sign-On mais pour désactiver la capture des informations d'identification d'ouverture de session :
   CitrixWorkspaceApp.exe /includesson LOGON_CREDENTIAL_CAPTURE_ENABLE=No [valeur par défaut = Yes]

Exemple de ligne de commande pour installer Citrix Workspace en mode non autonome
   CitrixWorkspaceApp.exe SELFSERVICEMODE=false [valeur par défaut = true]

Exemple de ligne de commande destinée à prendre en charge la mise à niveau de versions non prises en charge vers la dernière version
CitrixWorkspaceApp.exe /RCU

Exemple de ligne de commande pour désactiver le programme CEIP :
   CitrixWorkspaceApp.exe /EnableCEIP=false     [valeur par défaut = true]

Exemple de ligne de commande pour activer la mise à jour manuelle :
CitrixWorkspaceApp.exe /AutoUpdateCheck=manual [valeur par défaut = auto]
Exemple de ligne de commande pour désactiver la mise à jour automatique :
CitrixWorkspaceApp.exe /AutoUpdateCheck=disabled

Exemple de ligne de commande pour choisir un cycle Long Term Service Release :
    CitrixWorkspaceApp.exe /AutoUpdateStream=LTSR
Exemple de ligne de commande pour différer la mise à jour automatique à 2 reprises :
    CitrixWorkspaceApp.exe /DeferUpdateCount=2

UninstallKey                           Software                                                              Version             Uninstallstring
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CitrixOnlinePluginPackWeb              Citrix Workspace 2202                                                 22.2.0.4525         "C:\Program Files (x86)\Citrix\Citrix WorkSpace 2202\TrolleyExpress.exe" /uninstall /cleanup
{483AD12D-597C-4FEF-9BD4-07805F25A438} Self-Service Plug-in                                                  22.2.0.4512         MsiExec.exe /X{483AD12D-597C-4FEF-9BD4-07805F25A438}
{4D46B3A6-67F5-4385-86D2-8E769EA07827} Citrix Screen Casting for Windows                                     19.11.100.48        MsiExec.exe /I{4D46B3A6-67F5-4385-86D2-8E769EA07827}
{4FC9E161-15ED-4B0B-AA7D-75BCD89168AD} Online Plug-in                                                        22.02.0.15          MsiExec.exe /I{4FC9E161-15ED-4B0B-AA7D-75BCD89168AD}
{7DC29796-8D4D-487D-B84F-BAA2C2BDF5DB} Citrix Workspace (USB)                                                22.02.0.15          MsiExec.exe /I{7DC29796-8D4D-487D-B84F-BAA2C2BDF5DB}
{89B4445F-A487-4A8B-9751-084218ADA856} Citrix Workspace Inside                                               22.2.0.4509         MsiExec.exe /I{89B4445F-A487-4A8B-9751-084218ADA856}
{A151881A-C1D8-4FB5-993E-BE24B91F950F} Citrix WorkSpace Browser                                              22.2.1.4            MsiExec.exe /X{A151881A-C1D8-4FB5-993E-BE24B91F950F}
{ECA0F1A0-DB79-46C1-82A1-C123B6B61608} Citrix Workspace (DV)                                                 22.02.0.15          MsiExec.exe /X{ECA0F1A0-DB79-46C1-82A1-C123B6B61608}
{F010EB2B-C3E2-49A4-884E-D0A65C34D63D} Citrix Web Helper                                                     22.2.0.4512         MsiExec.exe /X{F010EB2B-C3E2-49A4-884E-D0A65C34D63D}
{F7179C2E-7F98-4DBE-95F8-612F933D9A6E} Citrix Authentication Manager                                         22.2.1.2            MsiExec.exe /X{F7179C2E-7F98-4DBE-95F8-612F933D9A6E}


"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "CitrixWorkspaceApp"
silentflags = "/AutoUpdateCheck=disabled /EnableCEIP=false /silent /noreboot"
app_uninstallkey = "CitrixOnlinePluginPackWeb"
app_name = "Citrix Reveiver"


def install():
    # Initializing variables
    package_version = control.version.split("-", 1)[0]
    bin_name = glob.glob("*%s*.exe" % bin_contains)[0]

    # Installing the package
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags=silentflags,
        key=app_uninstallkey,
        min_version=package_version,
    )

    # Adding QuietUninstallString for app
    quiet_uninstall_string = installed_softwares(uninstallkey=app_uninstallkey)[0]["uninstall_string"] + " /silent /noreboot"
    register_uninstall(app_uninstallkey, quiet_uninstall_string=quiet_uninstall_string)


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://www.citrix.com/downloads/workspace-app/windows/workspace-app-for-windows-latest.html"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "p", proxies=proxies):
        if bs_search.string:
            if bs_search.string.startswith("Version:"):
                version = bs_search.string.replace("\xa0", " ").split(" ")[1]
                download_url = "https://downloadplugins.citrix.com/ReceiverUpdates/Prod/Receiver/Win/CitrixWorkspaceApp%s.exe" % version
                latest_bin = download_url.split("/")[-1]
                break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin, "FileVersion")
        # if not version_from_file.startswith(version) and version_from_file != '':
        if Version(version_from_file) != Version(version) and version_from_file != "":
            print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
            os.rename(latest_bin, bin_contains + version_from_file + ".exe")
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return result

4df0654fc7c11de40d24c7ca2b96f9c97034c5ba70511568dfe77045a05f2073 : setup.py
2a01f353033d3f9970625910782048ff3fbee5d40cafee1cb91ea58b0672aa2a : CitrixWorkspaceApp22.4.0.55.exe
49bd7b341d8246a4f562cbdd88f92b3e6e719a9347a7d291764f587d5f280deb : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
f0416f0378c0cf85a91ae8953cc07be751edaf3e3b5f7a38f13ab0a3c0f81de6 : luti.json
0f0e1a797655b382de4ec7c239f3e1f0e5b49149a044d8f2b2732d828f4e6d56 : WAPT/control