![]() I also want to avoid installing the current if someone has installed the beta version 13. The output appears like this in the JSS: App Ver- Adobe Flash Player:12.0.0.44įor my smart group, I only want to target devices that have Flash Player and not install it if the user uninstalled it themselves. If thenįlashPluginVersion=`/usr/bin/defaults read /Library/Internet Plug-Ins/Flash ugin/Contents/Info CFBundleVersion` ![]() #Extension Attribute checks to display Adobe Flash Player Version number I don't have "Collect Plug-ins" enabled on our JSS.ĭisplay Name: App Ver- Adobe Flash Player It's very similar to the one posted by JHBush1973. This is the extension attribute I have been using for several years. ![]() Print "Oracle Java is blocked and must be updated to "+minJava Print "Adobe Flash is blocked and must be updated to "+minFlash If LooseVersion(minJava) > LooseVersion(currentJava): If LooseVersion(minFlash) > LooseVersion(currentFlash): Print > sys.stderr, CMDNAME + ": " + str(err)Įxcept (InvalidPlistException, NotBinaryPlistException), e: Opts, args = getopt.getopt(sys.argv, 'hvVr') Print " -r run as a JAMF Casper Suite Recon Extended Attribute" JAVA_PLIST = "/Library/Internet Plug-Ins/ugin/Contents/ist" XPROT_PLIST = "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/"įLASH_PLIST = "/Library/Internet Plug-Ins/Flash ugin/Contents/ist" # Script to check for blocked browser plug-ins in Mac OS X.įrom distutils.version import LooseVersion It requires the biplist python module ( ) for access to binary plists. You can also run it with the -V (verbose) option to see what versions are installed and the minimum required version. It checks if the installed versions of the Flash and Java plug-ins are blocked. You may also find this command line tool I wrote useful.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |