Trying to install/update Webroot through scripts in Jamf.
We once had a script that worked very well but seems with Catalina no longer works even if it's updated with new links.
This is the old script:
#!/bin/sh
#set -x
#Set Keycode for Clients
KEY=<Keygoeshere>
#Proxy Settings
host=X
port=Y
user=Z
password=ZZ
sleep 2
clear
#Download WSA mac client
cd /tmp; curl -O http://anywhere.webrootcloudav.com/zerol/wsamacsme.dmg
echo Please wait while file is downloaded and mounted
wait 15
#Mount the DMG file
hdiutil attach -nobrowse /tmp/wsamacsme.dmg
#copy app from dmg to applications
sudo cp -R /Volumes/Webroot SecureAnywhere/Webroot SecureAnywhere.app /Applications/
wait 10
#run silent install if no proxy (If running a Proxy Hash out this command)
sudo "/Applications/Webroot SecureAnywhere.app/Contents/MacOS/Webroot SecureAnywhere" install -keycode=$KEY -language=en -silent
#If running a proxy unhash this command
#sudo "/Applications/Webroot SecureAnywhere.app/Contents/MacOS/Webroot SecureAnywhere" install -keycode=$KEY -language=en –silent -proxy_auth=auth_basic_1 -proxy_auth=auth_any_0 -proxy_host=$host -proxy_port=$port -proxy_user=$user -proxy_pass=$password
wait 30
#Unmount the DMG
diskutil list | grep Webroot SecureAnywhere | diskutil unmount /Volumes/Webroot SecureAnywhere
#Remove the DMG
rm -rf /tmp/wsamacsme.dmg
I tried using the old script and reinstalling because in another thread someone had mentioned the old link will download the newest version once the key is inserted but the installer itself appears to hang when opened.
I switched the link to the new link (provided by webroot) but the script fails once the installer is opened. Everything is run in the background so its unknown to me why the installer exits without installing.
New link: https://download.webroot.com/9.1.2.69_SME/WSAMACSME.dmg