MSFN Forum: Driver Compressor - MSFN Forum

Jump to content



  • 7 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

Driver Compressor Rate Topic: ***** 2 Votes

#81 User is offline   Wiener 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 07-January 04

Posted 10 May 2005 - 09:38 AM

Great script!

I have a couple of issues:

- Matrox drivers include file names with spaces. The process seems to choke on these. For example the files are - "Multi-Display Utility.exe"; "Multi-Display UtilityEng.cnt"; "Multi-Display UtilityEng.hlp" etc.
When Compress is run against these, I get Error: Multi-Display not found! for each similar entry in the INF file.

- Intel e1000325.inf. I get Error: Class in e1000325.inf not found!
Yet, the e100a325.inf file gets parsed perfectly fine as does e100b325.inf.
The first few lines of the failing e1000325.inf file are:
[Version]
Signature = "$Windows NT$"
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider = %Intel%
CatalogFile = e1000a325.cat
DriverVer=10/28/2003,7.3.13.0
[Manufacturer]
%Intel%=Intel, NTx86, NTIA64

The first few lines of the working e100a325.inf file are:
[Version]
Signature = "$Windows NT$"
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider = %V_INTEL%
CatalogFile = e100a325.cat
DriverVer = 03/04/2005,8.0.19.0

[Manufacturer]
%V_INTEL% = Intel, NTx86


#82 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 10 May 2005 - 12:49 PM

Wiener, please provide links to the specific drivers you have problems with.

#83 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 28 August 2005 - 07:33 AM

Bump this one. Found a small glitch with stupid driver :hello:

#84 User is offline   kyuuzo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 26-August 04

Posted 28 August 2005 - 07:57 AM

I'm trying to run this on Nvidia 77.77 drivers and this is the result.
Any ideas?

 
        Setupfile: nv4_disp.inf

'findstr' is not recognized as an internal or external command,
operable program or batch file.
        Error:  Class in nv4_disp.inf  not found!

Press any key to continue . . .

        Done.
 


#85 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 28 August 2005 - 08:04 AM

Did you use nLite to remove the command line utilities?

You can extract those from your original Windows CD:
expand.exe
find.exe
findstr.exe
makecab.exe


I should add more checks to protect the dumb...

This post has been edited by hp38guser: 28 August 2005 - 08:39 AM


#86 User is offline   kyuuzo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 26-August 04

Posted 29 August 2005 - 10:11 AM

hp38guser, on Aug 28 2005, 08:04 AM, said:

Did you use nLite to remove the command line utilities?

You can extract those from your original Windows CD:
expand.exe
find.exe
findstr.exe
makecab.exe


No, but I realized that my path variable was screwed up.

Thanks

#87 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 29 August 2005 - 10:22 AM

I thought exactly. These 4 utilities are not removed with latest nLite. Nice to see you found your problem

#88 User is offline   manlio4 

  • Group: Members
  • Posts: 1
  • Joined: 30-August 05

Posted 30 August 2005 - 01:55 AM

Hello my name's Manlio Moreno and i find wrong line 110, the solution is replace character `for ' its all

sorry my english is bad

bye :hello: .

#89 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 30 August 2005 - 11:22 AM

Yeah, I forgot I change that. It's hard for me to read the code after vacation

#90 User is offline   mGforCe 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 23-January 05

Posted 17 September 2005 - 02:24 PM

Thnx a lot for your cool tool.. Using it to compress drivers which will be used in Drivers From CD (AutoIt ) Method

#91 User is offline   Crash&Burn 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 364
  • Joined: 11-March 05
  • OS:2000
  • Country: Country Flag

Posted 13 October 2005 - 04:28 PM

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.

#92 User is offline   Oleg_II 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 679
  • Joined: 06-August 04

Posted 15 October 2005 - 09:30 AM

hp38guser
Good work, thanx!

Crash&Burn
I have makecab.exe on my Windows 2000 Professional B)

#93 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 16 October 2005 - 12:17 PM

View PostCrash&Burn, on Oct 14 2005, 12:28 AM, said:

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

#94 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 25 October 2005 - 11:42 AM

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

This post has been edited by hp38guser: 26 October 2005 - 10:42 AM


#95 User is offline   jrxnelson 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 22-October 04

Posted 26 October 2005 - 11:39 PM

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

#96 User is offline   Oleg_II 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 679
  • Joined: 06-August 04

Posted 27 October 2005 - 10:22 AM

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.

This post has been edited by Oleg_II: 27 October 2005 - 10:23 AM


#97 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 27 October 2005 - 12:13 PM

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.

#98 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,756
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 November 2005 - 06:35 AM

God I love this tool thanks.

#99 User is offline   cyberloner 

  • OCMania.com
  • PipPipPipPip
  • Group: Members
  • Posts: 535
  • Joined: 19-July 05

Posted 13 November 2005 - 07:05 AM

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

This post has been edited by cyberloner: 13 November 2005 - 07:07 AM


#100 User is offline   Lemonzest 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 23-February 04

Posted 13 November 2005 - 06:54 PM

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.

This post has been edited by Lemonzest: 13 November 2005 - 06:57 PM


Share this topic:


  • 7 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy