Adobe Air Version

pereljon
New Contributor III

Extension Attribute script (mac) for getting Adobe Air version.
P.S. Would be good to have a "Extension Attribute" tag in the discussion posts.

#!/bin/sh

if [ -d /Library/Frameworks/Adobe AIR.framework ];then
    result=`/usr/bin/defaults read /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Info CFBundleVersion`
    if [ $result == "" ];then
        echo "<result>No version</result>"
    else
        echo "<result>$result</result>"
    fi
else
    echo "<result>Not installed</result>"
fi

exit 0
1 REPLY 1

G-Lo
New Contributor III

Excellent! I had been using the following command in ARD to check Adobe AIR versions:

# Adobe Air version check. Number below CFBundleVersion key displays Adobe Air version.

plutil -convert xml1 -o /dev/stdout /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Info.plist | grep -A1 CFBundleVersion