|
我这里有两个显示器驱动,一个是S4的, 另一个是D4的,可以自己根据实际参数改编一下
S4
[ClassAddReg]
HKR,,,,%MonitorClassName%
HKR,,Installer,,"SetupX.Dll, Monitor_ClassInstaller"
HKR,,Icon,,"-1"
[ClassDelReg]
[Manufacturer]
%PHILIPS%=PHILIPS
[PHILIPS]
%PHILIPS107S4%=PHILIPS107S4,
[PHILIPS107S4]
DelReg=DEL_CURRENT_REG
AddReg=PHILIPS107S4.AddReg
CopyFiles=Fonts.CopyList,FileCopy
[PHILIPS107S4.AddReg]
HKR,"MODES1280,1024",Mode0,,"30.0-70.0,50.0-120.0,+,+"
HKR,"MODES1280,1024",Mode1,,"30.0-70.0,50.0-120.0,+,+"
HKR,"MODES1280,1024",Mode2,,"30.0-70.0,50.0-120.0,+,+"
HKR,,MaxResolution,,"1280,1024"
[DEL_CURRENT_REG]
HKR,MODES
HKR,,MaxResolution
[Strings]
MS = "PHILIPS Crop."
PHILIPS = "PHILIPS Crop."
PHILIPS107S4 = "PHILIPS 107S4"
SrcDiskName = "PHILIPS n700dfs Display Driver Installation Disk for MS WIN"
[SourceDisksNames]
1=%SrcDiskName%,Install,0000-0001
D4
[version]
signature="$CHICAGO$"
Class=Monitor
ClassGUID={4d36e96e-e325-11ce-bfc1-08002be10318}
Provider=%MS%
SetupClass=BASE
[DestinationDirs]
DefaultDestDir = 11 ; LDID_SYS
monitor.infs.copy = 17 ; LDID_INF
[BaseWinOptions]
MonitorBase
[MonitorBase]
CopyFiles=monitor.infs.copy
[monitor.infs.copy]
[SysCfgClasses]
[ClassInstall]
AddReg=ClassAddReg
[ClassAddReg]
HKR,,,,%MonitorClassName%
HKR,,Installer,,"SetupX.Dll, Monitor_ClassInstaller"
HKR,,Icon,,"-1"
[ClassDelReg]
[Manufacturer]
%OEM_PHILIPS%=OEM_PHILIPS
[OEM_PHILIPS]
%Philips_107D4%=Philips_107D4,
[Philips_107D4]
DelReg=DEL_CURRENT_REG
AddReg=Philips_107D4.AddReg
CopyFiles=Fonts.CopyList,FileCopy
[Philips_107D4.AddReg]
HKR,"MODES1600,1200",Mode0,,"30.0-86.0,50.0-160.0,+,+"
HKR,"MODES1600,1200",Mode1,,"30.0-86.0,50.0-160.0,+,+"
HKR,"MODES1600,1200",Mode2,,"30.0-86.0,50.0-160.0,+,+"
HKR,,MaxResolution,,"1600,1200"
[DEL_CURRENT_REG]
HKR,MODES
HKR,,MaxResolution
[Strings]
MS = "OEM_PHILIPS"
OEM_PHILIPS = "OEM_PHILIPS"
Philips_107D4 = "Philips_107D4"
SrcDiskName = "Philips_107D4 Display Driver Installation Disk for MS WIN9X"
[SourceDisksNames]
1=%SrcDiskName%,Install,0000-0001
:unsure:红字的部分参数和引号以内的显示器名称部分是可以编写的 |
|