Jump to content

Driver Compressor


Acheron

Recommended Posts

Anyone know the difference between cabarc.exe (61k) and makecab.exe (77k) ?

Their internal help suggests cabarc is more robust, yet smaller?

Both have the same version# 5.1.2600.1106 from ieak6.exe (6.0.2800.1106)

Am pretty sure Win2K doesn't have makecab.

Link to comment
Share on other sites


Anyone know the difference between cabarc.exe (61k) and makecab.exe (77k) ?

Their internal help suggests cabarc is more robust, yet smaller?

Both have the same version# 5.1.2600.1106 from ieak6.exe (6.0.2800.1106)

Am pretty sure Win2K doesn't have makecab.

PM RyanVM about that. I once knew it, but I'm 300% sure he DOES know. ;)

Link to comment
Share on other sites

  • 2 weeks later...

I uploaded a new build. Please test to see if it works on all driver infs. New is the added long file name support and the subdir-reference support (ATI Drivers for example).

Last update 25 october 2005 [bETA]:

-Added Long File Name support

-Added Subdir-reference support

-Improved dependant files check (minor)

-Fixed truncated extension on decompress (minor)

-End of line detection added to tagscanner (minor)

For the fast please download it again. I found some glitches :rolleyes:

Here is an example of new code added to detect Subdirs in the SourceDisksNames section:

:FindSourceDir
SET id.nr=%id.nr: =%
SET id.path=%id.path:,=:#%
SET id.path=%id.path:*:=%
FOR /F "tokens=3 delims=:" %%i IN ('ECHO "%id.path:~1,-1%"') DO (
SET id.path=%%i
)
SET id.path=%id.path:#=%
SET id.path=%id.path:"=%
IF DEFINED id.path (
IF /I EXIST "%id.path%" (
SET id.dir.%id.nr%=%id.path%
) ELSE (
SET id.dir.%id.nr%=.
)
) ELSE (
SET id.dir.%id.nr%=.
)
GOTO :EOF

Edited by hp38guser
Link to comment
Share on other sites

Not sure if I understand how DriverCompressor works or not ...

I run the compress.cmd in the driver directory .. it creates new subdirectories .. and copies files there.

But does it create a CAB file? or do I have to do that on my own??

And what do I do with the CAB file? where do i put it on the unattended CD??

Sorry for not getting the full gist of this...

Link to comment
Share on other sites

hp38guser :hello:

Good work! Unfortunatelly I can't try it right now because I've already CABed all my drivers with your previous version :thumbup but I'll try next week when we get a new computer (with some new drivers I suppose :D

jrxnelson

When you run this file in a folder with a driver files it will leave only needed files, CABs them like FILE.SY_ and deletes the other files from this folder. (I suppose, new version will make sub-folders into CABs?)

Then you can use compressed files like you did with uncompressed ;) but now your drivers will take less place on your installation CD or on your hard drive.

Edited by Oleg_II
Link to comment
Share on other sites

Last update for now. Sorry for the inconvience, but testing is a bit hard with all kinds of drivers.

@Oleg_II:

All output is copied to a new subdirectory called %Class%\%Drivername% to avoid overwriting existing files.

Link to comment
Share on other sites

  • 3 weeks later...

i use the tool before... last time ... but having problem... with some driver...

but by reading all the post here... i might get a try for it since my drivers is getting bigger now =)

thanks for keep it up hp38guser

Opps.. i try to compress realtek drivers A3.78 and run in WDM folders....

i get a 403MB MEDIA folder....

Edited by cyberloner
Link to comment
Share on other sites

no idea if other people have this problem but it does not work with nvidia ethernet drivers, it just makes the folder containing the inf files and nothing more

here's a error report

++++++++++++++++++++++++++++++++++++++
Driver Compressor Tool

®2005 Klaas Nekeman
____________________________________
msfn.org - for your unattended needs
++++++++++++++++++++++++++++++++++++++
_______________________________

Setupfile: nvenetfd.inf
Setupdir: \Net\nvenetfd
_______________________________

File: nvenetfd.inf
File: NVENETFD.CAT
FINDSTR: Cannot open \nvefd2k.sys
File: nvefd2k.sys
Could Not Find C:\Documents and Settings\Lemonzest\Desktop\nForce_430_410_8.22_w
inxp2k_international\Ethernet\Net\nvenetfd\nvefd2k.sys
FINDSTR: Cannot open \nvefdxp.sys
File: nvefdxp.sys
Could Not Find C:\Documents and Settings\Lemonzest\Desktop\nForce_430_410_8.22_w
inxp2k_international\Ethernet\Net\nvenetfd\nvefdxp.sys
FINDSTR: Cannot open \fdco1.dll
File: fdco1.dll
Could Not Find C:\Documents and Settings\Lemonzest\Desktop\nForce_430_410_8.22_w
inxp2k_international\Ethernet\Net\nvenetfd\fdco1.dll

Setupfile: nvnetbus.inf
Setupdir: \%Vendor_ClassName%\nvnetbus
_______________________________

File: nvnetbus.inf
File: nvnetbus.cat
FINDSTR: Cannot open \nvnetbus.sys
File: nvnetbus.sys
Could Not Find C:\Documents and Settings\Lemonzest\Desktop\nForce_430_410_8.22_w
inxp2k_international\Ethernet\%Vendor_ClassName%\nvnetbus\nvnetbus.sys
FINDSTR: Cannot open \nvnrm.sys
File: nvnrm.sys
Could Not Find C:\Documents and Settings\Lemonzest\Desktop\nForce_430_410_8.22_w
inxp2k_international\Ethernet\%Vendor_ClassName%\nvnetbus\nvnrm.sys
FINDSTR: Cannot open \nvsnpu.sys
File: nvsnpu.sys
Could Not Find C:\Documents and Settings\Lemonzest\Desktop\nForce_430_410_8.22_w
inxp2k_international\Ethernet\%Vendor_ClassName%\nvnetbus\nvsnpu.sys
FINDSTR: Cannot open \bdco1.dll
File: bdco1.dll
Could Not Find C:\Documents and Settings\Lemonzest\Desktop\nForce_430_410_8.22_w
inxp2k_international\Ethernet\%Vendor_ClassName%\nvnetbus\bdco1.dll
FINDSTR: Cannot open \nvconrm.dll
File: nvconrm.dll
Could Not Find C:\Documents and Settings\Lemonzest\Desktop\nForce_430_410_8.22_w
inxp2k_international\Ethernet\%Vendor_ClassName%\nvnetbus\nvconrm.dll

Done.

Please visit msfn.org for further information and updates:

http://www.msfn.org/board/index.php?showtopic=35869

Press any key to continue . . .

thats just from extracting the driver installer with winrar and running the batch file from the ethernet folder, works fine with the other folder in the nForce drivers. ethernet problem with all nForce drivers versions 5.10/11 6.39/53/66/67/70 and 8.22

Thankyou.

Lemonzest

edit: does not work with creative drivers either.

Edited by Lemonzest
Link to comment
Share on other sites

Driver Compressor

Compress drivers to save space on removable media

Program is open source, so open for improvement. Suggestions are welcome.

Info:

Compressed drivers can get installed as any normal driver:

  • OemPnPDriversPath
  • nLite
  • manual installation
  • WHQL kept

Benefits:

  • Smaller files on installation media
  • Seperate drivers from the extra's.

Usage:

Copy compress.cmd to the driver dir and execute it.

The detected driver files are created in new subdirectories, so make sure you have write-access.

When you receive errors running the batch or the result is not as expected please tell me on which driver this behaviour occured and if possible provide me a downloadlink to the driver package

Limitations

- Driver Compressor only processes inf's in the directory it's working directory.

Download :

drv_comp.cmd

Last update 27 october 2005:

-Fixed truncated extension on decompress (minor)

25 october 2005:

- Added Long File Name support

- Added Subdir-reference support

- Improved dependant files check (minor)

- End of line detection added to tagscanner (minor)

28 august 2005:

- Minor GUI fixes

- Fixed invalid call causing strange behaviour in specific situations (minor)

03 may 2005:

- Changed detection of Driver class

- Added Tab as delimiter in inf parser

13 march 2005:

- Changed handling of inf's containing no driver signature

- Windows NT detection added (batch won't run on 9x systems)

- Fixed issue about driver files got placed into subfoldertree

- Minor GUI changes

8 march 2005:

- Fixed bug when driver-inf doesn't contain any files to install (Intel Inf drivers)

- Added PAUSE at program exit.

there is some problem when I use the Driver Compressor Tool 7.02 to compresse the Intel Corporation graphics adapter drivers.the program print this infomation :"can't open the *.lrc,don't find *.lrc files" but these files is good.

Link to comment
Share on other sites

  • 2 weeks later...

Hello, Using 10/27/05 version it cannot compress Intel 8255x-based PCI Ethernet Adapters

(e100b325 Version 8.0.19)

I attached to this message the inf file used, check that the SourceDiskFiles required to work recides in the same folder:

[SourceDisksFiles]
e100b325.din = 1,,
e100bnt5.din = 1,,
e100b325.sys = 1,,
e100bnt5.sys = 1,,
Prounstl.exe = 1,,
IntelNic.dll = 1,,
e100bmsg.dll = 1,,

So I have included them in the same folder, plus the .cat file.

The error driver compressor drop me is this:

Setupfile: e100b325.inf
Setupdir: \Net\e100b325
_______________________________

File: e100b325.inf
File: e100b325.cat
FINDSTR: Cannot open \e100b325.din
File: e100b325.din
Could Not Find D:\Users\zerospeed\Desktop\e100b325\Net\e100b325\e100b325.din

The same error for each one of the SourceDiskFiles section...

Maybe :FindSourceDir is reporting "root" of the drive, instead of the current folder from which I executed drv_comp?

e100b325.zip

Edited by zerospeed
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...