<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[DriverPacks.net Forum - programmatically determine if driver suitable for xp, 2000, vista, etc]]></title>
		<link>http://forum.driverpacks.net/viewtopic.php?id=3457</link>
		<description><![CDATA[The most recent posts in programmatically determine if driver suitable for xp, 2000, vista, etc.]]></description>
		<lastBuildDate>Fri, 23 Jan 2009 00:08:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: programmatically determine if driver suitable for xp, 2000, vista, etc]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=28457#p28457</link>
			<description><![CDATA[<p>IF a CAT is not signed by WHQL it is worthless. So createing a CAT is a waste of time.</p><p>if it says chicago or Windows NT you can try it anyway... no extra steps need be taken. </p><p>&quot;Or...&nbsp; Maybe that&#039;s why some aren&#039;t signed (don&#039;t have cat)...&nbsp; Drivers CAN&#039;T pass, but work anyway and are the desired driver&quot;&nbsp; &nbsp;YES! - now you have it</p><p>PS more info is in mr_smartepants post here <a href="http://forum.driverpacks.net/viewtopic.php?pid=27610#p27610">http://forum.driverpacks.net/viewtopic. … 610#p27610</a></p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Fri, 23 Jan 2009 00:08:05 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=28457#p28457</guid>
		</item>
		<item>
			<title><![CDATA[Re: programmatically determine if driver suitable for xp, 2000, vista, etc]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=28451#p28451</link>
			<description><![CDATA[<p>(not to belabor the idea)</p><p>A person could ignore the CAT but run the tool.</p><p>Inf2Cat /driver:c:\exampledriver /os:XP_X86 /nocat</p><p>/nocat<br />&nbsp; &nbsp; Configures Inf2Cat only to verify that the driver package complies with the signing requirements for the specified Windows versions, but not to generate a catalog files.</p><p>Wouldn&#039;t this be similar to Windows XP doing a check before it installs a driver that the user provides?</p><p>If Inf2Cat puked, you&#039;d know it wasn&#039;t for XP.&nbsp; If Inf2Cat was ok, you&#039;d know you could try it.&nbsp; <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; (not guaranteed it would work)</p><p>Or...&nbsp; Maybe that&#039;s why some aren&#039;t signed (don&#039;t have cat)...&nbsp; Drivers CAN&#039;T pass, but work anyway and are the desired driver.</p>]]></description>
			<author><![CDATA[null@example.com (xend)]]></author>
			<pubDate>Thu, 22 Jan 2009 20:27:18 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=28451#p28451</guid>
		</item>
		<item>
			<title><![CDATA[Re: programmatically determine if driver suitable for xp, 2000, vista, etc]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=28412#p28412</link>
			<description><![CDATA[<p>FORGET THE CAT!</p><p>EVERYTHING YOU NEED IS IN THE INF... got it?</p><p>you might as well ask if you can tell if the driver is suitable from an MD5 checksum...</p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Wed, 21 Jan 2009 23:10:04 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=28412#p28412</guid>
		</item>
		<item>
			<title><![CDATA[Re: programmatically determine if driver suitable for xp, 2000, vista, etc]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=28394#p28394</link>
			<description><![CDATA[<p>OverFlow, thanks for the info... I worried it would be something like that.&nbsp; (I have a theory that driver writers are close relatives to chip designers.&nbsp; The EE&#039;s I know at work have no pride in refactoring their perl code...&nbsp; everything is a &quot;one off&quot; and on to the next thing.)</p><p>So, I can&#039;t trust the CAT file.&nbsp; But I wonder if, say, 50% of the time it would give me clues -- because of that OS switch.</p><p>Does anyone know how to inspect a CAT?<br />I don&#039;t know the structure at all, or even if it is possible.<br />Raw you can see some text, but I didn&#039;t see the &quot;signed for OS&quot; sorts of strings.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (xend)]]></author>
			<pubDate>Wed, 21 Jan 2009 14:00:41 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=28394#p28394</guid>
		</item>
		<item>
			<title><![CDATA[Re: programmatically determine if driver suitable for xp, 2000, vista, etc]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=28391#p28391</link>
			<description><![CDATA[<p>the algorithm used is not well documented... after the install you can look at the setupapi.log for clues.<br />HWID then signing then date is the basic format. <br />$Chicago$ means ALL<br />$Windows NT$ usually means any windows 5.x OS</p><p>Since most drivers are not well written you can&#039;t get a good answer, <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />this is primarily because many OEMs do not stick to established standards and<br />in fact they will often times will create conflicts with the chipset provided reference drivers. <br />L7 and L8 are a perfect example of the problem.&nbsp; <br />This is either because of <br />1 their failure to understand the &quot;big picture&quot; or <br />2 perhaps they just don&#039;t care or <br />3 no one ever made them do it correctly - IE WHQL Doesn&#039;t reject drivers that they should have.<br />for the most part, signing is just a PITA because of so many very poorly written drivers.</p><p>We do our absolute best to keep signing on every single driver in the DriverPacks. <br />We want you to get the driver from us exactly as we found it on the providers server, <br />but the providers make it almost impossible for us.</p><p>The most desirable feature of the cat is...<br />if a file is altered signing will be broken and you know it has been altered... <br />(an md5 hash would be just as useful given the poor quality that is allowed currently <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" />) </p><p>PS The only truly important info (for matching a driver to hardware) is the HWID in the inf...<br />That is what decides if a driver is suitable or not. the rest is smoke and mirrors,<br />at least until the powers that be actually force them to write drivers correctly before signing is granted</p><br /><p>As things stand right now CATs are good for petting if you are lonely <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><br /><p>hope that helps <img src="http://forum.driverpacks.net/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Wed, 21 Jan 2009 08:06:22 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=28391#p28391</guid>
		</item>
		<item>
			<title><![CDATA[programmatically determine if driver suitable for xp, 2000, vista, etc]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=28390#p28390</link>
			<description><![CDATA[<p>Hi all,</p><p>How would a person or program know if an arbitrary driver was for XP, 2003, 2000, or Vista?</p><p>I know the INF &quot;Signature=&quot; needs to be $Windows NT$ or $Chicago$, and not $Windows 95$.&nbsp; This puts it in the pool.&nbsp; But for instance is a SCSI driver for Win2K and another for XP.&nbsp; (D\M\L7 and D\M\L8)&nbsp; I&#039;ve compared INF files like those and there are very few differences, and nothing to key off from.</p><p>Which brings me to what I think.&nbsp; There is a tool called Inf2Cat that makes the .CAT signature files for drivers.&nbsp; <a href="http://msdn.microsoft.com/en-us/library/bb931742.aspx">http://msdn.microsoft.com/en-us/library/bb931742.aspx</a>&nbsp; </p><p>/os:WindowsVersionList<br />&nbsp; &nbsp; Configures Inf2Cat to verify that a driver package INF file complies with the signing requirements for the Windows versions that are specified by WindowsVersionList. </p><p>So... I think embedded in the .CAT file are hints as to the suitability of a driver on a particular Windows OS.&nbsp; Some drivers don&#039;t come with CAT files though.&nbsp; Does anyone know how to inspect a .CAT file for this information?</p><p>Big picture...&nbsp; When say XP installs a driver, it determines that one driver is better than another.&nbsp; Is this (CAT file info) combined with a release date the determining factor?</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (xend)]]></author>
			<pubDate>Wed, 21 Jan 2009 07:55:20 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=28390#p28390</guid>
		</item>
	</channel>
</rss>
