X-Savior Posted April 13, 2005 Author Share Posted April 13, 2005 Sorry, I jsut don't like "Auto" on something I can't control. I prefer to add the drivers my self so I have 100% Control over what is going into MY install. Just don't want my of my work being changed. Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted April 13, 2005 Share Posted April 13, 2005 Well, in fact you can run OemPnPDriversPath.cmd standalone, and you can change the path to your liking Link to comment Share on other sites More sharing options...
SilverHaze420 Posted April 14, 2005 Share Posted April 14, 2005 I am asking anyone who reads this...If you can make a program to scan a directory, and list all the file names it finds in a .TXT file. That way we can then copy and paste out of it and into our DRVINDEX.INF it will make maintaining the CAB a very simple matter. dir /b > filename.txtsimple enough if this is what you are talking about Link to comment Share on other sites More sharing options...
X-Savior Posted April 15, 2005 Author Share Posted April 15, 2005 Thank You VERY MUCH Silver!You caught me by surprise... I am quite familiar with the prompt but you blindsided me with that one. Problem Solved! That saves us a HUGE amount of time.Thank you for contributing! Link to comment Share on other sites More sharing options...
X-Savior Posted April 15, 2005 Author Share Posted April 15, 2005 STrange, it double posted on me. Link to comment Share on other sites More sharing options...
SilverHaze420 Posted April 15, 2005 Share Posted April 15, 2005 Glad to give back to the community Link to comment Share on other sites More sharing options...
erik_demon Posted April 15, 2005 Share Posted April 15, 2005 (edited) Hey I did some testing again today, and all worked great So I wrote a manual for this methodHere it is EDIT:Important!!If your driverpack has duplicated files (double filenames) Don't use this method!!Having_windows_preserve_the_drivers_beta_V1.zip Edited April 27, 2005 by erik_demon Link to comment Share on other sites More sharing options...
X-Savior Posted April 15, 2005 Author Share Posted April 15, 2005 Right On! I will read it tonight! I am now experimenting with XPlode to create a full menu system to let you choose what software to install during the Install Process. It is GREAT! Link to comment Share on other sites More sharing options...
X-Savior Posted April 17, 2005 Author Share Posted April 17, 2005 I don't know what everyone else thinks but This Thread should be moved to "Sticky" Very useful information for anyone who is looking to integrate drivers on a permenant basis. What do the Other 2400 People to have read this Thread Think? B) Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted April 17, 2005 Share Posted April 17, 2005 It's not 2400 people... it's 2400 views... of which easily 75 from me But you're definetely right Stickied! Link to comment Share on other sites More sharing options...
erik_demon Posted April 17, 2005 Share Posted April 17, 2005 Yeah! I agree with X-Savior.I think that alot of people here are very intersted in this method.I always hate it to install new devices because then I would have to get the driver CD (and I am so ***** lazy ) And i think that this is the same for a lot of people.Besides, we need testers!!Bashrat, can you make this a sticky, and can you move this topic to "Device Drivers" I think this huge topic is in the wrong place Now about the manual that I released, I will release an updated version tonight with some more detailes and with a lot less typos Link to comment Share on other sites More sharing options...
Beagz Posted April 17, 2005 Share Posted April 17, 2005 I am asking anyone who reads this...If you can make a program to scan a directory, and list all the file names it finds in a .TXT file. That way we can then copy and paste out of it and into our DRVINDEX.INF it will make maintaining the CAB a very simple matter. dir /b > filename.txtsimple enough if this is what you are talking about<{POST_SNAPBACK}>don't know if this helps but dir /s /b > filename.txtwill not only list files in primary but also all subdirs into a txt file. Link to comment Share on other sites More sharing options...
erik_demon Posted April 17, 2005 Share Posted April 17, 2005 @BeagzThanks, you are completely right. Without /S it doesn't work with subdirs.Now we face another problem.We only need the filenames without the subdir (we don't want subdirs in Drvindex.inf, because the hardware wizard will scan the entire .CAB file (subdirs included) Does anyone have an idea how to do this? Link to comment Share on other sites More sharing options...
Beagz Posted April 17, 2005 Share Posted April 17, 2005 ok here's what I got.first do a listing of all directories of DP and save to dirs.txtdir /s /a:d /b >dirs.txtnext parse the dirs.txt file and list all files in each dirfor /f %a in (dirs.txt) do dir /a:-d /b >test.txt %awhat I don't know how to do is to append the test.txt instead of rewriting it. Link to comment Share on other sites More sharing options...
Nazgul Posted April 17, 2005 Share Posted April 17, 2005 I think this should work:@ECHO OFFset output=%CD%\result.txtif exist "%output%" del /q "%output%"call :traverse "%cd%"goto EOF:traverse pushd %~f1 for %%I in (*) do ( if not exist "%output%" echo %%I >> "%output%" findstr /L /I "%%I" "%output%" > NUL if errorlevel 1 echo %%I >> "%output%" ) for /d %%I in (*) do ( call :traverse "%%I" ) popdgoto EOF:EOFBasically it's a modified OemPnPDriversPath.cmd from BTS' SriverPacks. What it does, is scan the current directory and subdirectories and list all files, without directory names, it finds in result.txt in the current directory. It's even smart enough to filter duplicate entries.@Beagz: To append to a file instead of overwriting it use >> filename.txt instead of > filename.txt Link to comment Share on other sites More sharing options...
Recommended Posts