I think it is working now, I added the Install Check script as mentioned above.
In the beginning it kept removing, and reinstalling over and over. I think it was some delay in the install check script.
Just change VERSION number, and try. Hope it works ![]()
#!/bin/zsh
if [ -f /Applications/GlobalProtect.app/Contents/Info.plist ]
then
VERSION=$(/usr/bin/defaults read /Applications/GlobalProtect.app/Contents/Info.plist CFBundleShortVersionString) ;
if [ $VERSION = "5.1.0-75" ]
then
echo $VERSION
echo "Correct Version Installed - No Install Needed"
exit 1 ;
else
echo $VERSION
echo "Wrong Version - ReInstall"
exit 0 ;
fi
else
echo "Install Required"
echo "Info.plist Not Found"
exit 0 ;
fi