Zoom Scripted Install
- Noah Cunning
- Oct 27, 2020
- 1 min read
This script will automatically download the latest zoom version and install it. I use this script in a policy that run weekly for my Jamf installation. This ensures my users stay on the latest version without the need for them to enter in administrative credentials.
This can be easily adapted to other installers if needed.
I use variables to specify the name of the package downloaded and the url to download the package from. You can use plain text if you prefer in the commands instead. I do it this way so that it is easier to repurpose the script. If you run this script not using an MDM you will need to add sudo to the line with the installer command.
#!/bin/bash
#Created by Noah Cunning. noahcunning.com
pkgfile="ZoomInstallerIT.pkg"
url='https://zoom.us/client/latest/ZoomInstallerIT.pkg'
cd /tmp
/usr/bin/curl -L -O $url
killall zoom.us
/usr/sbin/installer -pkg "$pkgfile" -target /
exit 0
Comments