Topic: New Project Started - Download and Install on Demand
Part of another project Bluepill, I want to replace the manual WindowsUpdate Hardware updates system with driverpacks.net hands-free. But instead of forcing Bluepill user (who might be running on only a 4gb hard disk) to download 500 meg of compressed driverpacks including all the 3rd party ones, I have seen this requested on these forums, I have started a application in C# 2.0 that will download only the drivers present in the local computer.
The way it works/will work is this:
* Download DP*.7z's
* Extract them all to a local folder, for example, C:\DriverPacks\
* You then run the application i'm writing and point it to same folder as above, C:\DriverPacks\
* It then scans all .inf files and creates a devices.txt file that looks like this:
PCI\VEN_10B9&DEV_5473=C\AU\ALiSDIFA.inf
PCI\VEN_10B9&DEV_5473=C\AU\ALISDIF.SYS
*ALI5123=C\AU\IRALI.INF
*ALI5123=C\AU\aliirda.sys
PCI\CC_0C0310=C\AU\usb.inf
PCI\CC_0C0300=C\AU\usb.inf
* Upload the devices.txt and the extracted driver packs to any web server accessible by your target computer, for example, http://server.local/DriverPacks/ ( or http://ondemand.driverpacks.net/ hint hint )
* On the target computer, you then run another application (which I've yet to write), accepting 2 command line arguments; url (http://server.local/DriverPacks/) and local directory to save to (%SystemRoot%\DriverPacks)
- fetches the remote devices.txt
- executes a "devcon hwids *" which looks like:-
USB\VID_05A9&PID_A511\5&160F4E1&0&1
Name: Dual Mode USB Camera Plus #2
Hardware ID's:
USB\Vid_05a9&Pid_a511&Rev_0100
USB\Vid_05a9&Pid_a511
Compatible ID's:
USB\Class_ff&SubClass_00&Prot_00
USB\Class_ff&SubClass_00
USB\Class_ff
- scan the devices.txt file. for each device:-
- for each "Hardware ID" listed, in order from top, stopping after first match.
- when first match is found, all files linked to the matched Hardware ID will be queued for download
- download the queue, and put them into %SystemRoot%\DriverPacks as normal
* You'd then need to 'post-install' the new drivers, perhaps by using the latest version of 'FINI'
The opensource for both applications mentioned above (collator+downloader) resides at SVN svn://meedios.svn.sourceforge.net/svnroot/meedios/plugins/binary64/Bluepill/DriverUpdater - I will post binaries to this thread when it's at beta quality.
RFC!! Questions? Feedback? Advice? Help?
Last edited by binary64 (2007-06-30 15:14:35)