Posted on 01-24-2013 11:00 AM
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
Posted on 01-24-2013 04:23 PM
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