Topic: programmatically determine if driver suitable for xp, 2000, vista, etc
Hi all,
How would a person or program know if an arbitrary driver was for XP, 2003, 2000, or Vista?
I know the INF "Signature=" needs to be $Windows NT$ or $Chicago$, and not $Windows 95$. This puts it in the pool. But for instance is a SCSI driver for Win2K and another for XP. (D\M\L7 and D\M\L8) I've compared INF files like those and there are very few differences, and nothing to key off from.
Which brings me to what I think. There is a tool called Inf2Cat that makes the .CAT signature files for drivers. http://msdn.microsoft.com/en-us/library/bb931742.aspx
/os:WindowsVersionList
Configures Inf2Cat to verify that a driver package INF file complies with the signing requirements for the Windows versions that are specified by WindowsVersionList.
So... I think embedded in the .CAT file are hints as to the suitability of a driver on a particular Windows OS. Some drivers don't come with CAT files though. Does anyone know how to inspect a .CAT file for this information?
Big picture... When say XP installs a driver, it determines that one driver is better than another. Is this (CAT file info) combined with a release date the determining factor?
Thanks!
Last edited by xend (2009-01-21 19:34:35)