• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
mystek

Including nLite Driver CABs

30 posts in this topic

Has anyone used nLite to create a updated driver.cab file to add specific drivers to a build and incorporated that with HFSLIP? Is it possible or is there a better or preferred method?

0

Share this post


Link to post
Share on other sites

If you want to add or replace files in DRIVER.CAB/SP*.CAB you can always use the HFEXPERT\DRIVERCAB folder. I introduced this some time ago but to my knowledge nobody took advantage of it yet. Experiment with it if you like. It only works with merging options A, B or C.

Edited by Tomcat76
0

Share this post


Link to post
Share on other sites

Searched for info on the HFEXPERT\DRIVERCAB folder. Couldn't find any? Do you have a link?

OK, this link http://www.msfn.org/board/index.php?showto...02&hl=DRIVERCAB

Oleg II recommends creating a HFDRV folder in HFSLIP directory to add your drivers there.

one of your posts:

Added DRIVERCAB feature. This is intended to replace existing files in the DRIVER.CAB file. Create the folder DRIVERCAB inside HFEXPERT and place your files in there. This only works with merging options A, B and C. Files in SP*.CAB and newer driver binaries are also replaced.

here you say this is to replace existing files? I am confused, which method do I start with?

Edited by mystek
0

Share this post


Link to post
Share on other sites

You can add new files too with HFEXPERT\DRIVERCAB. It's not limited to overwriting existing files.

But if files need to be modded you're on your own; I just provided a way to add/replace files into DRIVER.CAB.

Edited by Tomcat76
0

Share this post


Link to post
Share on other sites

OK, so when you say add/replace you mean update existing? or can you actually add new?

0

Share this post


Link to post
Share on other sites

See above. We're trapped in a vicious circle of updating our own posts... :D

0

Share this post


Link to post
Share on other sites

OK, I am going to try to extract the Driver.CAB from nLite that includes the drivers for my Alienware Aurora m7700 laptop and add them in to a new folder HFEXPERT\DRIVERCAB and see how it works.

The overall goal is to get a lean secure platform for testing and development of different platforms through VM. Eventually I plan on using FDV's file set for W2K3 server as the base OS but for now I am trying to get familiar with HFSLIP, seems really awesome. :thumbup

Edited by mystek
0

Share this post


Link to post
Share on other sites

Just be sure to check if there are any additional files besides the ones inside DRIVER.CAB that need to be included. All HFSLIP does is add the files from HFEXPERT\DRIVERCAB into DRIVER.CAB and update DRVINDEX.INF.

0

Share this post


Link to post
Share on other sites

Tomcat76

If I will extract and put Sneaky's DriverPack to HFEXPERT\DRIVERCAB will be work? Or I need to extract and put all files from folders to one folder? :huh:

0

Share this post


Link to post
Share on other sites

The DriverPack won't be integrated. I've taken a look at it some time ago and HFSLIP needs to be updated to support it.

0

Share this post


Link to post
Share on other sites

One last question before I try this, do I need the edited SETUPAPI.DLL and do I just put the drivers in the folder i.e (ar5211.sys, net5211.inf, and net5211.cat) for my wireless card? And add the rest of the drivers as individual associated files?

0

Share this post


Link to post
Share on other sites

You know... I don't know anything about installing drivers. I never delved into that.

All I did was provide the means to add files into DRIVER.CAB. For whatever purpose.

0

Share this post


Link to post
Share on other sites

I checked nLite drivers, (Not in the driver cab file) and he puts the drivers in separate folders 0 ... 9. Do you know if DRIVERCAB will allow that and have HFSLIP incorporate them? The reason I ask is that 2 drivers have a layout.bin and data1.cab file so if I try to copy them to the same folder they want to overwight the previous one. I looked in the nVidia GeForce 7800 FX video inf and found no reference to either file so I am not sure where to go from there.

0

Share this post


Link to post
Share on other sites

Subfolders aren't supported. I don't know about layout.bin, but I know that even with the HFDRV feature you need to unpack that data1.cab archive (and edit the installation INF file).

Edited by Tomcat76
0

Share this post


Link to post
Share on other sites

@mystek - Read what Tomcat said a few lines up. To rephrase, all hfslip does is pack additional files into the driver.cab file and update the drvindex.inf file. If what you are saying about NLITE making additional folders, you're probably better off just using the OEM method of drivers because it's doing the same exact thing. If you are on the quest for the smallest installation cd, I may suggest doing some homework on the link that murvun posted above. I'm in the same boat as Tomcat with driver stuff. I've been using the OEM method for years and it works 100% of the time.

0

Share this post


Link to post
Share on other sites
The DriverPack won't be integrated. I've taken a look at it some time ago and HFSLIP needs to be updated to support it.

Do you plan to add the support for BTS? :rolleyes:

0

Share this post


Link to post
Share on other sites
Subfolders aren't supported.
Without some modifications. :thumbup

Actually, right now I'm rather stumped on how to get my SATA drivers working at textmode. :huh: For now I just keep nLiting it, but once I learn more about how it's done I'll happily incorporate it into HFSLIP. That'll probably be a while though, since nLite makes it so much easier. ;)

0

Share this post


Link to post
Share on other sites
The DriverPack won't be integrated. I've taken a look at it some time ago and HFSLIP needs to be updated to support it.

Do you plan to add the support for BTS? :rolleyes:

I had a quick look at it some time ago but that wasn't enough to figure out how the DriverPacks work. Coding it is fairly easy... but figuring out what needs to be done is something else.
Subfolders aren't supported.
Without some modifications. :thumbup
Adding support for subfolders is trivial. I just need to know how files inside them are being accessed. Should DRVINDEX.INF have lines like these?

01\myfile.inf

01\myfile.cab

02\myfile.sys

02\myfile.drv

0

Share this post


Link to post
Share on other sites

I don't have any clue. I just made it so it can grab all the files from their proper subfolders and shove them into the same place, as well as not activating HFDRV if there are no .inf files in those subfolders. That way I could also add an _UNUSED folder for archiving older drivers and stuff. For the drivers I tested it worked fine(display drivers), but I still had to use nLite for the textmode portion.

A little off-topic, but could you change this line:

START /WAIT SP\i386\update\update.exe -u -n -o -q -s:%~dp0SOURCE\

To this?

START /WAIT SP\i386\update\update.exe -u -n -o -q -s:"%~dp0SOURCE\"

0

Share this post


Link to post
Share on other sites

Looking at Tomcat76's post, the folder structure 01\mydriver.sys is how it is done in nLite and I would think it would work well for HFSLIP. That way two files with the same name wouldn't/shouldn't overwrite each other. Also I am trying to deal with textmode USATA drivers too. I will try to check how nLite deals with them since they work well if nLited.

Edited by mystek
0

Share this post


Link to post
Share on other sites

Kramy, to make your SATA drivers slipstreamed do it manually. Here's what I did in my source folder.

Edit the txtsetup.sif to add the appropriate driver files and other settings. You'll have to makecab the binaries and throw them into the source\i386.

Here's what I add to my txtsetup. This is for a via sata/raid mobo.

[sourceDisksFiles]

viapdsk.sys = 1,,,,,,4_,4,1,,,1,4

viamraid.sys = 1,,,,,,4_,4,1,,,1,4

[HardwareIdsDatabase]

PCI\VEN_1106&DEV_3249 = "viamraid"

PCI\VEN_1106&DEV_3149 = "viamraid"

PCI\VEN_1106&DEV_3164 = "viamraid"

PCI\VEN_1106&DEV_4149 = "viapdsk"

[sCSI.load]

viamraid = viamraid.sys,4

viapdsk = viapdsk.sys,4

[sCSI]

viapdsk = "VIA ATA/ATAPI Host Controller"

viamraid = "VIA SATA RAID Controller"

All I have to say about the BTS installer is this. I read thru the bts installer a while back and what it does is replace your setup files with his own. This doesn't really lend itself nicely to slipstreaming other things. Because your windows setup files are being replaced with his, you will get NLITE problems, as evident on the NLITE boards. Just a word of caution thats all. Then again, his installer I looked at was from a while back, perhaps by now he tweaked things to make them better. See the above crazy code? That is what would have to be automatically generated by hfslip.

0

Share this post


Link to post
Share on other sites

edit: removed post because i didnt read all the threads properly. I originally suggested a possible way of adding driverpack support but hadnt read all the info fully. From what people say, the big problems are all the .inf files point to special driver directories under weird names. Looks extremely difficult to do and time consuming to do.

Edited by Axed
0

Share this post


Link to post
Share on other sites

@Axed: True. It won't make it into the planned final.

@Kramy: Done.

0

Share this post


Link to post
Share on other sites

tommyp

See the above crazy code? That is what would have to be automatically generated by hfslip.

How about BTS slipstream_DPM.cmd ? B)

Edited by x-pert
0

Share this post


Link to post
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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.