Uninstall and install Citrix receiver.
In our company, we use Citrix receiver. once in a while, when we have to upgrade the receiver, we need to run receiver cleanup utility and then install the latest Citrix receiver. I saw the tutorial for InstallRite and tried to use it, but it stops responding in the middle of building the package. I fond that the software has been discontinued. Both the application are in .exe format. How can I use snapin to deploy these applications to in my client machines?
@Wayne-Workman It works. At the end, it is very simple. I just uploaded the .exe file and added /silent under Snapin Arguments. It works very smoothly. Just for future reference for other users, installing Citrix receiver is also slimier method. ie. CitrixReceiver.exe /silent.
Thank you all.
also, no cmd.exe should be included here. This executable you are working with is already an exe (See the example I posted earlier in this thread).
/silent should be in the Snapin Arguments field.
I have fog version 1.4.2. should I leave Snapin Type and Snapin Template as it is and add /silent under "Snapin Run With Argument? I also put cmd.exe for Snapin Run With.
@msi Well, then that makes things easy. Just upload your exe and add the /silent argument.
@Wayne-Workman @Avaryan Hi Guys, just wanted to thank you for your response. I tried both methods, but it didn’t work. According to Citrix, it does support silent or unattended mode and can be run in unattended mode if desired using the /silent command line option. For example,
C:/> ReceiverCleanupUtility.exe /silent
Here is the link if you decided to read: https://support.citrix.com/article/CTX137494
So, in case your application doesn’t support silent installation, you might want to look into something like AppDeploy. This will take a snapshot of your PC before you install the application and then another after you install it and then try to build an installer for that application.
I’ve had some success with it. Won’t work for everything.
@msi Honestly I have no idea - every EXE is different. Try passing
-helpas an argument, see what it does. At any rate, it must have a silent or unattended mode or it will not work as a snapin.
@Wayne-Workman Thank you for your response . I am not familiar with arguments like above. Once you open that application, it opens up the command prompt and asks to press any key to continue. After its done uninstalling the citrix receiver and clearing the registry, it asks to press Y or N to upload the Receiver Clean-Up utility logs to Citrix. Do you think above argument will work with this? I will give you an update after I try your given scenario.
Also I updated the wiki with this example: https://wiki.fogproject.org/wiki/index.php?title=Snapin_Examples
@msi Yes you can. The arguments would be whatever arguments the EXE itself accepts - this is different for every EXE.
For example an exe called
writeAnimals.exemight accept arguments such as
-Continentand might also accept
If we try to create a snapin for this EXE, it would look something like this:
@msi I don’t know. I don’t know what arguments are available to the exe itself. This should be documented by the EXE creator.
@Tom-Elliott I saw a youtube video created by @Wayne-Workman to install a .msi format application with msiexec.exe with /quiet snapin argument. Would it be possible for the application with .exe extension?
I think we need more information.
Snapins just “run” things. There’s no special way to do things. The 1.3.x + versions of fog come with a basic template for common usages.
Of note, snapins run as the SYSTEM user. Snapins cannot interact with the desktop, so the installers must use a “silent” mode of installation.