Posted on 06-23-2015 05:48 PM
Hello, I am using the script from MacMule to deploy our Okta SSO extension to our safari browsers. It appears the script is succeeding on macbook pro's, but is failing on iMac machines. The script is below as well as the error output. Can anyone shed any light on the specific error message i am getting? Safari does properly launch if its not running on a macbook pro....
pathToExtension="/private/tmp/okta.swa.safari-5.1.5-3.safariextz"
if [ "$4" != "" ] && [ "$pathToExtension" == "" ];then
pathToExtension=$4
fi
if [ "$pathToExtension" == "" ]; then
echo "Error: No value was specified for the pathToExtension variable..."
exit 1
fi
osascript -e 'tell application "Safari"
activate
end tell'
osascript -e 'tell application "Safari"
open "'"$pathToExtension"'"
end tell'
exit 0}
Executing Policy Okta Safari Browser Extension...
Downloading https://kibsdjss.kibsd.org/Packages/okta.swa.safari-5.1.5-3.safariextz.dmg...
Verifying DMG...
Installing okta.swa.safari-5.1.5-3.safariextz.dmg...
Closing package...
Running script OktaSafariExtension.sh...
Script exit code: 0
Script result: 24:36: execution error: An error of type -10810 has occurred. (-10810)
24:83: execution error: Safari got an error: Application isn’t running. (-600)
Posted on 01-04-2018 02:52 PM
@spowell01 hey I saw you are using this. were you able to deploy this as a silent install?