|
楼主 |
发表于 2004-4-17 09:17:45
|
显示全部楼层
这个是驱动光盘里的安装信息文件,里面有CompanySubkey = "Conexant" ; Do not modify this string
ProductSubkey = "AccessRunner ADSL" ; Do not modify this string
不知道什么意思,里面有Conexant,不知道是不是你说的那个
[Version]
Signature = "$Chicago$"
Class = USB
ClassGUID = {36fc9e60-c465-11cf-8056-444553540000}
Provider = %Author%
CatalogFile = cb002rwu.cat
CatalogFile.NT = cb002rku.cat
DriverVer=07/24/2002, 72.099.056.000
[Manufacturer]
%Mfg% = OEM
[ControlFlags]
ExcludeFromSelect = USB\VID_0572&PID_CB00
;Device Section
[OEM]
; DisplayName Section DeviceID
; ----------- ------- --------
%CnxEtU.DeviceDesc% = CnxEtU, USB\VID_0572&PID_CB00
;-----------------------------------------------------------------------------
; Windows 9X specific entries
;
[CnxEtU]
AddReg = CnxEtU.win.reg, DriverSwAddReg, CnxEtU.Common.Reg, CnxEtU.win.Uninstall.Reg, CnxEtU.Devices.Reg
CopyFiles = CnxEtU.win.CopyDriverFiles, CnxEtU.win.CopyInfFiles
DriverVer=07/24/2002, 72.099.056.000
;-----------------------------------------------------------------------------
; Windows NT specific entries
;
[CnxEtU.NT]
AddReg = DriverSwAddReg, CnxEtU.Common.Reg, CnxEtU.Uninstall.Reg, CnxEtU.Devices.Reg, CnxEtU.Services.Reg
CopyFiles = CnxEtU.CopyDriverFiles
; CopyInfFiles is a CnxMfdCo CoInstaller directive
CopyInfFiles = CxtEtNC.inf
DriverVer=07/24/2002, 72.099.056.000
[CnxEtU.NT.Services]
AddService = CnxEtU, 2, CnxEtU.Service
[CnxEtU.NT.CoInstallers]
AddReg = CoInstallers.AddReg
CopyFiles = CoInstallers.CopyFiles
;-----------------------------------------------------------------------------
; CoInstallers Registry Entries
;
[CoInstallers.AddReg]
HKR,,CoInstallers32,0x00010000,"CnxMfdCo.dll,CoCopyInfFiles"
; Universal Serial Bus controllers
HKLM,System\CurrentControlSet\Control\CoDeviceInstallers,{36FC9E60-C465-11CF-8056-444553540000},0x00010008,"CnxClsCo.dll,ClassCoInstaller"
; Network Adapters
HKLM,System\CurrentControlSet\Control\CoDeviceInstallers,{4D36E972-E325-11CE-BFC1-08002bE10318},0x00010008,"CnxClsCo.dll,ClassCoInstaller"
;-----------------------------------------------------------------------------
; Win9x and NT Software Registry Entries
;
; reg-root, [subkey], [value-entry-name], [flags], [value]
;
; Hex registry values do not work correctly in Win9x - use decimal
;
[DriverSwAddReg]
HKR,,ChildDeviceDescription, 0x00000000, %ChildDescription%
HKR,,ChildDeviceId, 0x00000000, %ChildDeviceId%
HKR,,ChildDeviceEnabled1, 0x00010001, 0
;set the following to 1 for Thames in Win98 Gold/SE if VXD implementation is needed
HKR,,ChildDeviceResourcesRequirements1, 0x00010001, 0
;set the following to 1 for Thames (static), 0 for Euphrates (dynamic modem child device)
HKR,,ChildDeviceStatic1, 0x00010001, 0
; Rushmore settings
;HKR,,FirmwarePllFClkValue, 0x00010001, 3 ; 96Mhz
;HKR,,FirmwarePllBClkValue, 0x00010001, 2 ; 75Mhz
HKR,,FirmwarePllFClkValue, 0x00010001, 5 ; 144Mhz
HKR,,FirmwarePllBClkValue, 0x00010001, 3 ; 100Mhz
HKR,,FirmwareBootRomPatch, 0x00010001, 0 ; 1 -> Download additional firmware patch
;-----------------------------------------------------------------------------
; Win9x and NT common parameters
;
; Hex DWORD registry values do not work correctly in Win9x - use decimal
[CnxEtU.Common.Reg]
HKLM, Software\%CompanySubkey%\%ProductSubkey%, CompanyName, 2, ""
HKLM, Software\%CompanySubkey%\%ProductSubkey%, DeviceName, 2, ""
HKLM, Software\%CompanySubkey%\%ProductSubkey%, ProductId, 2, "0"
HKLM, Software\%CompanySubkey%\%ProductSubkey%, ProductName, 2, %ProductName%
HKLM, Software\%CompanySubkey%\%ProductSubkey%, ShortProductName, 2, ""
HKLM, Software\%CompanySubkey%\%ProductSubkey%\{03C33497-C252-4110-8DAB-4C442A55AE16},, 0, ""
;-----------------------------------------------------------------------------
; Device IDs
;
[CnxEtU.Devices.Reg]
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Devices, %DeviceId%,, %DeviceId%
;-----------------------------------------------------------------------------
; Services
;
[CnxEtU.Services.Reg]
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Services, CnxEtU,, "CnxEtU"
;-----------------------------------------------------------------------------
; CnxEtU Uninstall NT Specific
;
[CnxEtU.Uninstall.Reg]
; Application Files
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\SYSTEM, CnxClsCo.dll,, "CnxClsCo.dll"
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\SYSTEM, CnxMfdCo.dll,, "CnxMfdCo.dll"
; INF Files
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\INF, CxtCB00U.INF,, "CxtCB00U.INF"
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\INF, CxtCB00U.PNF,, "CxtCB00U.PNF"
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\INF, CxtEtNC.INF,, "CxtEtNC.INF"
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\INF, CxtEtNC.PNF,, "CxtEtNC.PNF"
; Catalog Files
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\CATALOG, CB00*.cat,, "CB00*.cat"
; Driver Files
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\DRIVERS, CnxEtU.sys,, "CnxEtU.sys"
;-----------------------------------------------------------------------------
; CnxTgN Uninstall Win9x Specific
;
[CnxEtU.win.Uninstall.Reg]
; INF Files
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\INF, CxtCB00U.INF,, "CxtCB00U.INF"
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\INF, CxtCB00U.PNF,, "CxtCB00U.PNF"
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\OTHER, %Author%CxtCB00U.INF,, "%Author%CxtCB00U.INF"
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\INF, CxtEtNC.INF,, "CxtEtNC.INF"
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\INF, CxtEtNC.PNF,, "CxtEtNC.PNF"
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\OTHER, %Author%CxtEtNC.INF,, "%Author%CxtEtNC.INF"
; Catalog Files
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\CATALOG, CB00*.cat,, "CB00*.cat"
; Driver Files
HKLM, Software\%CompanySubkey%\%ProductSubkey%\Files\DRIVERS, CnxEtU.sys,, "CnxEtU.sys"
;-----------------------------------------------------------------------------
; CnxEtU NT specific
;
[CnxEtU.Service]
DisplayName = %CnxEtU.Service.DispName%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\CnxEtU.sys
;----------------------------------------------------------------------------
; CnxEtU Win9x specific
;
[CnxEtU.win.reg]
HKR, , DevLoader, 0, "*ntkern"
HKR, , NTMPDriver, 0, "CnxEtU.sys"
;-----------------------------------------------------------------------------
; DestinationDirs
;
; file-list-section = dirid[,subdir]]
;
[DestinationDirs]
DefaultDestDir = 12,
CnxEtU.CopyDriverFiles = 12, ; NT -> System32\Drivers
CnxEtU.win.CopyDriverFiles = 10,System32\Drivers ; Win9x -> System32\Drivers
CnxEtU.win.CopyInfFiles = 17, ; Win9x -> INF
CoInstallers.CopyFiles = 11, ; NT -> System32
;-----------------------------------------------------------------------------
; CopyFiles Sections
;
; destination-file-name[,source-file-name][,temporary-file-name][,flag]
;
[CnxEtU.CopyDriverFiles]
CnxEtU.sys,,,6
[CnxEtU.win.CopyDriverFiles]
CnxEtU.sys,,,6
[CoInstallers.CopyFiles]
CnxClsCo.dll,,,0x10
CnxMfdCo.dll,,,0x10
[CnxEtU.win.CopyInfFiles]
CxtEtNC.inf,,,6
;-----------------------------------------------------------------------------
; SourceDisksNames
;
; diskid = description[, [tagfile] [, <unused>, subdir]]
;
[SourceDisksNames]
100=%DiskName%,DISK1,,
;-----------------------------------------------------------------------------
; SourceDisksFiles
;
; filename = diskid[,[ subdir][, size]]
;
[SourceDisksFiles]
CnxEtU.sys=100,,
CnxClsCo.dll=100,,
CnxMfdCo.dll=100,,
;-----------------------------------------------------------------------------
; Strings
;
[Strings]
;-----------------------------------------------------------------------------
; Strings Not Localizable
;
CompanySubkey = "Conexant" ; Do not modify this string
ProductSubkey = "AccessRunner ADSL" ; Do not modify this string
DeviceId = "USB\VID_0572&PID_CB00"
ChildDeviceId = "SWCNX\CNX_DSLUSB"
;-----------------------------------------------------------------------------
; Strings Localizable
;
Author = "OEM"
Mfg = "OEM"
CnxEtU.DeviceDesc = "USB ADSL 适配器"
CnxEtU.Service.DispName = "USB ADSL 设备驱动"
DiskName = "AccessRunner Installation Disk"
ChildDescription = "ADSL 网络适配器"
; Applications Display
ProductName = "ADSL 网络适配器" |
|