PCSTATS     
[X]   Directory of
Guides & Reviews

Beginners Guides
Motherboards by Brand
Weekly Newsletter
Archived Newsletters

+70 MORE Beginner GUIDES....
Beginners Guides: Unattended Windows 2000/XP Installations
Beginners Guides: Unattended Windows 2000/XP Installations - PCSTATS
Make a customized Windows XP Install CD with all the drivers included, that installs by itself.
 100% Rating:   
Filed under: Beginners Guides Published:  Author: 
External Mfg. Website: PCSTATS Dec 21 2004   M. Dowler  
Home > Reviews > Beginners Guides > PCSTATS Beginners Guides

Step 5: Adding plug-and-play drivers to the CD

(Note: this step is also optional. If you do not wish to pre-add drivers to your customized unattended installation Windows XP CD, skip on to the next section. The drivers you add here are not mandatory though; if you install your custom WinXP version on different hardware, they will simply not be enabled.)

Now let's look at how to add PnP drivers to the installation CD so that Windows XP will automatically detect and install all your hardware during the setup process, saving you from manually installing drivers afterwards. This is a much simpler process than adding text-mode drivers as in step 3 above.

First of all, if you did not create the $OEM$ and $1 directories during step 3 of this guide, create them now. In your 'bootcd' folder, create a folder called '$OEM$' and inside that folder create another called '$1'. Finally, in the '$1' folder, create a subfolder called 'drivers'.

Within the 'drivers' folder, create a subfolder for each set of drivers you want to install. If you were adding chipset, sound and LAN drivers for example, create 'chipset' 'audio' and 'LAN' folders.

Now download and unzip any drivers you wish to add to your boot CD. Copy the files for each driver to its respective folder in the '$OEM$\$1\drivers' directory. Note that this process will only work with the actual driver files (i.e. .sys, .inf and .cat files) not the executable compressed files that are generally provided for video cards and certain chipsets. To use these, extract the actual drivers from the file using WinZip, WinRAR or a similar utility.

Now that the drivers have been added to the CD files, open the 'winnt.sif' file in the 'i386' directory with notepad. If you performed Step 4 above, you will already have an 'OemPnPDriversPath' entry in this file. If not, add

OemPnPDriversPath =

to the file immediately below the line:

OemPreinstall = yes

Now for each set of drivers you added, you need to provide a path so the install process can find them. The system will assume that all paths start with '$OEM$\$1\' so all you need to do is to add the 'drivers\(driver folder)' path to the file.

For example, to add a set of network adaptor drivers to your windows XP installation, you would first copy the driver files to the subfolder you created in the '$OEM$\$1\drivers' folder (let's call it 'network' for now), then you would add the following value to the 'OemPnPDriversPath = ' statement:

"drivers\network"

If you have more than one driver directory, you can add multiple values here. Simply separate each value with a semicolon. For example, to add network and sound drivers, your 'OemPnPDriversPath =' statement would look something like this:

OemPnPDriversPath = "drivers\network; drivers\sound"

That's all we need to do in order to add additional PnP drivers to Windows XP. The setup process will add the drivers you referenced in the winnt.sif file automatically now.

One additional step you may wish to take is to add the following line to the [unattended] section of your winnt.sif file:

DriverSigningPolicy = ignore

This will prevent the XP setup process from halting in the case of PnP drivers that are not WHQL certified to work with XP.

< Previous Page © 2023 PCSTATS.com
Please respect the time and effort that went into creating each PCSTATS Beginners Guide, do not illegally copy. Thank you.
Next Page >

 

Contents of Article: PCSTATS Beginners Guides
 Pg 1.  Beginners Guides: Unattended Windows 2000/XP Installations
 Pg 2.  Step 1: Copying the source files to your hard drive
 Pg 3.  Step 2 Con't: Installing the service packs
 Pg 4.  Step 3. Windows Setup Manager
 Pg 5.  Step 4: Adding RAID/SATA text-mode drivers
 Pg 6.  Step 4B: Modifying Winnt.sif for driver installation
 Pg 7.  Modifying txtsetup.sif - Part 2
 Pg 8.  Modifying txtsetup.sif - Part 3
 Pg 9.  — Step 5: Adding plug-and-play drivers to the CD
 Pg 10.  Step 6: Extracting the boot image and creating a custom boot CD
 Pg 11.  Burning a bootable CD con't
 Pg 12.  Troubleshooting the customized Windows XP unattended install CD

 
Hardware Sections 


 
PCSTATS Network Features Information About Us Contact
FrostyTech
PCSTATS Newsletter
Tech Glossary
Technology WebSite Listings
News Archives
(Review RSS Feed)
Site Map
PCstats Wallpaper
About Us
Privacy Policy
Advertise on PCSTATS

How's Our Driving?
© Copyright 1999-2023 www.pcstats.com All rights reserved. Privacy policy and Terms of Use.