Skip to content

Instantly share code, notes, and snippets.

@dderusha
Created August 24, 2015 16:10
Show Gist options
  • Save dderusha/049dcbef8a09587dcc22 to your computer and use it in GitHub Desktop.
Save dderusha/049dcbef8a09587dcc22 to your computer and use it in GitHub Desktop.
Adobe CCP Packages Installed with the Casper Suite via Self Service or at imaging time - set script to after - Script installs package when user logs in
#!/bin/sh
####################################################################################################
#
# written by Dan De Rusha, revised 2-11-15 for Creative Cloud Standard install from Self Service and imagaing
#
####################################################################################################
# Variables used for logging
logFile="/private/var/log/Adobe_CC_STD_11_20_14_Install.log"
####################################################################################################
#
# LOGGING FUNCTION
#
####################################################################################################
log () {
echo $1
echo "$(date "+%Y-%m-%d %H:%M:%S: ") $1 >> $logFile"
}
log "Installing AdobeCC.pkg ......"
### Replace Adobe_CC_STD.pkg with the name of your installer package.
sudo jamf install -path /Users/Shared -package Adobe_CC_STD.pkg
log "Package Successfully Installed Adobe_CC_STD_11_20_14_Install.pkg"
sudo jamf displayMessage -message "Soups Done! Package Successfully Installed Adobe Creative Cloud Standard"
### Replace Adobe_CC_STD.pkg with the name of your installer package.
/bin/rm -R /Users/Shared/Adobe_CC_STD.pkg
log "Package Removed"
Exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment