Jump to content

my drivers Inf files to drivers.cab?


Recommended Posts


Posted

You don't have to put it into the drivers.cab. Compress your files using makecab via cmd and copy your files into the I386 directory. Then you have to edit dosnet.inf and txtsetup.sif.

dosnet.inf:

[Files]

d1,YourFile

d1,AnotherFile

d1,FilesETC

txtsetup.sif:

[sourceDisksFiles]

YourFile = 1,,,,,,,2,0,0

AnotherFile = 1,,,,,,,2,0,0

FilesETC = 1,,,,,,,2,0,0

Windows will now install these files on your hd. :)

Posted

can you explain it more clearly... :)

example i have this files: :rolleyes:

1.cab as all of my drivers

1.inf as the installer of the drivers

1.sys as the drivers

how can i edit the DOSNET.inf & TXTSETUP.sif?

Posted

Start to compress these files using makecab. Example:

makecab C:\path\to\files\1.cab

makecab C:\path\to\files\1.inf

makecab C:\path\to\files\1.sys

You should now have 3 new files:

1.ca_

1.in_

1.sy_

Copy these 3 files to your I386 directory.

Now look for dosnet.inf in the I386 directory and open it with notepad. Add the files to [Files]:

d1,1.cab

d1,1.inf

d1,1.sys

Now look for txtsetup.sif and open it with notepad. Add the files to [sourceDisksFiles].

1.cab = 1,,,,,,,2,0,0

1.inf = 1,,,,,,,2,0,0

1.sys = 1,,,,,,,2,0,0

Posted

can we update files in driver.cab like update nvidia driver from ver:28.xx (i think) to newest one... using this method.. and one other thing if we use gosh's reduced source method txtsetup.sif is the only file we have to edit isn't it? :)

i'm sorry if its been discussed before

Posted

i tried it for ten time but it won't work :)

here my files:

edited TXTSETUP.SIF

[SourceDisksFiles]
; Drivers for my PC
DRIVERS\sm56hlpr.exe = 1,,,,,,,2,0,0
DRIVERS\sm56co.dll = 1,,,,,,,2,0,0
DRIVERS\domestic.chm = 1,,,,,,,2,0,0
DRIVERS\sm56.reg = 1,,,,,,,2,0,0
DRIVERS\IntelH51.cat = 1,,,,,,,2,0,0
DRIVERS\sm56nt5.cat = 1,,,,,,,2,0,0
DRIVERS\IntelH51.inf = 1,,,,,,,2,0,0
DRIVERS\Nehcd.inf = 1,,,,,,,2,0,0
DRIVERS\smserial.inf = 1,,,,,,,2,0,0
DRIVERS\IntelH51.sys = 1,,,,,,,2,0,0
DRIVERS\nehcd.sys = 1,,,,,,,2,0,0
DRIVERS\nusb2hub.sys = 1,,,,,,,2,0,0
DRIVERS\nusbd.sys = 1,,,,,,,2,0,0
DRIVERS\SmSerial.sys = 1,,,,,,,2,0,0

Posted
[sourceDisksFiles]; Drivers for my PC

DRIVERS\sm56hlpr.exe = 1,,,,,,,2,0,0

DRIVERS\sm56co.dll = 1,,,,,,,2,0,0

DRIVERS\domestic.chm = 1,,,,,,,2,0,0

DRIVERS\sm56.reg = 1,,,,,,,2,0,0

DRIVERS\IntelH51.cat = 1,,,,,,,2,0,0

DRIVERS\sm56nt5.cat = 1,,,,,,,2,0,0

DRIVERS\IntelH51.inf = 1,,,,,,,2,0,0

DRIVERS\Nehcd.inf = 1,,,,,,,2,0,0

DRIVERS\smserial.inf = 1,,,,,,,2,0,0

DRIVERS\IntelH51.sys = 1,,,,,,,2,0,0

DRIVERS\nehcd.sys = 1,,,,,,,2,0,0

DRIVERS\nusb2hub.sys = 1,,,,,,,2,0,0

DRIVERS\nusbd.sys = 1,,,,,,,2,0,0

DRIVERS\SmSerial.sys = 1,,,,,,,2,0,0

Yep, uhm that's wrong... It has to be like this:

[sourceDisksFiles]; Drivers for my PC

sm56hlpr.exe = 1,,,,,,,2,0,0

sm56co.dll = 1,,,,,,,2,0,0

domestic.chm = 1,,,,,,,2,0,0

sm56.reg = 1,,,,,,,2,0,0

IntelH51.cat = 1,,,,,,,2,0,0

sm56nt5.cat = 1,,,,,,,2,0,0

IntelH51.inf = 1,,,,,,,2,0,0

Nehcd.inf = 1,,,,,,,2,0,0

smserial.inf = 1,,,,,,,2,0,0

IntelH51.sys = 1,,,,,,,2,0,0

nehcd.sys = 1,,,,,,,2,0,0

nusb2hub.sys = 1,,,,,,,2,0,0

nusbd.sys = 1,,,,,,,2,0,0

SmSerial.sys = 1,,,,,,,2,0,0

using 1,,,,,,,2,0,0 means your drivers get installed to your System32 directory. If you want them to be installed into the DRIVERS directory use = 1,,,,,,,4,0,0 instead. But the System32 directory is the right place to get them copied to... :)

Posted

Well I read over this, and I understand it all, but one question. What file types/files are needed to do this? For instance, I want to integrate nVidias display drives. There is a buttload of stuff I know wont been needed. But what will? Just dll, sys, inf, cat files? Hope somebody knows what I mean. :)

Posted

why don't u just put them all?

u can remove *.bmp *.txt *.iss *.inx *.ini *.bin

setup.exe *.hlp if u don't want them

ikernel

data1.hdr

i'm not sure what's in data1.cab & data2.cab they're probably setup needed files.

also i think it would be best if u edited that post with txtsetup.inf

its quite long and the portion after your files are unneccessary.

Posted
[sourceDisksFiles]; Drivers for my PC

sm56hlpr.exe = 1,,,,,,,2,0,0

sm56co.dll = 1,,,,,,,2,0,0

domestic.chm = 1,,,,,,,2,0,0

sm56.reg = 1,,,,,,,2,0,0

IntelH51.cat = 1,,,,,,,2,0,0

sm56nt5.cat = 1,,,,,,,2,0,0

IntelH51.inf = 1,,,,,,,2,0,0

Nehcd.inf = 1,,,,,,,2,0,0

smserial.inf = 1,,,,,,,2,0,0

IntelH51.sys = 1,,,,,,,2,0,0

nehcd.sys = 1,,,,,,,2,0,0

nusb2hub.sys = 1,,,,,,,2,0,0

nusbd.sys = 1,,,,,,,2,0,0

SmSerial.sys = 1,,,,,,,2,0,0

i already did it!, in my ten times of trying but no luck :rolleyes:

i know all the files of my drivers go to SYSTEM32 folder

but how it SETUP unattendedly if it just do EXTRACT to Folder command :/

or i have to edit my WINNT.SIF to unattended install it¿¿¿

is there easiest method to use???

did you use this method too? :)

-=[serialzs]=-

Posted

So, you want to install your drivers, huh?

Ok! It's getting a little difficult now. You first have to find out wich of your INF-Files will start the installation of your hardware (modem). Go to: Open the hardware dialog and start to install the drivers manually. Tell Windows to select the folder with the *.inf by yourself. Hopefully the hardware setup will select the right inf itself. Remember this inf file.

Open this inf file with notepad. How to proceed depends on what is stored in this file. Show me the whole content of this file and I think about how to execute the installation.

Posted
So, you want to install your drivers, huh?

YES! :rolleyes:

how can i use my devices if its not installed :)

the $OEM$\$1\Drivers folder works great but i want my

drivers to be compressed...

if there is a method that can extract the *.cab files much great.

like DRIVERS.CAB it extracted thats why the plug-n-play drivers

and other knowned devices installed and that is my plan to do with

my drivers...

-=[serialzs]=-

Posted

yea forgot to mention.

that nv4disp.inf adds lots of stuff to the registry.

i haven't tried to just use the inf but u've to start installing the .inf

1 thing u could do (i think, haven't tried it)

windows setup already comes with an old version of nv4disp.inf, so it doesn't have the control panel stuff and lots of other files.

so change your nv4 inf in the i386 folder with the new driver. and i think u should be okay with it...

after adding the inf it'll look for the files mentioned in the inf appropiate for your hardware. so put those files in i386 folder or drivers.cab...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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