The production of personalized PE when we generally have to modify the Txtsetup.sif, the following is a brief description of this document.
[Winntdirectories]
This field is the destination folder for file copies in code, with the root directory of%windir% the specified Windows folder installed.
[Sourcediskfiles]
The following three segments are used for integrated SATA SCSI drives, based on the previous code that represents the details of the file copy.
[Hardwareidsdatebase]-Hardware identification
[SCSI.LOAD]--SCSI Driver loading
[SCSI]?? --SCSI Equipment Description
To add an SRS driver instance:
Add a sata,raid-driven approach to WinPE (here, for example, Intel Matrix Storage Manager driver for illustration, the driver file name described below is based only on this instance, and the specific file names in the actual operation are subject to the specific drivers that need to be added)
1, prepare the material:
A, the original driver file
b, txtsetup.sif files extracted from WinPE
2. Extract txtsetup.sif files from WinPE:
First the WinPE in the Winpe.is_ renamed to Winpe.cab, and then extract the Winpe.iso with RAR, with UltraISO open it, the txtsetup.sif extracted, and open the standby with Notepad.
3. Modify Txtsetup.sif File
A, open the driver package, which has an extension of ". inf" or ". OEM" small files, such as "Oemsetup.inf" or "Txtsetup.oem" (in this case, "Txtsetup.oem"), with Notepad open standby;
b, find the [SourceDisksFiles] field in Txtsetup.sif and add the Iastor.sys=1,,,,,, 4_,4,1,,, 1,4
C, find [SCSI. Load field, under which you add iastor=iastor.sys,4
d, switch to the Txtsetup.oem you just opened, find the HardwareIds keyword, copy all the code under that field to the end of the [HardwareIdsdatabase] field of the Txtsetup.sif file, but change the format of the code. For example, the id = "pciven_8086&dev_27c3&cc_0104", "iastor" changed to Pciven_8086&dev_27c3&cc_0104=iastor
E, find the [SCSI] field under which to add Iastor= "Intel (R) 82801FBM SATA AHCI Controller (Mobile ich6m)"
At this point, the modified Txtsetup.sif file is partially completed, replacing the original file with the modified SIF file.
4. Copy driver file
The driver file Iastor.sys is compressed into iastor.sy_ with Makecab.exe and added to the System32drivers directory of PE, then the modified Winpe.iso is compressed into makecab.exe with Winpe.is_ Replace the original file. The entire add-driver is completed and restarted to test for success or failure.