Deploy
You can deploy the Citrix Workspace app in the following methods:
- Use Active Directory and sample startup scripts to deploy the Citrix Workspace app for Windows. For information about Active Directory, see Using Active Directory and sample scripts.
- Before launching workspace for web, install the Citrix Workspace app for Windows. For more information, see Using workspace for web.
- Use an Electronic Software Distribution (ESD) tool like the Microsoft System Center Configuration Manager 2012 R2. For more information, see Using System Center Configuration Manager 2012 R2.
- Use Microsoft Endpoint Manager (Intune). For more information, see Deploy Citrix Workspace app in Microsoft Endpoint Manager (Intune).
Using Active Directory and sample scripts
You can use Active Directory Group Policy scripts to deploy Citrix Workspace app based on your organizational structure. Citrix recommends using the scripts rather than extracting the .msi files. For general information about startup scripts, see the Microsoft documentation.
To use the scripts with Active Directory:
- Create the Organizational Unit (OU) for each script.
- Create a Group Policy Object (GPO) for the newly created OU.
For information on creating OU in an Azure Active Directory, see Create an Organizational Unit (OU) in an Azure Active Directory Domain Services managed domain.
Edit scripts
Edit the scripts with the following parameters in the header section of each file:
-
Current Version of package - The specified version number is validated and if it isn’t presented, the deployment proceeds. For example, set
DesiredVersion= 3.3.0.XXXX
to exactly match the version specified. If you specify a partial version, for example, 3.3.0, it matches any version with that prefix (3.3.0.1111, 3.3.0.7777, and so on). - Package Location/Deployment directory - This specifies the network share containing the Citrix Workspace app installer packages and is not authenticated by the script. The shared folder must have Read permission set to EVERYONE.
- Script Logging Directory - The network share where the install logs are copied and the ones that script didn’t authenticate. The shared folder must have Read and Write permissions for EVERYONE.
- Package Installer Command Line Options- These command-line options are passed to the installer. For the command-line syntax, see Using command-line parameters.
Scripts
Citrix Workspace app installer includes the sample of both per-computer and per-user scripts to install and uninstall Citrix Workspace app. The scripts are present in the Citrix Workspace app for Windows Downloads page.
Deployment type | To deploy | To remove |
---|---|---|
Per-computer | CheckAndDeployWorkspacePerMachineStartupScript.bat |
CheckAndRemoveWorkspacePerMachineStartupScript.bat |
Per-user | CheckAndDeployWorkspacePerUserLogonScript.bat |
CheckAndRemoveWorkspacePerUserLogonScript.bat |
To add the startup scripts:
- Open the Group Policy Management Console.
- Select Computer Configuration or User Configuration > Policies > Windows Settings > Scripts.
- In the right-hand pane of the Group Policy Management Console, select Logon.
- Select Show Files, copy the appropriate script to the folder displayed, and close the dialog.
- In the Properties menu, click Add and Browse to find and add the newly created script.
To deploy Citrix Workspace app for Windows:
- Move the user devices assigned to receive this deployment to the OU that you created.
- Reboot the user device and log on.
- Verify that the newly installed package is listed in the Program and Features.
To remove Citrix Workspace app for Windows:
- Move the user devices chosen for removal to the OU you created.
- Reboot the user device and log on.
- Verify that the newly installed package isn’t listed in the Program and Features.
Using workspace for web
The workspace for a web enables you to access StoreFront stores through a browser using a webpage.
Before connecting to an app from a browser, do the following:
- Install the Citrix Workspace app for Windows.
- Deploy the Citrix Workspace app from workspace for web
If workspace for web detects that a compatible version of Citrix Workspace app isn’t present, a prompt appears. The prompt shows that you must download and install Citrix Workspace app for Windows.
Note:
The workspace for the web does not support email-based account discovery.
Use the following configuration to prompt for the server address only.
- Download
CitrixWorkspaceApp.exe
to your local computer. - Rename
CitrixWorkspaceApp.exe
toCitrixWorkspaceAppWeb.exe
. - Deploy the renamed executable using your regular deployment method. If you use StoreFront, see Configure StoreFront using the configuration files in the StoreFront documentation.
Using System Center Configuration Manager 2012 R2
You can use Microsoft System Center Configuration Manager (SCCM) to deploy Citrix Workspace app.
You can deploy the Citrix Workspace app using the SCCM using the following four parts:
- Adding Citrix Workspace app to the SCCM deployment
- Adding distribution points
- Deploying the Citrix Workspace app to the software center
- Creating Device Collections
Adding Citrix Workspace app to the SCCM deployment
-
Copy the downloaded Citrix Workspace app installation folder to a folder on the Configuration Manager server and launch the Configuration Manager console.
-
Select Software Library > Application Management. Right-click Application and click Create Application. The Create Application wizard appears.
-
In the General pane, select Manually specify the application information and click Next.
-
In the General Information pane, specify the application information, such as Name, Manufacturer, Software version.
-
In the Application Catalog wizard, specify additional information such as Language, Application name, User category and so on and click Next.
Note:
Users can see the information that you specify here.
-
In the Deployment Type pane, click Add to configure the deployment type for Citrix Workspace app setup.
The Create Deployment Type wizard appears.
- In the General pane: Set the deployment type to Windows Installer (*.msi file), select Manually specify the deployment type information, and click Next.
- In the General Information pane: Specify deployment type details (For example: Workspace Deployment) and click Next.
-
In the Content pane:
- Provide the path where the Citrix Workspace app setup file is present. For example: Tools on SCCM server.
- Specify Installation program as one of the following:
-
CitrixWorkspaceApp.exe /silent
for default silent installation. -
CitrixWorkspaceApp.exe /silent /includeSSON
to enable domain pass-through. -
CitrixWorkspaceApp.exe /silent SELFSERVICEMODE=false
to install Citrix Workspace app in non-Self Service Mode.
-
- Specify Uninstall program as
CitrixWorkspaceApp.exe /silent /uninstall
(to enable uninstallation through SCCM).
-
In the Detection Method pane: Select Configure rules to detect the presence of this deployment type and click Add Clause. The Detection Rule dialog appears.
- Set Setting Type to File System.
- Under Specify the file or folder to detect the application, set the following:
- Type – From the drop-down menu, select File.
-
Path –
%ProgramFiles(x86)%\Citrix\ICA Client\Receiver\
-
File or folder name –
receiver.exe
- Property – From the drop-down menu, select Version
- Operator - From the drop-down menu, select Greater than or equal to
- Value - Type version number of the current Citrix Workspace app
Note:
This rule combination applies to Citrix Workspace app for Windows upgrades as well.
-
In the User Experience pane, set:
- Installation behavior - Install for system
- Logon requirement - Whether a user is logged on
- Installation program visibility - Normal Click Next.
Note:
Do not specify any requirements and dependencies for this deployment type.
-
In the Summary pane, verify the settings for this deployment type. Click Next.
A success message appears.
-
In the Completion pane, a new deployment type (Workspace Deployment) is listed under the Deployment types.
- Click Next and click Close.
Add distribution points
-
Right-click Citrix Workspace app in the Configuration Manager console and select Distribute Content.
The Distribute Content wizard appears.
-
In the Content Distribution pane, click Add > Distribution Points.
The Add Distribution Points dialog appears.
-
Browse to the SCCM server where the content is available and clicks OK.
In the Completion pane, a success message appears
-
Click Close.
Deploy Citrix Workspace app to the software center
-
Right-click Citrix Workspace app in the Configuration Manager console select Deploy.
The Deploy Software wizard appears.
-
Select Browse against Collection (can be Device Collection or User Collection) where the application is to be deployed and click Next.
-
In the Deployment Settings pane, set Action to Install and Purpose to Required (enables unattended installation). Click Next.
-
In the Scheduling pane, specify the schedule to deploy the software on target devices.
-
In the User Experience pane, set the User notifications behavior; select Commit changes at deadline or during a maintenance window (requires restart) and click Next to complete the Deploy Software wizard.
In the Completion pane, a success message appears.
Reboot the target endpoint devices (required only to start installation immediately).
On endpoint devices, Citrix Workspace app is visible in the Software Center under Available Software. Installation is triggered automatically based on the configured schedule. You can also schedule or install on demand. The installation status is displayed in the Software Center after the installation starts.
Creating device collections
-
Launch the Configuration Manager console and click Assets and Compliance > Overview > Devices.
-
Right-click Device Collections and select Create Device Collection.
The Create Device Collection wizard appears.
-
In the General pane, type the Name for the device and click Browse to select the limiting collection.
This determines the scope of devices, which can be one the default Device Collections created by SCCM. Click Next.
-
In the Membership Rules pane, click Add Rule for filtering the devices.
The Create Direct Membership Rule wizard appears.
- In the Search for Resources pane, select the Attribute name based on the devices you want to filter and provide the Value for Attribute name to select the devices.
-
Click Next. In the Select Resources pane, select the devices that are required to be part of the device collection.
In the Completion pane, a success message appears.
-
Click Close.
-
In the Membership rules pane, a new rule is listed under Click Next.
-
In the Completion pane, a success message appears. Click Close to complete the Create Device Collection wizard.
The new device collection is listed in Device Collections. The new device collection is a part of the Device Collections while browsing in the Deploy Software wizard.
Note:
Configuring Citrix Workspace app using SCCM might fail when the MSIRESTARTMANAGERCONTROL attribute is set to False. As per our analysis, Citrix Workspace app for Windows is not the cause of this failure. Also, retrying might yield successful deployment.
Deploy Citrix Workspace app in Microsoft Endpoint Manager (Intune)
To deploy Citrix Workspace app – native Win 32 app in Microsoft Endpoint Manager (Intune), do the following:
-
Create the following folders:
-
A folder to store all the source files required for the installation, for example,
C:\CitrixWorkspace_Executable
. -
A folder for the output file. Output files are in
.intunewin
file, for example,C:\Intune_CitrixWorkspaceApp
. -
A folder for the Microsoft Win32 Content Prep Tool, for example,
C:\Intune_WinAppTool
. This tool helps to convert the installation files into the.intunewin
format. You can download the packaging tool from Microsoft-Win32-Content-Prep-Tool.
-
-
Convert all the source files that are needed for the installation to a
.intunewin
file:- Launch the command prompt and go to the folder, where the Microsoft Win32 Content Prep Tool exists, for example,
C:\Intune_WinAppTool
. - Run the
IntuneWinAppUtil.exe
command. - On the prompt, enter the following information:
-
Source folder:
C:\CitrixWorkspace_Executable
-
Setup file:
CitrixWorkspaceApp.exe
-
Output folder:
C:\Intune_CitrixWorkspaceApp
The.intunewin
file is created.
-
Source folder:
- Launch the command prompt and go to the folder, where the Microsoft Win32 Content Prep Tool exists, for example,
-
Add the package to Microsoft Endpoint Manager (Intune):
-
Open the Microsoft Endpoint Manager (Intune) console:
https://endpoint.microsoft.com/#home
.Note:
The following instruction can be performed only on
https://endpoint.microsoft.com/#home
. You can also add the package throughhttps://portal.azure.com
. - Click Apps > Windows app and then click +Add.
- Select Windows app (Win 32) from the App type drop-down list.
- Click App package file, locate the CitrixWorkspaceApp.intunewin file, and then click OK.
- Click App information and fill in the mandatory information, Name, Description, and Publisher and then click OK.
- Click Program, enter the following information, and click OK:
- Install command:
CitrixWorkspaceApp.exe /silent
- Uninstall command:
CitrixWorkspaceApp.exe /uninstall
- Install behavior: System
- Install command:
- Click Requirement, enter the required information, and then click OK.
Note:
Select both x64 and x32 from the Operating System Architecture list. Operating System version can be anything with Win 1607 and later.
- Click Detection rules, select Manually configure detection rules as the Rules format, and then click OK.
- Click Add, select the required Rule type, and then click OK.
- If Rule type is File then the path can be, for example,
C:\Program Files (x86)\Citrix\ICA Client\wfica32.exe
. - If Rule type is Registry, then enter
HKEY_CURRENT_USER\Software\Citrix
as Path and Key exists as the Detection method.
- If Rule type is File then the path can be, for example,
- Click Return codes, check if the default return codes are valid and then click OK.
- Click Add to add the app to Intune.
-
-
Verify if the deployment is successful:
- Click Home > Apps > Windows.
-
Click Device install status.
Device status displays the number of devices where Citrix Workspace app is installed.