if
(
not exists folder "/Library/Internet Plug-Ins/Flash Player.plugin"
)
then ERROR "Not Installed" else if
(
bundle version of folder "/Library/Internet Plug-Ins/Flash Player.plugin" as version < string "MinimumPlugInBundleVersion" of dictionary "com.macromedia.Flash Player.plugin" of dictionary "10" of dictionary "PlugInBlacklist" of dictionary of file "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist" as version
)
then True else False
if (not exists folder "/Library/Internet Plug-Ins/Flash Player.plugin") then ERROR "Not Installed" else if (bundle version of folder "/Library/Internet Plug-Ins/Flash Player.plugin" as version < string "MinimumPlugInBundleVersion" of dictionary "com.macromedia.Flash Player.plugin" of dictionary "10" of dictionary "PlugInBlacklist" of dictionary of file "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist" as version) then True else False