Mac OS X,  Mass Deployment

What Version of Mac OS X Am I Running?

Ever need to have a program check a file to tell you what version of Mac OS X you’re running to do a quick sanity check?  In /System/Library/CoreServices/SystemVersion.plist you’ll find a key for ProductVersion.  The value in this key is the version of Mac OS X you’re using.  Keep in mind that the path should be relative to the volume that houses the operating system.  Therefore, if you’re using a volume during imaging and you’re running a postflight or preflight script make sure you check the path relative to the operating system you’re augmenting.