Product Documentation

To deploy the Offline Plug-in using the command-line

Dec 17, 2015
To deploy the Offline Plug-in to user devices, use Microsoft System Management Server (SMS) or Microsoft Active Directory Services.

See for instructions about how to use these products to deploy applications.

To deploy the plug-in using command-line parameters, use the following steps:

  1. On the computer where you want to install the Plug-in package, type the following at a command prompt to open the Offline Plug-in file and extract the CitrixOfflinePlugin.msi file:

    “[path]/CitrixOfflinePlugin.exe” /C:”setup [Options]”

    where path is the location of the .exe file.

  2. Set the options. [Options] can be any of the traditional MSI command-line parameters. Set your extraction options as needed. Examples of parameters that are supported:
    • /Q suppresses the extraction dialog box.
    • /T: full path specifies the temporary working folder in which to extract the files.
    • /C extracts files only to the folder when used also with /T. Use this only if you are not including a command-line.
    • /C:[Cmd ] overrides the install command, where Cmd is the command-line that runs after extracting the files to the temporary folder.

      For Cmd, set command-line properties as needed. The following properties are supported to set the user interface level and other options:

      • /qn executes a completely silent installation; no user interface.
      • /qb shows simple progress and error handling; a basic user interface.
      • /qf shows a full user interface (default).
      • /qr shows a reduced user interface.
      • /l ““[logfile]”” creates a verbose install log where logfile is the path and filename for where to save the log. Use double double-quotes for a path with spaces.
      • /norestart prevents restarting of the user device following the installation.
      • /restart initiates a restart automatically (without prompting) upon successful completion of the installation.

Locations with spaces must be enclosed with quotes; however, only single sets of double quotes are allowed, and nested double quotes causes the command to fail. In cases where a nested quote is required inside the double quotes, use double double-quotes on each end of the expression.

Type the following at a command prompt, where package is the name of the Windows Installer installation package and TransformList is the list of the transforms that you want to apply:

CitrixOfflinePlugin /I package TRANSFORMS=[TransformList].mst

If you are applying multiple transforms, separate each transform with a semicolon.

The following examples demonstrate valid command-lines:

  • To simply extract files: “path\ CitrixOfflinePlugin.exe” /C /T:“c:\Documents and Settings\Administrator\Desktop\Streaming Client”
  • To run a silent install with no options: “path\ CitrixOfflinePlugin.exe” /C:“setup /qr”
  • To add some options: “path\X CitrixOfflinePlugin.exe” /C:“setup /qr INSTALLDIR=““C:\Program Files\Citrix\Streaming Client”” /norestart /l ““c:\Log Files\streaming.log”””
  • With some options and a transform: “path\ CitrixOfflinePlugin.exe” /C:“setup /qr INSTALLDIR=““C:\Program Files\Citrix\Streaming Client”” /norestart /l ““c:\Log Files\streaming.log”” TRANSFORMS=““C:\some_transform.mst”””

Silent Offline Plug-in removal

Offline Plug-ins can be silently removed using the following command:

Use the following command for automatic restart after uninstall:

msiexec /x XenAppStreaming.msi /qn /forcerestart

Or, use the following command for no restart after uninstall:

msiexec /x XenAppStreaming.msi /qn