Collection driver in Windows XP installation disk

  
        After the computer has been used for many years, the driver installation disk that comes with the product has already disappeared, and every time you reinstall the system, you have to work hard to install the drivers for each hardware. Is there a way to put the driver directly? Windows XP (hereafter referred to as WinXP) installation disk, so every time with the reinstallation of the system, the latest hardware drivers are also installed at the same time? In fact, there is a DRIVER.CAB file in the I386 folder of the WinXP installation CD. The files stored in this compressed file are installed by default when you install the system. After decompressing it, you can see many driver files. However, if you just want to simply add additional drivers to this folder, you can't reach the "injection" driver. If you want to integrate the drivers you need into the WinXP installation CD, you need some operations and settings. First, the preparation work Copy the installation file and copy all the files in the WinXP installation CD to a folder on the hard disk, for example, F:\\XPCD (XPCD is the newly created folder). Please pay attention to ensure that the F disk has enough capacity to accommodate about two. The space capacity of the installation CD, because we have to make an image file after making a new WinXP installation CD. 2. Prepare the driver file Create a folder named "$OEM$" in the XPCD folder, then enter the "$OEM$" folder, create a folder named "", and finally go to the "" file. Create a folder called "drivers" in the folder. Next, copy the latest version of the driver (such as motherboard, sound card, graphics card and network card) to the drivers folder (Figure 1). Figure 1 Tip: In the operation of creating a folder above, the created "$OEM$" and "" folder names cannot be other names. When copying the latest driver to the "drivers" folder, note that the copied driver is the unzipped folder. You cannot directly put the uncompressed driver files into the "drivers" folder. To find the latest drivers, you can find them at http://www.mydrivers.com, or you can use the driver wizard to extract hardware drivers to collect device drivers that are already installed in the system. Create the WINNT.sif file WINNT.sif file to let the system know the path to install non-Microsoft third-party device drivers when installing the system. We can use the setupmgr.exe program to create a response program to create the unattend.txt file. Then modify the unattend.txt file and rename it to the winnt.sif we need, save it to the F:\\XPCD\\I386 file. The Setupmgr.exe program can be found in the "DEPLOY.CAB" compressed file in the F:\\XPCD\\SUPPORT\\TOOLS folder. As long as the DEPLOY.CAB file is extracted, the setupmgr.exe program will be found. Running the program will Open the Windows Install Manager Wizard window (Figure 2). Figure 2 Now click "Next", select the "Create a new answer file (C)" item, then click "Next" and select "Windows is not installed" in the "Products to be installed" wizard window that appears. To continue, click "Next" to select the WinXP CD version, click "Next" again and select "All Auto" in the "User Interaction Level" window, click "Next" and in the "Distribution Folder" wizard window Select the "No, this answer file will be used to install from CD" item, continue to click "Next", select the "I accept the license agreement" item in the "License Agreement" wizard window, and then click "Next" will appear "Windows Install Manager window, in which you can enter the response content (such as computer name, unit, time zone, product key, etc.) required when installing the system, and finally determine the save path of the unattend.txt file (Figure 3). , Figure 3 and click "OK" to complete. Now rename the newly created "unattend.txt" file to "winnt.sif" and save it in the F:\\XPCD\\I386 folder for later modification. Tip: Note that when modifying the file name, be sure to prevent the winnt.sif file from being renamed to winnt.sif.txt file. Second, load the driver Open the "WINNT.SIF" file with Notepad and add the following command under the "[Unattended]" field: [Unattended] OemPreinstall=Yes OemPnPDriversPath="Drivers\\mainboad; Drvers\\Realtek RTL8139810; Drivers\\Graphics Chipset Driver; Drivers\\Realtek AC'97 Audio; Drivers\\USB PC Camera 301P; Drivers\\Modem" DriverSigningPolicy=Ignore This "OemPreinstall=Yes" means that the WinXP installer knows that there is also a $OEM$ release on the installation CD. The folder, at the same time, will also cause the installer to copy the required program files to the WinXP installation folder. "OemPnPDriversPath" in "OemPnPDriversPath="Drivers\\mainboad;Drvers\\Realtek RTL8139810;Drivers\\Graphics Chipset Driver;Drivers\\Realtek AC'97 Audio;Drivers\\USB PC Camera 301P;Drivers\\Modem"" is for each device driver The program specifies the path of the command. The whole paragraph means to tell the installer where to find the driver that is newer than the driver that comes with the CD. For example, the USB PC Camera 301P driver does not come with the installation CD. You can open its driver folder and you will see the subfolder containing the INF file. When the above command is added, the installer will point to the location of the .inf file folder in each driver folder, including mainboad, Realtek RTL8139810. , Graphics Chipset Driver, Realtek AC'97 Audio, USB PC Camera 301P and Modem are directories in which each driver contains inf files. The "DriverSigningPolicy=Ignore" line indicates that the installer can force the installation of a driver without Microsoft Digital Signature Authentication (WHQL), which is used with OemPnPDriversPath. It should be noted that the characters of the above lines must use the half-width character state when inputting. Remember to save the characters after the modification. 3. Generate the driver CD 1. Making a bootable CD image file The purpose of making a CD image file is to extract the boot file. Here we use WinISO to introduce its production method. Run the WinISO program, click on the "Actions" menu in the interface, click on the "Make ISO from CDROM" item in the drop-down menu that appears, then in the "Choose you CD-ROM" item in the pop-up window, select the CD-ROM driver, in " Under the Output file column, determine the save path and file name of the ISO file. Under the “Option” column, select the “ASPI” item. This means copying the whole disk, copying the bootable information, and finally clicking the “Make” button will start making the XP boot. The ISO file of the CD (Figure 4). Figure 4 2. Extracting the boot information in the XP CD image file After making the XP CD image file, let's extract the boot information from the WinXP CD image file, click the "Open" icon button on the WinISO program toolbar, and then in the open window. Then find the WinXP CD image file (ISO file) you just created in the open window, then the image file will be loaded into the window, then click on the "Bootable CD" menu and click "Save boot information to file" in its drop-down menu. ...", finally in the pop-up window we determine the WinXP CD boot information save path and file name (for example, named boot.wbt). 3. Create a new XP image file and load the boot information. Click the "New" icon button on the WinISO program main window toolbar, and then click the "Open" icon button. We will make all WinXP system installation files in F:\\XPCD. Select and drag into the WinISO program window, then click on the "BOOTable CD" menu and click on the "Load boot information form file" item in the menu below, then find the extracted boot.wbt file in the pop-up window, and finally Click the "Open" button (Figure 5). Figure 5 4. Generating a new CD image file After loading the boot information on the new WinXP system installation CD, click the "Save" icon button on the WinISO program window toolbar, and then confirm the new CD in the "Save As" window that pops up. Save the path and file name of the image file, and finally click the "Save" button. The production progress window will pop up. When finished, a new WinXP installation CD image file will be generated. Finally, use Nero and other burning tools to burn the generated new WinXP CD image file to the CD, so that a WinXP boot installation CD that "injects" the latest driver is done.
Copyright © Windows knowledge All Rights Reserved