DrvComp v2007.08.09 Driver compression for drivers with .inf files
#21
Posted 13 July 2007 - 01:08 PM
#22
Posted 16 July 2007 - 09:47 AM
From the readme:
Quote
this if you have patched SFC.
Thats mean to keep the WHQL driver signing?
Maybe is it possible to add a functional option to the program to remove helpfiles from drivers. Most people don't use offline helpfiles.
2th: this program would be perfectly if there is an option to add the current settings of your drivers (like device control etc.) to the compressed driver on an easy way. Maybe it sounds to hard.
My 93.71_forceware_winxp2k_international_whql is unpacked 66 MB and compressed 20,7 MB.
But my Creative SBA_PCDRV_LB_1_04_0061 is unpacked 64,8 MB and compressed 3,13 MB.
Is this normal? Of lose I my Creative EAX-Console, Creative Soundssettings and Creative Device Control?
Thats no problem if i can add my current settings for my sound driver of these 3 programs in the compressed driver as I say.
Thanks in advantage
#23
Posted 16 July 2007 - 12:35 PM
Viper999, on Jul 13 2007, 09:08 PM, said:
I don't have much experience adding drivers like this, but I can look into this. What I do at the moment is compressing the BTS driver packs, copy the drivers with my $OEM$ dir to the windows dir and integrate the INF files before the install driver detection. Or integrate directly from the CD.
#24
Posted 16 July 2007 - 12:59 PM
Malarky, on Jul 16 2007, 05:47 PM, said:
Thats mean to keep the WHQL driver signing?
Yes, it does. I will change this to make it clearer.
Malarky, on Jul 16 2007, 05:47 PM, said:
I need to do some experimenting with this. I know in general you don't need these files. But I don't know what happens if I remove them from the INF files.
Malarky, on Jul 16 2007, 05:47 PM, said:
Interesting idea and probably not impossible. Don't know if it is usefull. The idea is to make 1 CD for several different PC's, with different hardware. I have to look into the default settings and see if I can come up with some tuning options / detection. But I will keep in mind that they have to work on other PC's as well.
Malarky, on Jul 16 2007, 05:47 PM, said:
But my Creative SBA_PCDRV_LB_1_04_0061 is unpacked 64,8 MB and compressed 3,13 MB.
Is this normal? Of lose I my Creative EAX-Console, Creative Soundssettings and Creative Device Control?
DrvComp looks into the inf file and copies all files in that. Meaning, it uses exactly the same files as if you would get a popup from the auto install wizard and you point to a directory with the proper inf and install files. What installers (.exe .msi) can do extra is adding consoles and extra tools or programs. This can't be done with DrvComp. You need to find out what the command line options are for silent install and run this after installing XP or do this manually.
If you don't want all the international help files from nvidia, use the english version in stead. If you compress this, you don't get all the unwanted helpfiles and it can compress to 8.56 MB (version 94.24).
#25
Posted 16 July 2007 - 02:28 PM
Quote
Take a look here. This batch file deletes unneeded helpfiles (of all: all options are optional
Quote
I have checked it and found all the settings of my sound driver in the register. So, that must not to be too difficult. Standard setting of my EAX-console is without Stereosurround. The sounds is without real crap. And the driver will be only installed for Creative Audigy SE Windows XP (Dutch) soundcards. So, if I had more pc's with the exactly that card and OS, I want on that pc surround sound. And keep in mind, give users choice with the optional option to integrate current settings. If you don't want; you don't get.
Quote
I've checked it and saw that every program has an apart folder and an apart inf file. That why the driver is so little. Now i integrate it in nLite in 4 parts. It would be nice if i can make it one, but yeah
Quote
I think I need a Dutch Control Panel.
#26
Posted 17 July 2007 - 05:02 AM
#27
Posted 17 July 2007 - 05:28 AM
Malarky, on Jul 16 2007, 10:28 PM, said:
I've looked into the inf files of several drivers. I think its gonna take a lot of time. The main problem is, how do I know what to change and what can be changed without messing up the installation.
An other problem is that some inf files are written very badly. I have to come up with some code to detect all the registry settings in a lot of different inf files that are written by different programmers.
You are talking about 1 option only: Stereo surround. If it is only about a few options, I think its better to patch the registry after installation (run once) and leave the inf files alone or if that is not an option for you, edit the inf files manually.
This doesn't mean I wont add this in the future. It only means that I will think about it and when I find a solution, I will add it.
#28
Posted 17 July 2007 - 01:39 PM
I've tested the new version and founds something
At first I compress my unpacked driver with v2007.07.17.
At second I grab the driver that I use now, with DriverGrabber from Siginet, and then I've compressed it with v2007.07.17.
The maps were exactly the same except a few multilanguage files (not all multilanguage files!). I think this files will be used for the installation procedure of helpfiles.
List of files:
- nv3dNLD.chm
- nvcplnld.chm
- NVCPNL.HL_
- nvdspNLD.chm
- nvmobNLD.chm
- NVRSNL.dll
- nvwcpnl.hl_
- nvwrsnl.dll
You must know my current installed driver is also multilanguage and installed on the normal way. So if its normal that I miss these files, then they can removed with DrvComp also, or not?
For a reason I don't understand I can't use this drive compressor to test of there are maybe other things that can removed. Maybe you can test it?
Quote
An other problem is that some inf files are written very badly. I have to come up with some code to detect all the registry settings in a lot of different inf files that are written by different programmers.
I think i understand the problem in general. At first is hard to find the right regfiles (but that can the user do by himself) and at second it is often hard to convert regfiles to .inf on the right way. So I've searched and founded a program that can do that. Here is the Reg2Inf converter from n7Epsilon. The source code is included in the zip file, to make it easy.
But its your program and time. Its just a linkage to help you.
#29
Posted 17 July 2007 - 05:38 PM
Malarky, on Jul 17 2007, 09:39 PM, said:
If you mean that these files are missing from the drivers grabbed with DriverGrabber, that is possible. Because it does the same as DriverCompressor. Checking for files in the inf and copy those.
These extra 8 files you add with DriverCompressor are the multi language files. These are not in the copy section in the inf file and must be added with an other routine like I did. If these files are missing, the driver will fall back to english. To remove these files, unclick the international driver support option I added. You will loose the dutch language support though (I think).
Malarky, on Jul 17 2007, 09:39 PM, said:
I think it is because the program works completely different than mine. You probably only can use it with the standard unpacked setup file. DriverCompressor scans inf files for files to copy, this way it should work with every inf file. The program from laptopvideo2go hardcoded the files to delete.
Malarky, on Jul 17 2007, 09:39 PM, said:
That is not the problem. The big problem is scanning the inf file for the default registry settings and keys. This is done differently for different manufacturers. The easy part will be reading these settings from the registry and set these as defaults. I can easily hardcode some registry settings, but I don't want to do this. That way I may have to update the program each time a new driver comes out.
#30
Posted 18 July 2007 - 06:46 AM
Instead, I recommend using this batch file:
rem Version 1.0 rem General Section attrib -r -h -a -s *.* expand -r *.* *.* ren *.cf *.cfg ren *.cp *.cpl ren *.dl *.dll ren *.ex *.exe ren *.hl *.hlp ren *.sy *.sys ren *.tv *.tvp del *.??_ del *.cab del *.bin del *.hdr rem Various Manufacturers & Websites Section del *.cva del pme*.* del get*.* del *.tag del *.lnk del *.htmin your working directory for your nVidia driver's, which will allow it to work fine with DrvComp, from what I've seen so far.
[edit] I just noticed you're using unpacked driver already, please excuse my post if you're already using this exact batch file.
This post has been edited by uncajesse: 18 July 2007 - 06:51 AM
#31
Posted 18 July 2007 - 05:00 PM
#32
Posted 19 July 2007 - 12:49 AM
Source: 'C:\My Documents\drivers\rhine'
Destination: 'C:\MY DOCUMENTS\WINDOWS 2000\DRVCOMPRESSOR\Destination'
WHQL driver signing: 1
UseProvider: 0
Type: .x86
OS: 4.10.2222
OS language: English (United States)
OS locale: en_enu (0409)
Copy international driver files: 0
Expanding cabinet files...
Removing attributes from files...
Parse Error 3
[+] \FETNDIS.inf
[+] \winsetup\NTSetup.inf
Removing temp dirs...
Compressing cabinet files...
Compressing copied files...
Processed 2/2 .inf files in 0 min 7 sec 359 ms.
Completed
This is my log file while testing. Not sure about the Parse Error 3. It's pulling what seems to be the correct files and directory across to the destination but not doing any sort of compression, the files are just there.
The source is an x86 folder containing the files for a Rhine network card; no cab files are in there.
#33
Posted 19 July 2007 - 01:46 AM
Viper999, on Jul 19 2007, 01:00 AM, said:
Do you know what entries to add and where? Or do you have some links where I can get the info? It would save a lot of time compared to method 1 and 2.
Hmmm... The only problem I can think off is adding different (manufacture modified) drivers with the same file name. I somehow need to recreate the dir structure in the i386 folder.
#34
Posted 19 July 2007 - 01:53 AM
#35
Posted 19 July 2007 - 03:53 AM
http://www.viaarena.com/default.aspx?PageI...mp;SubCatID=147
The file that I downloaded was rhine-ndism-x86-x64-368-setup.zip with two folders x86 and Vista.
I ran your tool on the x86 folder.
This post has been edited by dbrunton: 19 July 2007 - 03:54 AM
#36
Posted 19 July 2007 - 04:26 AM
dbrunton, on Jul 19 2007, 11:53 AM, said:
I ran your tool on the x86 folder.
I just saw that you use Windows 98 Second Edition. Think there is a problem with removing attributes from files. Could you try this file and post the log file?
Edit: Removed beta version.
This post has been edited by Roufneck: 19 July 2007 - 10:38 AM
#37
Posted 19 July 2007 - 05:18 AM
Source: 'C:\My Documents\drivers\x86'
Destination: 'C:\MY DOCUMENTS\WINDOWS 2000\NEWTEST\Destination'
WHQL driver signing: 1
UseProvider: 0
Type: .x86
OS: 4.10.2222
OS language: English (United States)
OS locale: en_enu (0409)
Copy international driver files: 0
Expanding cabinet files...
Removing attributes from files...
Parse Error 3
ATTRIB -A -R -H -S C:\My Documents\drivers\x86\* /S /D
ATTRIB -A -R -H -S C:\My Documents\drivers\x86\* /S
Scan INF files...
[+] \FETNDIS.inf
[+] \winsetup\NTSetup.inf
Removing temp dirs...
Compressing cabinet files...
Compressing copied files...
Processed 2/2 .inf files in 0 min 11 sec 144 ms.
Completed
File compression is occurring on the copied files. This was occurring on the original exe as well. That I did not notice - too much of a hurry.
I think I was presuming that the app would place all the files into a cab file for some reason from reading the messages. Unsure as to the parse error but it is occurring on another driver file I tested. But compression of the extracted files is occurring on this one as well plus the parse error.
No, the app is doing what it is supposed to be doing, just my eyesight. Apologies.
There are no attributes on the files concerned being worked on.
This post has been edited by dbrunton: 19 July 2007 - 05:20 AM
#38
Posted 20 July 2007 - 12:00 PM
#39
Posted 21 July 2007 - 01:39 AM
Viper999, on Jul 20 2007, 08:00 PM, said:
I am already working on this and took nlite as an example. I have to solve a few minor problems and test it before I make it a public beta. So far it is looking good.
#40
Posted 26 July 2007 - 06:21 AM



Help


Back to top








