<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[DriverPacks.net Forum - Driver installation Using Vendor ID`s]]></title>
		<link>http://forum.driverpacks.net/viewtopic.php?id=1473</link>
		<description><![CDATA[The most recent posts in Driver installation Using Vendor ID`s.]]></description>
		<lastBuildDate>Thu, 03 May 2007 20:51:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10522#p10522</link>
			<description><![CDATA[<p>I didnt see the directory ???</p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Thu, 03 May 2007 20:51:40 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10522#p10522</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10511#p10511</link>
			<description><![CDATA[<p>les, I will create an extra directory on the subversion repository for your work, so your work won&#039;t get lost. Simultaneously, you&#039;ll have access to all our code and thus to our functions, including the one that parses version numbers <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /> <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>EDIT: just made you a member of the Code Team already <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /> <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Wim Leers)]]></author>
			<pubDate>Thu, 03 May 2007 08:47:34 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10511#p10511</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10509#p10509</link>
			<description><![CDATA[<p>Bashrat, I am using string manipulation to isolate specific parts of the filenames of your DP naming convention for presentation reasons. and have a few questions:</p><p>1) will the naming&nbsp; convention remain the same, with underscores etc.</p><p>2) I noticed on you naming convention thread that versions were using the &quot;.&quot; convention (IE 6.08.2 etc), but some of the &quot;704&quot; releases have an extra digit, eg 7041, I will summize the extra digit is something like an update or bugfix&nbsp; after the main release etc. Am I correct? </p><p>Regards</p><p>Les</p>]]></description>
			<author><![CDATA[null@example.com (les)]]></author>
			<pubDate>Thu, 03 May 2007 06:59:49 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10509#p10509</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10508#p10508</link>
			<description><![CDATA[<p>Update!</p><p>I have so far: </p><p>1) created the GUI.<br />2) Provided an output window which lists all the found DP`s automatically, along with filesizes and versions.</p><p>To Do:</p><p>A)Hook up the compressor and get it to scan for *.inf`s for output to another column in the output window with&nbsp; &nbsp;totals for each pack</p><br /><p>(This seems like a good idea to me at the moment so we can verify the output file totals to the originals for errors, but if you think it is superfluous tell me and I`ll drop it ok)</p><p>B) Extract the VID`s etc from the packs and complie into index</p><p>C) Get the transforms code from bashrat and hook that in</p><p>D)&nbsp; Redirect the paths in the index to the CD ready for burning</p><p>At this stage I plan to test it for conformity and then release it for beta testing (after testing it myself of course)</p><p>While that is going on I am planning further sprucing it up by working on the following (among other things):</p><p>E) Integrate the update feature into the GUI</p><p>F) Tightening up the code</p><p>G) Maybe providing an output window as mentioned earlier (vendor, model, version etc) If people want such a thing</p><p>BTW The AI help file I printed out was nearly 800 pages! YAY - good job I`m a bookworm <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>There goes another 6m leptons! (he he)</p><p>Overflow. If you would care to be a bit more specific with your ini pack query, I may be able to work on it ok</p><p>Bashrat, I cannot find an your email address, can you please email the transforms code to me at les95@hotmail.com (you may have done this already but I can`t see it amongst my mail)</p><p>Thank you</p>]]></description>
			<author><![CDATA[null@example.com (les)]]></author>
			<pubDate>Thu, 03 May 2007 06:06:43 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10508#p10508</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10381#p10381</link>
			<description><![CDATA[<p>@les<br />Most of the pack&#039;s ini files are not populated yet since we just started doing them. It strikes me you might be able to use your code to verify or create the individual pack ini files (which also would be a huge help to me for the bartpe module). It may even be that the ini&#039;s are the &quot;key&quot; to some mutual obsticals. If the ini&#039;s were used by your GUI would additional ini sections be required?</p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Sun, 29 Apr 2007 22:00:41 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10381#p10381</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10340#p10340</link>
			<description><![CDATA[<p>The first release will just create the index file then I will continue the development to spruce it up ok</p><p>And yes I would like the HW transforms code if you would be so kind, you can send it to les95@hotmail.com<br />cheers</p>]]></description>
			<author><![CDATA[null@example.com (les)]]></author>
			<pubDate>Sat, 28 Apr 2007 14:30:06 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10340#p10340</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10334#p10334</link>
			<description><![CDATA[<p>Are you sure you aren&#039;t pushing things too far immediately? Unless you&#039;re a genious programmer (and even then), you should start with getting the foundations right first, then add extra things <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Since you haven&#039;t mailed me, I suppose you don&#039;t need/want my &quot;HWID transform&quot; function?</p>]]></description>
			<author><![CDATA[null@example.com (Wim Leers)]]></author>
			<pubDate>Sat, 28 Apr 2007 12:56:18 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10334#p10334</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10323#p10323</link>
			<description><![CDATA[<p>I have read the manual for Autoit and the UDF file and have started building the GUI.</p><p>A DP update/comparision function will be builtin along with a download function</p><p>apart form the obvious is there any function anyone would like to see on this GUI?</p><p>for example output options for various file formats (.xls?)</p><p>I am thinking about providing a tabbed area in the GUI for output results for the different packs to provide info such as Vendor, model, version, release date, OS etc along with a save function for each/all etc. Would this be worth providing?</p><p>Les</p>]]></description>
			<author><![CDATA[null@example.com (les)]]></author>
			<pubDate>Fri, 27 Apr 2007 16:00:44 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10323#p10323</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10227#p10227</link>
			<description><![CDATA[<div class="quotebox"><cite>les wrote:</cite><blockquote><p>Thanks for the feedback guys, Ive looked at the perl script and it may be useful to us but as Bashrat is using Autoit I may use that instead for integration, compatability and continuity issues.</p><p>My brain is in super persuit mode now! in the time it took me to write this sentence I burnt 6m leptons!! (he he)</p><p>Will keep you posted with progress reports ok <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /></p></blockquote></div><p>Remember to e-mail me when you need that &quot;HWID transform&quot; function of mine, so you don&#039;t have to write it again <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /> (Only PCI/ is supported by it, but that&#039;s at least SOME code you don&#039;t have to write then. You&#039;d still have to extend it to support USB/, ACPI/, etcetera. But they&#039;re all similar so that&#039;d be drop dead easy.</p>]]></description>
			<author><![CDATA[null@example.com (Wim Leers)]]></author>
			<pubDate>Mon, 23 Apr 2007 22:59:12 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10227#p10227</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10211#p10211</link>
			<description><![CDATA[<p>Thanks for the feedback guys, Ive looked at the perl script and it may be useful to us but as Bashrat is using Autoit I may use that instead for integration, compatability and continuity issues.</p><p>My brain is in super persuit mode now! in the time it took me to write this sentence I burnt 6m leptons!! (he he)</p><p>Will keep you posted with progress reports ok <img src="http://forum.driverpacks.net/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (les)]]></author>
			<pubDate>Sun, 22 Apr 2007 21:33:34 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10211#p10211</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10196#p10196</link>
			<description><![CDATA[<p>Here is a perl script to parse your driver inf files :<br /></p><div class="codebox"><pre><code>#/usr/bin/perl

use Data::Dumper;
use File::Find;
use CGI qw(:standard);

my $q = new CGI();

$| = 1;

my $ROOT = &#039;C:/dev/infs&#039;;
my $DEBUG = $q-&gt;param(&#039;debug&#039;);

#
# Find all .INF within $ROOT subdir
#
my @FILES = ();
sub wanted { push @FILES ,$File::Find::name if $File::Find::name =~ /\.inf$/i; }

if ($q-&gt;param(&#039;subdir&#039;) eq &#039;no&#039;) { @FILES = glob(&quot;$ROOT/*.inf&quot;); } 
else { find(\&amp;wanted, $ROOT);}

my %INI = ();
my $regex = qr/^\[([^\]]+)]+\s*?\n    # [Section Header]
               (.*?)\n         # Section body
               (?=^\[|\Z)      # [Next Section Header or EOF]
              /xsm;            # multiline support

my $regex2 = qr/^([^=]+)=([^\n]+)\n/xsm;   # key=value
 
foreach my $i (@FILES) {

   printf &quot;\nParsing $i...\n&quot; ; #if $DEBUG;
   local $/ = undef;                       # \n treated as normal char
   open (FOO, &quot;&lt;$i&quot;) || die $!;
   $_ = &lt;FOO&gt;;
   close(FOO);

   %INI=();
   $INI{&quot;\U$1\E&quot;}{tmp} = $2 while /$regex/g;

   foreach my $key (sort keys %INI) {
   	  print &quot;KEY = [$key] :\n&quot; if $DEBUG;
   	  #1 while $INI{$key}{tmp} =~ s/\&quot;//g;         # wipe out quotes
   	  1 while $INI{$key}{tmp} =~ s/\;.*//g;       # wipe out comments
   	  1 while $INI{$key}{tmp} =~ s/^\n$//gxsm;    # wipe out empty lines 
   	  %temp = ();
   	  $temp{$key}{$1} = $2 while $INI{$key}{tmp} =~ /$regex2/g;
   	  while(my($k, $v) = each %{$temp{$key}}) {
   	     $k =~ s/^\s+//; $k =~ s/\s+$//;
   	     $v =~ s/^\s+//; $v =~ s/\s+$//;
   	     $INI{$key}{$k} = $v;
   	     print &quot;  $k =&gt; $v\n&quot; if $DEBUG == 2;
   	  }
      delete $INI{$key}{tmp};
   }

   #[Version]
   #Provider=%CANON%   --+
   #[Strings]            |--&gt; Provider = &quot;Canon&quot; (=Manufacturer)
   #CANON=&quot;Canon&quot;     &lt;--+

   #[Manufacturer]
   # &quot;Canon&quot; = Canon,NTx86.5.1 									=&gt; change to Canon.NTx86.5.1 for [Canon.NTx86.5.1]
   #[Canon.NTx86.5.1]
   #&quot;Canon S9000&quot; = CNMS9000XP, LPTENUM\CanonS9000EEDB, Canon_S9000
   map { $INI{MANUFACTURER}{$_} =~ s/,/\./ } keys %{$INI{MANUFACTURER}};
   
   $provider=&quot;&quot;;
   
   if ($INI{VERSION}{Provider} =~ /%(\S+)%/) {    # $1 = CANON
      if (exists $INI{STRINGS}{$1} ) {            # =&gt; &quot;Canon&quot;
         $provider = $INI{STRINGS}{$1};
         print &quot;Strings [$1] = $provider\n&quot; if $DEBUG;
      }
      elsif (exists $INI{MANUFACTURER}{$1}) {
      	$provider = $INI{MANUFACTURER}{$1};
      }
   }
   else { $provider = $INI{VERSION}{Provider}; }
   
   print &quot;PROVIDER : $INI{VERSION}{Provider} =&gt; $provider\n&quot; if $DEBUG;
   ($manufacturer) = values %{$INI{MANUFACTURER}};                 # Canon.NTx86.5.1 =&gt; CANON.NTX86.5.1
   print &quot;MANUFACTURER : $manufacturer\n&quot; if $DEBUG;
   print &quot;CLASS : $INI{VERSION}{Class}\n&quot; if $DEBUG;
   
   if (exists $INI{ uc $manufacturer }) {
   	  print &quot;DEVICES : &quot;, Dumper \%{$INI{ uc $manufacturer }} if $DEBUG;
      map { $dev = (( /^%(.*)%$/ ) ? $INI{STRINGS}{$1} : $_) ;        #  %MN130.DeviceDesc% =&gt; &quot;Microsoft(R) PCI Adapter MN-130&quot;
      	    printf &quot;%10s\t%10s\t%15s\t%20s\t%20s\n&quot;, 
   	               $provider, 
   	               $INI{VERSION}{Class},
   	               $INI{VERSION}{CatalogFile}, 
   	               $INI{VERSION}{DriverVer}, 
   	               $dev;
       } sort keys %{$INI{ uc $manufacturer }};
   }
}</code></pre></div><p>1/ Install ActivePerl : <a href="http://www.activestate.com/Products/ActivePerl/">http://www.activestate.com/Products/ActivePerl/</a></p><p>2/ Run it (ouputs html) :<br />perl parse_ini.pl infroot=c:\my_inf_files &gt; index.html</p><p>3/ it&#039;s &quot;out of the box&quot;, so not perfect.</p>]]></description>
			<author><![CDATA[null@example.com (maxximum)]]></author>
			<pubDate>Sat, 21 Apr 2007 19:42:14 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10196#p10196</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10155#p10155</link>
			<description><![CDATA[<p>&quot;I see&quot; said the blind man!</p><p>also my guess was a little off 1.7 Gig uncompressed&nbsp; about 500 cabbed and&nbsp; 310&nbsp; 7-Zip format (method 2).<br />so it also is a disk space pickup!</p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Fri, 20 Apr 2007 07:25:00 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10155#p10155</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10146#p10146</link>
			<description><![CDATA[<div class="quotebox"><cite>OverFlow wrote:</cite><blockquote><p>an easier way would be to have the drivers setup method 1 style on a cd/dvd - if desiredyou may use oempnp path pointing to the cd/dvd but probably not needed since the cd/dvd will be searched anyway by new hardware wizard.</p><p>then drivers would only be copied to disk if &quot;new hardware found&quot; installatin wizard found them on the cd/dvd.</p><p>in the post below SKIP the batch files and just Copy the OEM\$1\D folder from the slipstreamed source to a CDRW</p><p>IE run the install &quot;method one&quot; to a temp windows install folder then copy only the &quot;\d\&quot; driver folders to your cd/dvd. Probably will have to be a dvd as in this format the driverpacks are around 600 meg. <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />full directions here for making a disk that DOES copy drivers from this cd to windows <br />(you dont have to run [or even create] the Batch files) <br /><a href="http://forum.driverpacks.net/viewtopic.php?id=960">http://forum.driverpacks.net/viewtopic.php?id=960</a></p></blockquote></div><p>The method suggested by les (and of which I have thought myself too already, of course, but &quot;just&quot; haven&#039;t implemented yet) would be faster in 2 ways:<br />1) By using an index, it will find the correct driver faster than Windows itself. (Note that windows caches parsed driver .inf&#039;s! See the INFCACHE.1 files. But we&#039;re creating an <em>index</em>, which can be used right away, which is obviously faster.)<br />2) By using that index, we can selectively extract files. This is the main benefit: now we have to decompress less drivers (decompressing = CPU intensive) and hence we only have to write a fraction of the normal amount of files to the HDD (writing the files = HDD intensive).</p><p>@les: the DriverPacks BASE and the Finisher were written in AutoIt. But of course, since you&#039;d be writing it, you&#039;re free to use the language you&#039;d like to use. No Java or C# though please, since they have too specific requirements for the program to be useful at all stages.<br />And by the way, I already have the code that transforms HWIDs into their &quot;different levels of precision&quot; (I think you know what I mean), it&#039;s in use by the Finisher, and thus it&#039;s written in AutoIt.</p>]]></description>
			<author><![CDATA[null@example.com (Wim Leers)]]></author>
			<pubDate>Thu, 19 Apr 2007 18:51:04 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10146#p10146</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10119#p10119</link>
			<description><![CDATA[<p>an easier way would be to have the drivers setup method 1 style on a cd/dvd - if desiredyou may use oempnp path pointing to the cd/dvd but probably not needed since the cd/dvd will be searched anyway by new hardware wizard.</p><p>then drivers would only be copied to disk if &quot;new hardware found&quot; installatin wizard found them on the cd/dvd.</p><p>in the post below SKIP the batch files and just Copy the OEM\$1\D folder from the slipstreamed source to a CDRW</p><p>IE run the install &quot;method one&quot; to a temp windows install folder then copy only the &quot;\d\&quot; driver folders to your cd/dvd. Probably will have to be a dvd as in this format the driverpacks are around 600 meg. <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />full directions here for making a disk that DOES copy drivers from this cd to windows <br />(you dont have to run [or even create] the Batch files) <br /><a href="http://forum.driverpacks.net/viewtopic.php?id=960">http://forum.driverpacks.net/viewtopic.php?id=960</a></p>]]></description>
			<author><![CDATA[null@example.com (OverFlow)]]></author>
			<pubDate>Thu, 19 Apr 2007 12:37:08 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10119#p10119</guid>
		</item>
		<item>
			<title><![CDATA[Re: Driver installation Using Vendor ID`s]]></title>
			<link>http://forum.driverpacks.net/viewtopic.php?pid=10117#p10117</link>
			<description><![CDATA[<div class="quotebox"><cite>les wrote:</cite><blockquote><p>Only thing that remains to decide is which PL do I use? any suggestions anyone?</p></blockquote></div><p>Well that depends on what lang you&#039;re comfortable with. <img src="http://forum.driverpacks.net/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (mr_smartepants)]]></author>
			<pubDate>Thu, 19 Apr 2007 10:05:09 +0000</pubDate>
			<guid>http://forum.driverpacks.net/viewtopic.php?pid=10117#p10117</guid>
		</item>
	</channel>
</rss>
