Citrix Online Plugin 12.3 Silent Installation

 

One of our customers needed recently a package for the Citrix Online Plugin, version 12.3. We were given an exe file: CitrixOnlinePluginFull.exe (16.3 MB) made by Citrix System and a list of command line params (they’re not relevant yet).

The EXE file is an archive and contains 6 msi files and some auxiliary tools used during the installation. The installation can be done using the EXE file directly, or by installing the needed MSIs one by one.

 

I. Installation using CitrixOnlinePluginFull.exe

The EXE can be installed and uninstalled silently by using the /silent command line parameter.

A list of parameters can be found on the Citrix’s support website.

The most important are

  • /silent – used to run a silent installation
  • /noreboot – used to prevent a reboot of the machine
  • ADDLOCAL=”features” – selects the features/products to be installed
    • example: ADDLOCAL=”ICA_Client,PN_Agent,SSON,Flash,USB” – this will install the 5 features (out of 6)
  • /uninstall – obviously, used for uninstall
  • Properties can be passed to the MSIs:
    • ENABLE_SSON=yes
    • ENABLE_DYNAMIC_CLIENT_NAME=Yes
    • SERVER_LOCATION=”http://server.location.com”

Please check the full list of parameters in order to see which can be useful if you need to do a silent installation or a package for this.

Cisco claims that THIS is the recommended way to go, because of future possible updates. They might fail if you decide to extract the MSIs or choose a different way. There is, however, an issue with it: there is no repair functionality provided. That means that if something affects the integrity of the software (i.e. deleting certain files from Program Files\Citrix\ICA Client), the setup won’t be able to repair. You can try by removing all the EXEcutables from that folder. What will happen? The re-installation will fail constantly. The uninstallation as well. You’ll be stuck with a non-working citrix client and no way to fix it.

Sometimes, the EXE might fail because its location has a very long path.

That’s why we chose option #2:

 

II. Installation using the extracted MSIs

First, we need to extract everything from the EXE. Use your default compression tool and extract the files in a single folder.

According to Cisco, the MSIs have to be installed in the following order:

  •     ICAWebWrapper.msi
  •     SSONWrapper.msi
  •     GenericUSB.msi
  •     DesktopViewer.msi
  •     CitrixHDXMediaStreamForFlash-ClientInstall.msi
  •     PNAWrapper.msi

For the uninstall, the order has to be reversed (start with PNAWrapper).

You should also know that the MSIs accept extra parameters (properties).

  • ICAWebWrapper.msi – you can pass ENABLE_DYNAMIC_CLIENT_NAME=Yes to it
  • SSONWrapper.msi – it can use ENABLE_SSON=yes
  • PNAWrapper.msi – it uses SERVER_LOCATION=.. and SILENT=1. The latter is used in a custom action launch condition. Set it to 1 if you do not want the process PNAMain.exe to start.

The MSIs have to be launched from a location that has a not too long path. Copying them somewhere on C drive will do the trick. Otherwise, they might fail.

Using this option will give you install/repair/uninstall functionality and more control over the package components.