Created
August 24, 2015 16:10
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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