Jump to content

Problem with driver directory (integration)


 Share

Recommended Posts

Hi:

I don't know how to use a specific directory for my integrated drivers rather than the I386 standard from the installation source.

I've integrated the vmscsi disk driver as a test by adding the following lines:

Step 1: Editing DOSNET.INF

[Files]
d1,vmscsi.sys

Step 2: Editing TXTSETUP.SIF

[SourceDisksFiles]
vmscsi.sys = 1,,,,,,3_,4,1

[HardwareIdsDatabase]
PCI\VEN_104B&DEV_1040 = "vmscsi"

[SCSI.Load]
vmscsi = vmscsi.sys, 4

[SCSI]
vmscsi = "VMware SCSI Controller"

File drivers are directly copied into the I386 directory:

vmscsi.sys

vmscsi.inf

vmscsi.cat

Everything is fine, but if I want to change the source folder to an another one, i.e., I386\drivers\vmscsi, by editing DOSNET.INF:

[Directories]
d5 = \I386\drivers\vmscsi

[Files]
d5,vmscsi.sys

Then Setup don't find the driver. Also, I tried to add all driver files to DOSNET.INF:

[Directories]
d5 = \I386\drivers\vmscsi

[Files]
d5,vmscsi.sys
d5,vmscsi.inf
d5,vmscsi.cat

But NO go :( Is it possible to put the drivers in another subdirectory that is NOT \I386 (on the source CD)?? For example, on I386\drivers\vmscsi.

Thanks :)

PS: Note I'm NOT using the WINNT.SIF answer file, and I don't want to use it (I know this is possible with the OemPnpDriversPath directive, but I don't want an answer file in order to respect the original Setup behavior).

Edited by ponghy
Link to comment
Share on other sites


  • 3 weeks later...

First, thanks very much for your answer.

However, I've read your thread, but I don't find the solution to my problem. My problem is I've the driver files in separate directories, not in I386 like you, and Setup don't find the driver files when needed (in text-setup mode). You said You have to change the source path in DOSNET.INF and TXTSETUP.SIF. And I asked you How?. I've tried several methods, including the [OptionalSrcDirs] section, but no go...

Any clue?

Link to comment
Share on other sites

follow my guide i linked in my previous post. if you finished it do these steps:

1) open TXTSETUP.SIF

2) go to [sourceDisksNames.x86]

3) directly below that header add following two lines

300 = %cdname%,%cdtagfilei%,,\i386\my\drivers
301 = %spcdname%,%spcdtagfilei%,,\i386\my\drivers,1

instead of \my\drivers use the path you would like to have in the \i386 directory

4) go to [sourceDisksFiles]

5) change the entries for your custom files from

idecoi.dll   = 1,,,,,,,300,0,0
nvata.cat = 1,,,,,,,300,0,0
nvatabus.inf = 1,,,,,,,300,0,0
nvatabus.sys = 1,,,,,,,300,0,0
nvatabus.sys = 100,,,,,,,4,0,0,,1,4
nvcoi.dll = 1,,,,,,,300,0,0
nvraid.cat = 1,,,,,,,300,0,0
nvraid.inf = 1,,,,,,,300,0,0
nvraid.sys = 1,,,,,,,300,0,0
nvraid.sys = 100,,,,,,,4,0,0,,1,4
nvraidco.dll = 1,,,,,,,300,0,0

to

idecoi.dll   = 300,,,,,,,300,0,0
nvata.cat = 300,,,,,,,300,0,0
nvatabus.inf = 300,,,,,,,300,0,0
nvatabus.sys = 300,,,,,,,300,0,0
nvatabus.sys = 301,,,,,,,4,0,0,,1,4
nvcoi.dll = 300,,,,,,,300,0,0
nvraid.cat = 300,,,,,,,300,0,0
nvraid.inf = 300,,,,,,,300,0,0
nvraid.sys = 300,,,,,,,300,0,0
nvraid.sys = 301,,,,,,,4,0,0,,1,4
nvraidco.dll = 300,,,,,,,300,0,0

6) open DOSNET.inf

7) go to [Directories]

8) directly below that header add following line

d8 = \I386\my\drivers

9) go to [Files]

10) change the entries for your custom files from

d1,nvatabus.sys
d1,nvraid.sys

to

d8,nvatabus.sys
d8,nvraid.sys

I don't tested it but this should work. Be sure that the path in step 8) is the same specified in step 3)

Edited by an3k
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...