I need your help to integrate Adaptec 2200S in WinPE
In the plugin directory I created I subfolder "adaptec"
with a files subdirectory. The Adaptec folder contains a file "adaptec.inf"
"adaptec.inf":
; PE Builder v3 plug-in INF file
; Created by Samplempg
; http://www.nu2.nu/pebuilder/
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="DSK: Adaptec 2200S"
Enable=1
[WinntDirectories]
a="i386\system32\drivers\adaptec",2
[SourceDisksFiles]
; Directory ids:
; 2=system32
; 4=system32\drivers
; 20=inf
; Drivers for Adaptec 2200S
files\*.*=a
[SetValue]
"winpeoem.sif","OEMDriverParams","OemDriverRoot","drivers"
"winpeoem.sif","OEMDriverParams","OemDriverDirs","adaptec"
The "files" subfolder contains the following files:
aac.cat
aac.inf
aac.sys
aacmgt.inf
raidisk1
txtsetup.oem
aac.inf from adaptec folder:
;
; OEMSETUP.INF for Adaptec SCSI RAID controllers.
; This INF installs the miniport and its coinstaller.
;
; Copyright © 1999 - 2003, Adaptec, Inc.
;
[Version]
Signature = "$Windows NT$"
Class = SCSIAdapter
ClassGUID = {4d36e97b-e325-11ce-bfc1-08002be10318}
Provider = %ADPT%
CatalogFile = aac.cat
DriverVer=08/14/2003, 4.1.0.6109
[ControlFlags]
ExcludeFromSelect = *
[SourceDisksNames]
1 = %disk1%, raidisk1,
[SourceDisksFiles]
aac.sys = 1,,22000
aacevt.exe = 1,,23000
aaccin.dll = 1,,25000
[DeviceDriverFiles]
aac.sys, aac.sys, naac.sys, 0x00000000
[aacEvtFiles]
aacevt.exe, aacevt.exe, naacevt.exe, 0x00000000
[aacCoInstFiles]
aaccin.dll, aaccin.dll, naaccin.dll, 0x00000000
[DestinationDirs]
aacEvtFiles = 11
aacCoInstFiles = 11
DefaultDestDir = 12
; =================== Table of content =========================
[Manufacturer]
%ADPT% = ADPT
[ADPT]
%adpt.DeviceDesc% = aac_Inst, \
PCI\VEN_1011&DEV_0046&SUBSYS_03659005,\
PCI\VEN_9005&DEV_0280&SUBSYS_02809005,\
PCI\VEN_9005&DEV_0281&SUBSYS_02819005,\
PCI\VEN_9005&DEV_0282&SUBSYS_02829005,\
PCI\VEN_9005&DEV_0283&SUBSYS_02839005,\
PCI\VEN_9005&DEV_0284&SUBSYS_02849005,\
PCI\VEN_9006&DEV_2140&SUBSYS_21409006
%adptVulcan.DeviceDesc% = aac_Inst, \
PCI\VEN_9005&DEV_0285&SUBSYS_02859005,\
PCI\VEN_9005&DEV_0285&SUBSYS_02879005
%adptCrusader.DeviceDesc% = aac_Inst, \
PCI\VEN_9005&DEV_0285&SUBSYS_02869005
%adptSkyhawk.DeviceDesc% = aac_Inst, \
PCI\VEN_9005&DEV_0285&SUBSYS_028A9005
%adptTerminator.DeviceDesc% = aac_Inst, \
PCI\VEN_9005&DEV_0285&SUBSYS_028B9005
%adptJaguar.DeviceDesc% = aac_Inst, \
PCI\VEN_9005&DEV_0285&SUBSYS_02909005
%adptMustang.DeviceDesc% = aac_Inst, \
PCI\VEN_1011&DEV_0046&SUBSYS_03649005
;
; Install section for the miniport
;
[aac_Inst.NT]
CopyFiles = DeviceDriverFiles, aacEvtFiles
CopyINF = aacmgt.inf
DelFiles = OldDeviceDriverFiles
DelReg = OldDeviceDriverReg
AddReg = FSCScsiDiskReg
[aac_Inst.NT.HW]
DelReg = LegacyScsiportValues, RemoveUpperFilters
[aac_Inst.NT.Services]
AddService = aac, %SPSVCINST_ASSOCSERVICE%, aac_Service_Inst, Miniport_EventLog_Inst
AddService = aacevt, , aacevt_Service_Inst, aacevt_EventLog_Inst
[aac_Inst.NT.CoInstallers]
CopyFiles = aacCoInstFiles
AddReg = aac_CoInstallers_AddReg
;
; Service install sections
;
[aac_Service_Inst]
DisplayName = %aac_ServiceName%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_BOOT_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\aac.sys
LoadOrderGroup = SCSI miniport
AddReg = aac_Parameters_Inst
[aacevt_Service_Inst]
DisplayName = %aacevt_ServiceName%
Description = %aacevt_ServiceDesc%
ServiceType = %SERVICE_WIN32_OWN_PROCESS%
StartType = %SERVICE_AUTO_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %11%\aacevt.exe -d aac
Dependencies = WinMgmt,RasMan,Eventlog
;
; Coinstaller registry additions (same one for all drivers)
;
[aac_CoInstallers_AddReg]
HKR,,CoInstallers32, %FLG_ADDREG_TYPE_MULTI_SZ%, "aaccin.dll, XxxCoInstaller"
;
; Event log registry additions
;
[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_AddReg
[Miniport_EventLog_AddReg]
HKR,,EventMessageFile, %FLG_ADDREG_TYPE_EXPAND_SZ%, "%11%\IoLogMsg.dll;%11%\aacevt.exe"
HKR,,TypesSupported, %FLG_ADDREG_TYPE_REG_DWORD%, 7
[aacevt_EventLog_Inst]
AddReg = aacevt_EventLog_AddReg
[aacevt_EventLog_AddReg]
HKR,,EventMessageFile, %FLG_ADDREG_TYPE_EXPAND_SZ%, "%11%\aacevt.exe"
HKR,,TypesSupported, %FLG_ADDREG_TYPE_REG_DWORD%, 7
;
; Hardware-specific registry additions (under Parameters subkey)
;
[aac_Parameters_Inst]
HKR, "Parameters\PnpInterface", "5", %FLG_ADDREG_TYPE_REG_DWORD%, 1
HKR, "Parameters\Device", "NumberOfRequests", %FLG_ADDREG_TYPE_REG_DWORD%, 254
HKR, "Parameters\Device", "UncachedExtAlignment", 0x00010001, 14
[FSCScsiDiskReg]
HKLM,SYSTEM\CurrentControlSet\Services\Disk,TimeOutValue,0x00010001,0x0000003C
[LegacyScsiportValues]
HKR,Scsiport,BusNumber
HKR,Scsiport,LegacyInterfaceType
HKR,Scsiport,SlotNumber
[RemoveUpperFilters]
HKR,,UpperFilters
txtsetup.oem from "files subfolder"
[Disks]
d1 = "Adaptec SCSI RAID Windows 2000/XP Device Drivers", \raidisk1, \
[Defaults]
scsi = aac
[Scsi]
aac = "Adaptec SCSI RAID Controller", aac
[Files.Scsi.aac]
driver = d1, aac.sys, aac
catalog = d1, aac.cat
inf = d1, aac.inf
inf = d1, aacmgt.inf
dll = d1, aaccin.dll
dll = d1, aacevt.exe
[Config.aac]
value = "", Type, REG_DWORD, 1
value = "", Start, REG_DWORD, 0
value = "", Group, REG_SZ, "SCSI miniport"
value = "", ErrorControl, REG_DWORD, 1
value = Parameters\Device, NumberOfRequests, REG_DWORD, 0fe
value = Parameters\Device, UncachedExtAlignment, REG_DWORD, e
value = parameters\PnpInterface, 5, REG_DWORD, 1
[HardwareIds.scsi.aac]
id = "PCI\VEN_1011&DEV_0046&SUBSYS_03649005", "aac"
id = "PCI\VEN_1011&DEV_0046&SUBSYS_03659005", "aac"
id = "PCI\VEN_9005&DEV_0280&SUBSYS_02809005", "aac"
id = "PCI\VEN_9005&DEV_0281&SUBSYS_02819005", "aac"
id = "PCI\VEN_9005&DEV_0282&SUBSYS_02829005", "aac"
id = "PCI\VEN_9005&DEV_0283&SUBSYS_02839005", "aac"
id = "PCI\VEN_9005&DEV_0284&SUBSYS_02849005", "aac"
id = "PCI\VEN_9005&DEV_0285&SUBSYS_02859005", "aac"
id = "PCI\VEN_9005&DEV_0285&SUBSYS_02869005", "aac"
id = "PCI\VEN_9005&DEV_0285&SUBSYS_02879005", "aac"
id = "PCI\VEN_9005&DEV_0285&SUBSYS_028A9005", "aac"
id = "PCI\VEN_9005&DEV_0285&SUBSYS_028B9005", "aac"
id = "PCI\VEN_9005&DEV_0285&SUBSYS_02909005", "aac"
id = "PCI\VEN_9006&DEV_2140&SUBSYS_21409006", "aac"
and the aacmgt.inf
;
; AACMGT.INF for Adaptec SCSI RAID controllers.
; This INF installs a dummy driver for the management device.
;
; Copyright © 1999 - 2003, Adaptec, Inc.
;
[Version]
Signature = "$WINDOWS NT$"
Class = System
ClassGuid = {4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider = %ADPT%
CatalogFile = aac.cat
DriverVer=02/14/2003, 4.1.0.6109
[ControlFlags]
ExcludeFromSelect = *
[SourceDisksNames]
1 = %disk1%, raidisk1,
[SourceDisksFiles]
[aacMgtFiles]
;
; Dummy section to satisfy ChkInf tool
;
[DestinationDirs]
DefaultDestDir = 12
[Manufacturer]
%ADPT% = ADPT
[ADPT]
%SCSI\ProcessorAdaptec_Management______.DeviceDesc% = NODRV, SCSI\ProcessorAdaptec_Management______
[NODRV.NT]
;
; Dummy directive to satisfy ChkInf tool
;
CopyFiles = aacMgtFiles
[NODRV.NT.Services]
;
; this is blank to just allow the install to succeed
;
AddService = , %SPSVCINST_ASSOCSERVICE% ; null service install
[strings]
ADPT = "Adaptec"
disk1 = "Adaptec SCSI RAID Windows 2000 Device Drivers"
SCSI\ProcessorAdaptec_Management______.DeviceDesc = "Adaptec SCSI RAID Management Device"
;*******************************************
;Handy macro substitutions (non-localizable)
SPSVCINST_ASSOCSERVICE = 0x00000002
Please help me to create "adaptec.inf" file!!!