Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Acheron

Driver Compressor

Recommended Posts

Fonceur, problem solved. Difficult to track this one but the error was caused by difference in capitalization of filenames that broke the code.

:hello:

Share this post


Link to post
Share on other sites

I just got an idea:

Would it be possible to make the script search for inf's in multiple folders?

i.e:

running the script from <root> scanning subfolders:

<root>\iiyama Drivers\CRT Monitor\<model1>

<root>\iiyama Drivers\CRT Monitor\<model2>

<root>\iiyama Drivers\CRT Monitor\<model3>

etc etc...

the output folders would still be:

<root>\iiyama Drivers\CRT Monitor\<model1>\<folder with compressed files>

<root>\iiyama Drivers\CRT Monitor\<model2>\<folder with compressed files>

<root>\iiyama Drivers\CRT Monitor\<model3>\<folder with compressed files>

This would really help me as I have a whole bunch of drivers that I pulled from serveral CD's and I want to compress them for integration...

Edited by Ghost82

Share this post


Link to post
Share on other sites

This is a amazing tool. Can you make a version that compress all the files into one folder and copy all the inf's into that folder. Because some driver installs share alot of files, with the current method it creates semi-redundant folders.

Share this post


Link to post
Share on other sites

I'm having problems using compress.cmd with Intel INF files.

I followed the instructions form this post

and copy the 68 files (.cat & .inf) to a new folder.

The I ran compress.cmd and got this resulting screen.

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

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

       Setupfile:      815.inf

       Setup directory:        \System\815.

       File:   815.inf
       1 file(s) copied.
       File:   815.cat
       1 file(s) copied.
) was unexpected at this time.

S:\_building_\nlite_drivers_raw\intel_inf>

Only 815 gets created.

Following the post, isn't suppossed multi-inf directories could be parsed?

I have attached (7z) the intel_inf folder for your testing.

(it is based on 1012 chipset inf from intel site).

Thanks

Zero

intel_inf.7z

Share this post


Link to post
Share on other sites

WOW this is a cool tool :thumbup

I tried it on all of my drivers that I have on my 2000 CD and my ISO is now a 100megs smaller!

:thumbup

I still have to test it yet though I'll let you know how it turns out.

Share this post


Link to post
Share on other sites

this tool trimmed down my 30mb nvidia71.90 driver down to 6.36mb :whistle:

Share this post


Link to post
Share on other sites

zerospeed, I fixed it.

However the Intel Inf updates doesn't install any files, so using the driver compressor is useless for that one.

Share this post


Link to post
Share on other sites

I just had an interesting idea...wouldn't it work if you went through and changed the destionation directories to a predefined output directory and just processed the inf as if you were installing the driver. Of course this would only work on the system with the hardware but you would get the required files for installation for your specific configuration.

Share this post


Link to post
Share on other sites

After tring it on a lot of diferent drivers I have found a few gliches....

On SIS video driver the driver does not like the file SiSInst.dll compressed on install win2000 said could not find file. To fix it I just restored this file to original.

On ATI (and some others) there is a sub folder B_09006 were part of the driver is stored. Your utill reports thoughs files as not found. I copied all filles in that fold together with the rest and run the utill again worked fine, but on the install it came up looking for the files in this folder and I had to change the location. After install was complete the driver install did not work.

Any ideas? :blink:

Share this post


Link to post
Share on other sites

Here is the one for ATI: https://support.ati.com/ics/support/default.asp?deptID=894

When you d/l the driver and get it to unzip I go to .\wxp-w2k-catalyst-8-111-050222a-021277c\Driver\2KXP_INF this is were I run your utill but the missing files are in \wxp-w2k-catalyst-8-111-050222a-021277c\Driver\2KXP_INF\B_21349.

If I don't have the B_21349 with the files in it I get ask for location of the files.

I hope this helps.

Share this post


Link to post
Share on other sites

BaTLeZone, I suggest you to copy the infs in wxp-w2k-catalyst-8-111-050222a-021277c\Driver\2KXP_INF to the 2KXP_INF\B_21349 directory and run the compress.cmd from there. It's not a big issue

Share this post


Link to post
Share on other sites

So you are saying that I should use the B_21349?

so I would use...

$OEM$\$1\DRIVERS\B_21349

instead of..

$OEM$\$1\DRIVERS\v09

?

Runnning the util is not the problem the problem is when I do an auto install and a window come up saying can not find files in c:\DRIVERS\v09\.\B_07315. I have to keep changing it all the time. Or am I still doing something wrong?

Share this post


Link to post
Share on other sites

To answer the previous post using ATI drivers if not figured out yet.

My files, yours maybe different do to updates and what not.

005_ATI\B_20132\

Uncompressed files

005_ATI\

atiiseag.ini

C2_20455.inf

CX_20455.cat

CX_20455.inf

You Don’t need atiiseag.ini (I don’t think and also .cat files are only for windows file protection so if you disable might as well delete.)

copy C2_20455.inf

Copy CX_20455.inf

Copy compress.cmd

To: B_20132\

Run.. ignore errors..

Delete all in B_20132\ except folder Display (this is the new folder).

Explore the folder created if there is only an inf, delete (or ignore) that folder

if there are other files in the folder with inf select all except inf.

cut and paste to original B_20132 directory when finished delete

the Display folder.

This way items are still in original place but now compressed and extraneous

items have been removed.

After

\005_ATI\B_20132\

ati2cqag.dl_

ati2dvag.dl_

ati2edxx.dl_

ati2evxx.dl_

etc…….. compressed files

005_ATI \

C2_20455.inf

CX_20455.cat

CX_20455.inf

Share this post


Link to post
Share on other sites

Yes, you can actually create compressed drivers by moving the inf's to the right directory. Driver Compressor doesn't look for files in other directories than where it's run from.

P.S. What happens if you choose Windows to update your ati videocard and choose manually for the directory the installinf's are located. Does Windows look in subdirs to find files?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...