On Sep 17, 2006, at 1:54 PM, aMac Tech Support wrote:
Does anyone know a way to check the version of a kernel extension?
This kernel extension is a driver file that is added when our
application is installed. There have been instances where users
have installed an update of our application, but did not update the
driver, which could cause problems.
I am assuming that you are talking about OS X. You should be able to
get the version number from the info.plist file in the bundle for the
kernel extension. This should be found following this path
volume(0)
System
Library
Extensions
"name of extension such as iPodDriver.kext"
Content
Info.plist
The Info.plist file is in XML format so you can process it as XML or
just read the file looking for the CDBundleShortVersionString entry
or in some instances the CFBundleVersion entry.
There are some instances where the kernel extension is not done up as
a bundle and it seems in those cases that you will see a folder with
a name that ends in ".ppp" and inside that folder will be a folder
named "Contents" and within it will be items named just like those in
a normal bundle.
I have a couple of applications that search these Info.plist files
within the apps in my Applications folders to get the current
versions of those apps.
=== A Mac addict in Tennessee ===
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>