Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

DrvComp v2007.08.09

- - - - -

  • Please log in to reply
76 replies to this topic

#1
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06
I created this new topic on request.

Features:
- Driver compression: This works only for drivers with .inf files!
- Multi directory / multi inf files
- Cab files support
- Driver version check
- Class/Provider dir structure creation
- nVidia international driver support
- XP installation CD driver integration

Known errors:
- When using Provider Disk Structure in combination with Realtek and VIA vinyl
audio drivers, it creates a directory for every .inf file and copies the same
drivers to all the dirs.
- If there are 2 SourceDiskFiles sections it scans only the first one and won't
copy files in the sections afterwards. (Logitech mouse drivers)

How does this work?
Driver Compressor searches in the source directory for .inf files. From this file it gets all the necessary information. Then it copies the source files to a new destination and compresses it.

For more info, read the included readme.txt file.

Changelog:
2007.08.09 Added XP installation CD driver integration.
2007.08.03 Renamed next button into Start.
2007.08.03 Fixed cancel button so the program exits.
2007.07.19 Fixed compatibility with Win98 as host OS.
2007.07.17 Added nVidia international driver support
2007.05.19 Improved check for source and destination dir.
2007.05.17 Added about link to readme.txt.
2007.05.17 Added some debug info to the log file.
2007.05.17 Fixed error 'Parameter format not correct'.
2007.05.16 Added check for same source and destination dir.
2007.05.16 Added displaying version.
2007.05.16 Copy catalog is selected by default.
2006.03.07 Disabled warning message for missing .com, .sys, .dos and .vxd files.
2006.03.06 Fixed error with files extensions less than 3 characters (ATI).

Attached Files


Edited by Roufneck, 29 February 2008 - 02:40 AM.



How to remove advertisement from MSFN

#2
boooggy

boooggy

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,347 posts
  • Joined 27-February 05
  • OS:Windows 8.1 x64
  • Country: Country Flag
nice
did it work with nvidia net drivers?.....

#3
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06
I tested this with the BTS driver packs and installed it on a few pc's. One of them had a nforce 2 mainboard. It is working now.

#4
Daedlus

Daedlus

    Newbie

  • Member
  • 35 posts
  • Joined 13-April 05
I must say... this is the best thing tool i have run into... I can cut all the garbage out of the package that the manufacturers give me and end up with just the drivers... I have not come across any driver that this does not work with. :thumbup

#5
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,820 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Any news? I love this tool...

#6
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06

Any news? I love this tool...


Me too :thumbup
Any ideas what you like to see changed/added to take it to the next level?

#7
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,820 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Yeah copying the .cat file is a MUST can you make it checkd by defualt?
An actual version number system would be nice. What version is the current?

Let me think some more.

#8
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06

Yeah copying the .cat file is a MUST can you make it checkd by defualt?
An actual version number system would be nice. What version is the current?


- Copy .cat is checked by default.
- Version 2007.05.16

#9
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,820 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Quick thing can you re-enable the welcome\type first box I liked it plus it had a lot of info in it. Or maybe add a readme\about button that brings up that window.

Also why does it always say parameter not correct yet it still properly proccess my drivers?

Thanks for the quick work.

#10
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06

Also why does it always say parameter not correct yet it still properly proccess my drivers?


Don't know. Where and when does it say that?

#11
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,820 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
This is using the nVidia drivers straight from their site and I have had it happen on lots of other drivers.

ini file:

[Settings]
Source=C:\Documents and Settings\Kelsenellenelvian\Desktop\Main
Destination=C:\Documents and Settings\Kelsenellenelvian\Desktop\New Folder
Type=.x86
CopyCatalog=1
UseProvider=0
log file:

Initializing...
Expanding cabinet files...
Removing attributes from files...
Parameter format not correct -
[+] \nv4_disp.inf
Removing temp dirs...
Compressing cabinet files...
Compressing copied files...

Processed 1/1 .inf files in 1 min 47 sec 640 ms.


#12
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06
What OS do you use XP or Vista? It looks like vista.

#13
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06
Never mind, I think I already found and fixed it.

- Added about link to readme.txt.
- Added some debug info to the log file.
- Fixed error 'Parameter format not correct'.
- Added check for same source and destination dir.

#14
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,820 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
You are the best! thanks!

#15
yadzil

yadzil

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 10-June 04
after compress how can i use the compress driver to my xp cd?

#16
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06

after compress how can i use the compress driver to my xp cd?

I use a modified version of this: Drivers From CD (Simple Method)
Basically I put the drivers in $OEM$\.drivers. This auto copies the driver to the windir. And with the batch file I then integrate the drivers with SetupCopyOEMInf.exe. And I scan every HD and CD for \.drivers and integrate those as well. This way I can those to leave the drivers on the CD, copy them to the windir or even use the latest drivers from the HD.

I hope it makes sense. Anyway, if you compress the main BTS driver packs (not the b/c sound and display packs you can have winxp, drivers and some basic programs like firefox on 1 CD.

#17
dxdisaster

dxdisaster
  • Member
  • 4 posts
  • Joined 22-December 06
I believe I found two bugs with the Razer/Copperhead drivers. Firstly it seems to copy & compress the files ~43 times; this happens if either the copy cat files option is selected or not. Second bug is that when you select the Provider Disk Structure, it copies and structures the files properly, but Windows bluescreens at the moment you close DrvComp.

The attached file has the DrvComp log and the Copperhead drivers if you want to take a look.

Edit: A few minutes after I posted this, I randomly got the same bluescreen. So while it was caused by DrvComp, it is quite probable that my system already had some other problem. It would still be useful if somebody could test for the second bug.

Attached Files


Edited by dxdisaster, 18 May 2007 - 11:56 PM.


#18
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06

I believe I found two bugs with the Razer/Copperhead drivers. Firstly it seems to copy & compress the files ~43 times; this happens if either the copy cat files option is selected or not. Second bug is that when you select the Provider Disk Structure, it copies and structures the files properly, but Windows bluescreens at the moment you close DrvComp.

The attached file has the DrvComp log and the Copperhead drivers if you want to take a look.

Edit: A few minutes after I posted this, I randomly got the same bluescreen. So while it was caused by DrvComp, it is quite probable that my system already had some other problem. It would still be useful if somebody could test for the second bug.

Thanx for the feedback. You used the destination dir as a subdir from the source. This causes a loop back. Try this:

Source: 'C:\Progs\Razer\Copperhead\Driver'
Destination: 'C:\Progs\Razer\Copperhead\Comp'

In the mean time I guess I have to rewrite the dir checking code.

#19
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06
Improved check for source and destination dir.

@dxdisaster
Can you try the new version and tell me if you still get the bleuscreen.

#20
dxdisaster

dxdisaster
  • Member
  • 4 posts
  • Joined 22-December 06

Improved check for source and destination dir.

@dxdisaster
Can you try the new version and tell me if you still get the bleuscreen.

Worked perfectly. Thanks. :)

#21
Viper999

Viper999

    Member

  • Member
  • PipPip
  • 109 posts
  • Joined 22-June 04
would it be possible to add the functionality to then modify the txtsetup.sif and dosnet.inf appropriately. let say you also move them to i386\custdrv directory as well with those added adjustments to the above mentioned files. This way you compess drivers and add them to windows source. Two files that may need to keep in mind is the sfcfiles.dll and syssetup.dll.

#22
Inferi0r

Inferi0r

    Little dude

  • Member
  • PipPip
  • 180 posts
  • Joined 28-July 06
Wow I like this very much. Its working on multilanguage drivers :thumbup

From the readme:

Copies catalog diles as well. Needed for WHQL driver signing. You don't need
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
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06

would it be possible to add the functionality to then modify the txtsetup.sif and dosnet.inf appropriately. let say you also move them to i386\custdrv directory as well with those added adjustments to the above mentioned files. This way you compess drivers and add them to windows source. Two files that may need to keep in mind is the sfcfiles.dll and syssetup.dll.


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
Roufneck

Roufneck

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 28-January 06

Copies catalog files as well. Needed for WHQL driver signing. You don't need this if you have patched SFC.
Thats mean to keep the WHQL driver signing?

Yes, it does. I will change this to make it clearer.

Maybe is it possible to add a functional option to the program to remove helpfiles from drivers. Most people don't use offline helpfiles.

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.

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.

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.

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?

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
Inferi0r

Inferi0r

    Little dude

  • Member
  • PipPip
  • 180 posts
  • Joined 28-July 06

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.


Take a look here. This batch file deletes unneeded helpfiles (of all: all options are optional :D ) and more unneeded files

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.


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.

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.


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 :blushing:

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).


I think I need a Dutch Control Panel. :o




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users