The latest in my series of scripts script talks you through how to install Citrix Workspace for macOS using JumpCloud Commands. It follows the same structure to all the other commands I have posted. It starts by creating a temp repo on the mac, downloads the latest version, mounts, installs, and removes the temp files. It does all of this silently in the background without your users knowing. Simple but effective.
How to Install Citrix Workspace for macOS using JumpCloud Commands
# Script to download, Silent Install and then clean up once installed Citrix WorkSpace # Writen by twitter.com/richhickson # www.RichardHickson.com #Make temp folder for downloads. mkdir "/tmp/citrix/"; cd "/tmp/citrix/"; #Download Citrix WorkSpace. curl -L -o /tmp/citrix/CitrixWorkspaceApp.dmg "https://downloads.citrix.com/18878/CitrixWorkspaceApp.dmg?__gda__=1608027774_8c4fe7347d57963bd8e3b2112eed90d5"; #Mount DMG hdiutil attach /tmp/citrix/CitrixWorkspaceApp.dmg -nobrowse; #Install sudo installer -pkg /Volumes/Citrix\ Workspace/Install\ Citrix\ Workspace.pkg -target /; #Unmount DMG hdiutil detach /Volumes/Citrix\ Workspace/ -force; #Tidy Up sudo rm -rf /tmp/citrix/