I copied here from the first post, since we have now found a better way (see first post).
However, for backup sake, and for those who want to still use this method, here it is:
Drivers From CD (AutoIt Method)
Updated: 10/11/05
This is not my method. I merely tried out hp38guser's method, and outlined the steps.
Thanks also go out to Pyron for making SetupCopyOEMInf.exe, which is used in this method.
The info from this outline is from this post, and, more specifically: here, here, and here.
This is a method of automatically installing drivers (which are located on your CD), for devices that are plugged into the computer that WindowsXP is being installed on. This new way uses AutoIt. Why another way, you ask? The reason is simple:
This method does not need the use of a FAKE setup.exe, nor does it need extra lines in TXTSETUP.SIF (like other methods do). It's very simple and straightforward.
It's as easy as 1, 2, 3:
1. Download the attached zip file, and unzip its contents to $OEM$\.
(There are 4 files in the zip: AutoIt3.exe, Drivers.au3, SetupCopyOEMInf.exe, WatchDriverSigningPolicy.exe)
(These files will run from the CD, and are never even copied to the Hard Drive.)
2. Open up winnt.sif (located in i386), and add two lines under [GuiUnattended], as shown below:
Winnt.sif
[GuiUnattended] DetachedProgram = ".\system32\cmd.exe" Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J Autoit3.exe Drivers.au3)))"
(If you want more info on this coding, see this post.)
3. Place any drivers you want to have auto-detected into $OEM$\Drivers (you must create the directory).
Notes:
-= Plug'n Play devices are detected during Windows Setup after the DetachedProgram stage (which is when this script is run), so Windows Setup will detect and install all applicable drivers.
-= Any type of folder names can be used. (Don't worry about spaces in the folder names.) For example: "Wireless Card Drivers" will work just as well (even though there are spaces in the name) as "WiFi_Drivers". I've personally tested this method, and it works perfectly (I installed laptop OEM drivers, PCI card drivers, etc. - all without a problem).
-= Also, please note this method will not work for MassStorage Device drivers.
-= This method does not require any files to be copied over the the HDD - it runs totally from the CD.
If you are still confused, here is a sample XPCD layout (colors correspond to the steps above):
Sample CD Layout said:
│.......├───Drivers
│................├───C-Media CMI8738 6.39
│................├───Medion SAA7134 2.3.1.0
│................├───Monitor
│.......................├───AL712
│................├───nVidia ForceWare 77.72
│................├───Samsung ML-1210
│................├───Laptop
│.......................├───Touchpad
│.......................├───Infared 12.6
│.......├───AutoIt3.exe
│.......├───Drivers.au3
│.......├───SetupCopyOEMInf.exe
│.......├───WatchDriverSigningPolicy.exe
├───I386
│.......├───winnt.sif
Updates:
08/01/05: Re-uploaded the zip file. The only updated file in the zip is the Drivers.au3 - it's a smaller file, with less coding (i.e., no extra crap, as per hp38guser's request (here). It has been tested, and is working.
10/11/05: New upload again. This time, the Drivers.au3 file is altered again, and the code to be entered into winnt.sif has been changed. This entire method runs from CD (no files copied over!) This is all from this post. Again- I personally tested this method (as has hp38guser) and it works!
Attachment Updated: 10/11/05
Attached File(s)
-
DriversAutoIt.zip (131.81K)
Number of downloads: 636
This post has been edited by a06lp: 08 November 2005 - 02:03 PM



Help


Back to top










