Silent Install Citrix Workspace App



The Citrix Receiver for Windows is currently an executable that will install the Citrix Receiver with all components, since Microsoft Intune is not supporting to install an executable via MDM we can deploy MSI files to Windows 10 devices. If you ever installed the Citrix Receiver, you know this can be a challenge 😉

Citrix released a support article that describes an ‘recommended way of installing the Citrix Receiver client. What need to be done is to extract the executable and install the 10 MSI files in a certain order.

To install the Citrix Receiver the right way you need to install all MSI files in the following order:

  1. RIInstaller.msi
  2. ICAWebWrapper.msi
  3. GenericUSB.msi
  4. DesktopViewer.msi
  5. CitrixHDXMediaStreamForFlash-ClientInstall.msi
  6. Vd3dClient.msi
  7. AuthManager.msi
  8. SSONWrapper.msi
  9. SelfServicePlugin.msi
  10. WebHelper.msi

Unable to uninstall Citrix Workspace App, so that it can be installed correctly Ask question. We have detected a previous installation of Citrix Workspace App. Provide the path where the Citrix Receiver setup file is present. For example: Tools on SCCM server. Specify Installation program as one of the following: CitrixReceiver.exe /silent for default silent installation. CitrixReceiver.exe /silent /includeSSON to enable domain pass-through. For unattended installation of Workspace app or Receiver, see CTA Dennis Span Citrix Workspace App unattended installation with PowerShell or Citrix Receiver unattended installation with PowerShell. Installer Command Line Switches are detailed at Configure and install Receiver for Windows using command-line parameters at Citrix Docs.

With Microsoft Intune we currently do not have the option to create some kind of sequence of apps that need to be installed or something like application dependencies. If you add all ten MSI’s to Microsoft Intune and deploy them to the Windows 10 devices and they will be installed in a random order. If an MSI fails due to that another one is required. After a long time with many reties of installing the MSI’s, the Citrix Receiver will be installed correctly with all components (MSI’s) in place. But like said it can take a long -random- time before the Citrix Receiver is available.

So what if we could wrap the executable in some kind of MSI? So, I reached out to my CTGLobal colleague Thomas Marcussen to verify if this would be possible. And yes, so it is! With Advanced Installer it is pretty easy to do so, even for someone who created application packages with Zenworks 6.5 and so on, light years ago! ;).

So when using Advanced Installer you need to go to New, Convert and select MSI from EXE(s).

Choose right option in Advanced Installer

Next supply the name of the “product” and the name of the product manufacturer, in this case “Citrix Receiver” and “EMSKings”.

Silent Install Citrix Workspace App Download

Specify where the Project needs to be saved in and where the MSI file needs to be saved and click Next.

Supply the folder locations

Next you need to add the executable and you need to configure the “package” and add the silent switches, Citrix has a support article how to deploy the Citrix Receiver with SCCM. I used the /silent /includeSSON switches.

Click OK and click Next after adding the executable.

Citrix workspace silent install options

The added executable

Click Next after leaving the Package options as default.

Click Finish to create the MSI file.

If you go to the project folder you will see the MSI that has been created.

The created MSI file Family tree for mac download.

Login to the Microsoft Intune on Azure portal (https://portal.azure.com) and browse to Microsoft Intune >> Mobile Apps >> Apps. Click Add to add the Line-of-businessapp, browse to (in this case) the just created ‘Citrix Receiver.msi” and finish the creation of the LOB app.

After the upload of the MSI file has been complete you are able to Assign the application to a group of devices or group of users.

After deploying the MSI, the Citrix Receiver will be installed silently. If you look in the Program and Features of the Control Panel you see two entries, one from the custom MSI we created earlier and one from the Citrix Receiver 4.9 itself.

The installed applications

Citrix Workspace App Command Line Switches

If you want to use this method also via SCCM, use the Windows Installer through MDM (*.msi) Deployment Type and deploy it. The result will be the same!

If you ask me this is for now a great way to install the Citrix Receiver via Microsoft Intune. If you want an easier solution be sure to vote this idea on the User Voice of Microsoft Intune (Sequence of Policy/Applications).

Note: In this blog I used the Citrix Receiver as an example, but converting an executable to MSI, like described above is a good option right now to deploy your legacy apps via Microsoft Intune.

Till next time!

Comments

My Installation (Citrix Receiber Vers 14.1) with Domain Passtrough and no questions for a Konto:

Step 1: Installation Presets for massive mac.

CitrixReceiver.exe /silent /includeSSON /ALLOWADDSTORE=N /ENABLE_SSON=yes STORE0='AppStore;https://YourServer.domain.net/Citrix/Store/discovery;on;HR App Store'

Step 2: Passtrough

You need some registry entries:

'HKEY_LOCAL_MACHINE' 'SOFTWAREPoliciesCitrixICA ClientEngineLockdown ProfilesAll RegionsLockdownLogonLocal Credentials' 'SSOnUserSetting' 'true,false' 'REG_SZ'
'HKEY_LOCAL_MACHINE' 'SOFTWAREPoliciesCitrixICA ClientEngineLockdown ProfilesAll RegionsLockdownLogonLocal Credentials' 'EnableSSOnThruICAFile' 'true' 'REG_SZ'
'HKEY_LOCAL_MACHINE' 'SOFTWAREPoliciesCitrixICA ClientEngineLockdown ProfilesAll RegionsLockdownLogonLocal Credentials' 'UseLocalUserAndPassword' 'true,false' 'REG_SZ'
'HKEY_LOCAL_MACHINE' 'SOFTWAREPoliciesCitrixICA ClientEngineLockdown ProfilesAll RegionsLockdownLogonLocal Credentials' 'LegacyLocalUserNameAndPassword' 'true' 'REG_SZ'
'HKEY_LOCAL_MACHINE' 'SOFTWAREPoliciesCitrixICA ClientEngineLockdown ProfilesAll RegionsLockdownLogonLocal Credentials' 'SSOnCredentialType' 'Any,NT,NDS' 'REG_SZ'
'HKEY_LOCAL_MACHINE' 'SOFTWAREPoliciesCitrixICA ClientSSON' 'Enable' 'true' 'REG_SZ'

Step 4: Disable ask for a konto

Register32 'HKEY_Current_User' 'SOFTWARECitrixReceiver' 'EnableFTU' '0' 'REG_DWORD'

Step 5: You have to add your Storefront Server (Citrix Server) on the Clients Intenet Explorer 'Local Intranet Zone'. I have done it with GPO.

Step 6:I will have the Citrix Application on the startmenue Folder Citrix-Applications:

Register32 'HKEY_LOCAL_MACHINE' 'SOFTWARECitrixDazzle' 'StartMenuDir' 'Citrix-Applications' 'REG_SZ'

Pages help for mac. Thats it!

Uninstall Silent:

CitrixReceiver.exe /uninstall /silent

I have also deletet this Key ( I had some Problems to install citrix again, maybe for the future new version)

HKey_LOCAL_MACHINE' 'SoftwareMicrosoftWindowsCurrentVersionUninstallCitrixOnlinePluginPackWeb