Posted on 10-14-2013 10:10 AM
I'm planning an upgrade from CrashPlan 3.8.2010.2 to the latest CrashPlan PROe. I know that the clients will automatically update themselves once the server is updated, but I'd like to be able to monitor this with Casper. Is there an extended attribute available that would let me keep track of what version of the client software is running?
Solved! Go to Solution.
Posted on 10-14-2013 10:56 AM
This following will display the version of CrashPlan installed, but the report won't indicate if it is "CrashPlan" or "CrashPlan PROe". I am not sure how to report on that.
[updated: This works with our install base of CrashPlan PROe devices. I should have pointed out that I have not tested with the consumer version.]
Data Type: String
Input Type: Populated by Script
#!/bin/sh
if [ -f "/Applications/CrashPlan.app/Contents/Info.plist" ] ; then
VERSION=$( defaults read "/Applications/CrashPlan.app/Contents/Info.plist" CFBundleShortVersionString )
else
VERSION="Not installed"
fi
echo "<result>$VERSION</result>"
Posted on 10-14-2013 10:56 AM
This following will display the version of CrashPlan installed, but the report won't indicate if it is "CrashPlan" or "CrashPlan PROe". I am not sure how to report on that.
[updated: This works with our install base of CrashPlan PROe devices. I should have pointed out that I have not tested with the consumer version.]
Data Type: String
Input Type: Populated by Script
#!/bin/sh
if [ -f "/Applications/CrashPlan.app/Contents/Info.plist" ] ; then
VERSION=$( defaults read "/Applications/CrashPlan.app/Contents/Info.plist" CFBundleShortVersionString )
else
VERSION="Not installed"
fi
echo "<result>$VERSION</result>"
Posted on 10-14-2013 11:03 AM
It looks like "CrashPlan" (not the PROe version) doesn't have CFBundleShortVersionString in the info.plist file. So if I use the attribute you wrote, clients that haven't upgraded yet will report as "Not Installed" while clients that have the latest PROe will report the version--this will let me monitor the deployment of the upgraded client, which is my original intent. Thanks!