gmx Posted March 23, 2004 Share Posted March 23, 2004 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 .inf1 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...i was thinkin on the same lines.. now jbdeock's batches [to remove drivers] may come in handy here.. they have a list of files.. say for removing nvidia drivers. all we have to do is see in jbdeock's batches nvidia files are either replace them with newer ones if the file is present if not add them to driver.cab and make an entry in txtsetup.sif...correct me if i'm wrong Link to comment Share on other sites More sharing options...
XtremeMaC Posted March 23, 2004 Share Posted March 23, 2004 (edited) @echo offif not exist i386\graphics mkdir i386\graphicsif not exist i386\graphics\nvidia mkdir i386\graphics\nvidiaecho.echo moving filesecho.move i386\nv3.in_ i386\graphics\nvidiamove i386\nv4.in_ i386\graphics\nvidiamove i386\nv4_disp.in_ i386\graphics\nvidiamove i386\nvct.in_ i386\graphics\nvidiamove i386\nvdm.in_ i386\graphics\nvidiamove i386\nvts.in_ i386\graphics\nvidiamove i386\driver\nv3.dll i386\graphics\nvidiamove i386\driver\nv3.sys i386\graphics\nvidiamove i386\driver\nv4.dll i386\graphics\nvidiamove i386\driver\nv4.sys i386\graphics\nvidiamove i386\sp1\nv4_disp.dll i386\graphics\nvidiamove i386\sp1\nv4_mini.sys i386\graphics\nvidiaecho.echo creating logecho.echo nv3.inf>> temp.logecho nv4.inf>> temp.logecho nv4_disp.inf>> temp.logecho nvct.inf>> temp.logecho nvdm.inf>> temp.logecho nvts.inf>> temp.logecho nv3.dll>> temp.logecho nv3.sys>> temp.logecho nv4.dll>> temp.logecho nv4.sys>> temp.logecho nv4_disp.dll>> temp.logecho nv4_mini.sys>> temp.logecho.echo Updating setup filesecho.findstr /v /i /g:temp.log i386\txtsetup.sif > txtsetup.siffindstr /v /i /g:temp.log i386\dosnet.inf > dosnet.inffindstr /v /i /g:temp.log i386\drvindex.inf > drvindex.infmove txtsetup.sif i386\txtsetup.sifmove dosnet.inf i386\dosnet.infmove drvindex.inf i386\drvindex.infdel temp.logcopy and save this to anything u like u'll have to expand and update the sp1.cab and drivers.cab or alternatively i'm sure u can swap them or tell dosnet.inf and txtsetup.inf to use alternate location for them..edit: wait stop don't forget to add the inf to txtsetup.inf drvindex.inf and dosnet.infor better yet don't remove it from them just put the new inf in the folder. or something...good luck Edited March 23, 2004 by XtremeMaC Link to comment Share on other sites More sharing options...
gmx Posted March 23, 2004 Share Posted March 23, 2004 now all we need someone *hint* jdeboeck to comeup with batches to automate update drivers Link to comment Share on other sites More sharing options...
XtremeMaC Posted March 23, 2004 Share Posted March 23, 2004 (edited) dude that's not hard.i could do it now but i don't have the time.will do when i find the time Edited March 25, 2004 by XtremeMaC Link to comment Share on other sites More sharing options...
serialzs Posted March 23, 2004 Author Share Posted March 23, 2004 you can delete the NVIDIA Drivers thats good news : i will try that later...i made it and its working great!!!add some line in txtsetup.inf and winnt.sif use MAKECAB command to compress the drivers.Question about DRIVERS.CAB how it extracting and installing¿¿¿ :/ TXTSETUP.SIF[WinntDirectories]1 = "\"2 = system323 = system32\config4 = system32\drivers5 = system7 = system32\ras9 = system32\spool10 = system32\spool\drivers11 = system32\spool\drivers\w32x86\3can i insert a new NUMBER in TXTSETUP.SIF¿¿¿ example:999 = "%systemdrive%\Drivers"-=[serialzs]=- Link to comment Share on other sites More sharing options...
gmx Posted March 25, 2004 Share Posted March 25, 2004 *bump* Link to comment Share on other sites More sharing options...
serialzs Posted March 25, 2004 Author Share Posted March 25, 2004 @allfor those who want to compressed their driver and install it unattended...(alternative method for $OEM$\$1\Drivers folder)1. make a *.cab files: type > iexpress in RUN select > Create compressed files only add > Add all your Driver Files browse > where you want to put your *.cab files select > Save SED fileCOPY the *.CAB file to i386 foldernow You have a compressed Driver Files.Example i have mydriver.cab2. inside i386 folder edit DRVINDEX.INF(dont delete anything) add the bold text:[Version]signature="$Windows NT$"CabFiles=SP1,driver,[B]mydrivers[/B]add all the files in the mydriver.cab like this:*to make it easy open SED file with Notepad then COPY all the files you ADDEDExample:FILE0="sm56hlpr.exe"FILE1="sm56co.dll"FILE2="domestic.chm"FILE3="sm56.reg"FILE4="IntelH51.cat"FILE5="sm56nt5.cat"FILE6="IntelH51.inf"FILE7="Nehcd.inf"FILE8="smserial.inf"FILE9="IntelH51.sys"FILE10="nehcd.sys"FILE11="nusb2hub.sys"FILE12="nusbd.sys"FILE13="SmSerial.sys"if you paste it in DRVINDEX.INF delete the FILE##="" and it should be like this:[mydrivers]sm56hlpr.exesm56co.dlldomestic.chmsm56.regIntelH51.catsm56nt5.catIntelH51.infNehcd.infsmserial.infIntelH51.sysnehcd.sysnusb2hub.sysnusbd.sysSmSerial.sysadd the bold text[Cabs]driver=driver.cabSP1=SP1.cabmydrivers=mydrive.cab3. edit TXTSETUP.SIF[SourceDisksFiles]; Drivers for my PCmydrive.cab = 100sm56hlpr.exe = 100,,,,,,,45,0,0sm56co.dll = 100,,,,,,,45,0,0domestic.chm = 100,,,,,,,45,0,0sm56.reg = 100,,,,,,,45,0,0IntelH51.cat = 100,,,,,,,45,0,0sm56nt5.cat = 100,,,,,,,45,0,0IntelH51.inf = 100,,,,,,,45,0,0Nehcd.inf = 100,,,,,,,45,0,0smserial.inf = 100,,,,,,,45,0,0IntelH51.sys = 100,,,,,,,45,0,0nehcd.sys = 100,,,,,,,45,0,0nusb2hub.sys = 100,,,,,,,45,0,0nusbd.sys = 100,,,,,,,45,0,0SmSerial.sys = 100,,,,,,,45,0,045 means where you want to extract your files...You can change 45 = windows\temp folder4. edit WINNT.SIF[Unattended]OemPnPDriversPath="WINDOWS\TEMP"and thats all it works great to me hope to others too...-=[serialzs]=- Link to comment Share on other sites More sharing options...
gmx Posted March 26, 2004 Share Posted March 26, 2004 thanx serialz for the tip.... i'd rather remove files from driver.cab save space... Link to comment Share on other sites More sharing options...
Alexey Posted March 29, 2004 Share Posted March 29, 2004 @serialzsFirst of all, thank you.Secondly I have couple of question about details.You said:make cab file using iexpress. Right. What should I do in case of driver setup comtains folders (f.i. ATI or NVIDIA vireoadapters drivers)? iexpress doesn't allow to add folders into package. Absence of folders may cause error during installation. What can you offer?You said:45 means to extract files and mentioned windows\temp folder. Does it exactly mean that files will be extracted in %systemroot%\temp or how can I specify extraction plece directly (sorry for stuppid question but I need help on this).Thank you in advance. Link to comment Share on other sites More sharing options...
Alexey Posted March 29, 2004 Share Posted March 29, 2004 Sorry, I posted stuppid question (about "45"). Aswer is inside of txtsetup.sif.But another stuppid question was occured. What does it meam - 100 in stringNVIDIA.CAB = 100?I can't understand this string and W2k can't understand it as well :-((Please explain. Link to comment Share on other sites More sharing options...
serialzs Posted March 31, 2004 Author Share Posted March 31, 2004 @alexey1st of all im sorrie im busy this last few days...@ your first post:examples: inside c:\nvidiadrive.exemust have a *.cabinside c:\nvidia\filesdrive.sysdrive.infmust have another *.cabnvdia.cab ---------> files in c:\nvidia compressednvfiles.CAB ---------> files in c:\nvidia\files compressedyou have to make a new *.cab for the folders then add command to your TXTSETUP.SIF[WinntDirectories]45 = Temp -------> is for %systemroot%\TEMPadd this:999 = "temp\files" -------> is for %systemroot%\TEMP\FILESnote: always remember dont overwrite the other numbersi think you can use Nos. 200 - 999 for assigning where to extract.[sourceDisksFiles]; Drivers for my PCnvidia.cab = 100drive.exe = 100,,,,,,,45,0,0nvfile.cab = 100drive.sys = 100,,,,,,,999,0,0you must organize your files to extract without a problem@ 2nd postNVIDIA.CAB = 100100 -->is the folder location in CD, 100 means i386\ folderi dont test it in w2k, WinXP only but you can try it and you can add a post what you did to install...-=[serialzs]=- Link to comment Share on other sites More sharing options...
Alexey Posted April 1, 2004 Share Posted April 1, 2004 I did exactly the same as you adviced but it doesn't work!Maybe I'm stupid but I got the message during process the txtsetup.sif by install script: - error in 3rd string in SIF file - zero equal or wrong argument in 3rd string (I inserted driver's strings at the beginning of [sourceDisksFiles]). I tried to add direct direction what the .CAB is in [sourceDisksNames.x86] - I got error again, than I tried to copy .CAB file to hard disk via dosnet.inf - I got other error and I tired to repeat it.I started from simple package (folders didn't included) and I was fail. But I believe if you did it, I should make it as well. I suspect user error. Do you want to see changed files for having look where error is? I know it is not simple and unpleasant to search for error made by someone but I can't find it by myself...Sorry that I'm disturbing you... Link to comment Share on other sites More sharing options...
diesel_98a Posted April 3, 2004 Share Posted April 3, 2004 where does this go?[Cabs]driver=driver.cabSP1=SP1.cabmydrivers=mydrive.cabin the textsetup.sif or the drvindex.inf? Link to comment Share on other sites More sharing options...
Alexey Posted April 3, 2004 Share Posted April 3, 2004 You have to add it in drvindex.inf definitely. Link to comment Share on other sites More sharing options...
serialzs Posted April 3, 2004 Author Share Posted April 3, 2004 @alexeyi want to help you out!!! PLEASE post here your TXTSETUP.SIF and DRVINDEX.INFand the names of drivers that you want to extract...also include the name of CAB files...what OS are you using???i want to know the bugs in here too... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now