Please refer to the steps below on how to use PowerShell Script to Deploy / Upgrade Citrix Receiver in Windows 7 x64 Machines
- Cannot Install Citrix Receiver The Installer Detects
- Cannot Install Citrix Receiver Without
- Can't Uninstall Citrix Receiver
- Cannot Install Citrix Receiver Windows 10
- Can't Install Citrix Receiver
Go to Citrix website and download 12.9.1. Also download the auto updater. Open Citrix installer and choose the 'Remove Citrix Receiver' option to remove all elements of previous version. Once completed, choose 'Install Citrix Receiver' to re-install. It will open as 'Citrix Workspace' Once completed, open the AutoUpdater download and install. Was there an error in deploying citrix or did the install just hang without doing anything? If the latter was the case it is generally due to an incorrect parameter being passed, often the silent parameter. In PDQ Deploy will you select (highlight) the installer and go to File Export. Please send us the file that is generated. Citrix downloads offers 2 ways to download, if using Download Manager (DM), a pop-up box displays for the DM to install. If pop-ups are blocked, DM cannot install the software. If there are multiple programs running on the computer or laptop, resources can be limited, this can cause the download to stall. I cannot install any Citrix Online Plugin or Reciever. Below is logs where it stops: 20:36:03: Information - CApp::IsDotNetFrameworkIns talled(964 ) - The.NET 3.5 SP1 Framework was found.
Ans - Citrix Receiver is a component that needs to be installed to access Citrix Applications and Desktops from a Mac device, without installing receiver you won’t be able to access. Q3 - What is the need of Device’s User name and Password?
- Please download Citrix Receiver 4.9 LTSR – I did try to install Citrix Receiver 4.12 but obviously it seem like having bug with Windows 7 and cannot be installed successfully
- Use the following PowerShell Script to detect whether Citrix Receiver is installed
If it is NOT installed previously, it will install Citrix Online Plugin 12.3 Update 4 silently from Network Share Driver which had been End of Support (EOL) to simulate the upgrade from Citrix Online Plugin 12.3 U4 to Citrix Receiver 4.9 LTSR
- Use the following PowerShell Script to detect whether Citrix Receiver is installed and the version is less than 12.4 (Citrix Online Plugin = 12.3)
Cannot Install Citrix Receiver The Installer Detects
When the Script run silently, it will remove the installed Citrix Online Plugin 12.3 and install Citrix Receiver 4.9 LTSR Automatically
- Assign the PowerShell Script as Computer Startup Script in AD to install / upgrade to Citrix Receiver 4.9 in Windows 7 x64 machines
- 917
- Citrix , Login Automation Machine , PowerShell ,
- 26 Mar
At one of my customers, I am upgrading the Citrix XenApp environment to the latest Long Term Service Release (LTSR). In this case, I am upgrading the Citrix Virtual Delivery Agent (VDA) to 7.15 LTSR and the Citrix Receiver to version 4.9 LTSR.
The customer has Current Release (CR) installed and needed to be upgraded. It was decided to upgrade to the latest LTSR versions because of the 5 years support cycle.
However, in this blog post, I focus on the installation of the Citrix Receiver with the help of Login Automation Machine (Login AM). To successfully install the Citrix Receiver there are some tricks and tweaks needed. In this bog I will give a solution and a possible explanation.
Unattended install
The first step is to find out if it is possible to install the Citrix Receiver in an unattended way. Citrix has built the installer in a way that the Citrix Receiver can be installed unattended. In addition, Citrix is so kind to provide us with the necessary information, for more, please click here.
The command I used is:
In Login AM, this translates to the following:
Waiting for other Login AM event to finish
After starting a deployment reboot of the test server, I ended up with the following error: “Waiting for other AM event to finishing”
To find out the reason, the log files are a good place to start. To open the log files of the Citrix installer, go to the following folder:
In the “TrolleyExpress” log, the last entry is about the “ICAWebwrapper.msi”. This Microsoft Installer (MSI) has been started, however, it never finished. If we open the corresponding log, it shows that the “ICAWebwrapper.msi” is trying to execute a custom action. Apparently, that custom action is not working and the installation is on a hold and will never finish.
Extract the receiver installer
The Citrix Receiver installation file is a wrapper and is extractable. After extracting, there will be ten separate MSI installer files. For more information how to do this, click here.
This results in a collection of MSI files:
To install the Citrix Receiver in a correct way, Citrix advises to install all the MSI in a special order with some parameters. Thus, for every MSI installer I created a Microsoft Transform (MST) file. For example, with a program called Orca, it is possible to generate a MST file. For more information about Orca, please click here.
With Orca, I added the Citrix recommended properties to the property table and some extra properties I always use when I am making customizations:
- REBOOT=ReallySuppress
- ROOTDRIVE=C:
- REBOOTPROMPT-Suppress
- SILENT=1
- MSIDISABLERMRESTART=0
- MSIRESTARTMANAGERCONTROL=0
- NEED_RECEIVER=n
- TROLLEYINSTALL=1
- ALLUSERS=1
- DONOTSTARTCC=1
- AutoUpdateCheck= disabled
- Enable_SSON=yes
- EnableCEIP=false
- ALLOWADDSTORE=n
I am using the “DONOTSTARTCC” property in the MST file because In a Citrix support document, the “DONOTSTARTCC” property is recommended for installations that are carried out with Group Policy Objects (GPO) and System Center Configuration Manager (SCCM) for example. For more information, please click here.
To install the Citrix Receiver, use for every extracted MSI and created MST the following command:
After putting the commands needed to install the Citrix Receiver into Login AM, the installation process is started. Again, the installation process hangs with the same message. The log files show the same problem.
Concluding from the logging, I could try at least two options:
- Change the custom action in the MSI table that is causing the problem
- Because the custom actions could not finish, install the Citrix Receiver under the system account.
Changing the custom actions table
Earlier, the logging of the installation process showed that the installation was stuck when the ICAWebWrapper.msi was installed. During the installation, there are several custom actions trying to launch a sub process. Because this was not working, I decided to change the custom actions that are responsible for launching this sub process. With the adaptations, the custom actions should not launch any sub process anymore during the installation process. Unfortunately, this did not help and the installation process was stuck on the same error again.
No time to be gentle anymore. I removed the custom actions shown in the Citrix Receiver installer logs and tried to install the Receiver again. Now, this was successful. The Citrix Receiver installed without problems, but as it turned out, the Single-Sign-On option was not working properly. Everything looked fine but apparently, the custom actions I removed were doing more than just starting a sub service.
System account
Cannot Install Citrix Receiver Without
The last option is to install the Citrix Receiver with the system account. Login AM uses its own service account that is comparable with a normal account that is dedicated to Login AM. However, the system account has more rights and is comparable to a Linux root account.
PsExec
First, it is needed to run the installer under the system account. That can be done with PsExec. PsExec is part of the PsTools package. For more information and a download link, click here.
The PowerShell script is starting PsExec with all the arguments needed to run it in the background. PsExec will, in return, start the command under system account to install the Citrix Receiver.
The PowerShell code:
Success
In Login AM, the PowerShell script, the PsExec.exe file, and the Citrix Receiver installation file will be copied to the local disk of the target machine. Login AM will start the PowerShell script from the targeted machine and the Citrix Receiver will be installed under the system account. In Login AM, it looks like this:
Can't Uninstall Citrix Receiver
Uninstall older installations
Cannot Install Citrix Receiver Windows 10
The Citrix Receiver installation automatically uninstalls older Citrix Receiver installations. In this case, the Citrix Receiver Cleanup tool should be used. We want to end with exit code 0. If the Citrix Cleanup tool is not used, the installation will end with exit code: 3010 (A Reboot is required.) As a result, PsExec will stay active in the background and Login AM will give you the following message: “Waiting for other AM event to finish”.
Can't Install Citrix Receiver
Now the installation is working like a charm. I can only conclude that the newer Citrix Receiver installation files need to be installed under system account because of the custom actions present inside the “ICAWebwrapper.msi”. Also, colleagues who are using SCCM or GPO didn’t come across any issues and these installation tools are all using the system account to install software.