Uninstall and install Citrix receiver.
-
@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.exe
might accept arguments such as-mammals
or-Continent
and might also accept-habitat
or-outputFile
If we try to create a snapin for this EXE, it would look something like this:
-
Also I updated the wiki with this example: https://wiki.fogproject.org/wiki/index.php?title=Snapin_Examples
-
@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.
Thank You.
-
@msi Honestly I have no idea - every EXE is different. Try passing
/?
or?
or-help
as 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. -
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.
-
@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 /silentHere is the link if you decided to read: https://support.citrix.com/article/CTX137494
-
@msi Well, then that makes things easy. Just upload your exe and add the /silent argument.
-
@Avaryan hi!
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. -
/silent should be in the Snapin Arguments field.
-
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).
-
@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.