Skip to content

Instantly share code, notes, and snippets.

@mikethehill
Created August 7, 2018 16:46
Show Gist options
  • Select an option

  • Save mikethehill/33746ead667193402dc3fd2fcb9242eb to your computer and use it in GitHub Desktop.

Select an option

Save mikethehill/33746ead667193402dc3fd2fcb9242eb to your computer and use it in GitHub Desktop.
#!/bin/bash
# Webroot installation script
# Download latest .dmg from Webroot
curl -o /tmp/wsamacsme.dmg http://anywhere.webrootcloudav.com/zerol/wsamacsme.dmg
# Mount disk image
hdiutil attach -noautoopen /tmp/wsamacsme.dmg; ditto /Volumes/Webroot\ SecureAnywhere /Applications/; diskutil list | grep Webroot\ SecureAnywhere | diskutil unmount /Volumes/Webroot\ SecureAnywhere
# Install with client specific keycode
/Applications/Webroot\ SecureAnywhere.app/Contents/MacOS/Webroot\ SecureAnywhere install -keycode=[INSERT KEYCODE HERE] -language=en -silent
# Clean up
rm -rf /tmp/wsamacsme.dmg
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment