setup.inf

来自「这是个POS机顾显驱动」· INF 代码 · 共 104 行

INF
104
字号


; Sample combination printer INF for NT 4.0 .
; 

[Version]
Signature="$Windows NT$"
Provider=%BY%
LayoutFile=layout.inf
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer

[ClassInstall]
AddReg=ClassAddReg
DelReg=ClassDelReg

[ClassDelReg]
HKLM,"System\CurrentControlSet\Services\Class\Printer","NoUseClass"

[ClassAddReg]
HKR,,,,%CLASSNAME%
HKR,,Installer,,MSPRINT.DLL
HKR,,Icon,,-4
HKR,,NoDisplayClass,,1

;
; Manufacturer Sections
;

[Manufacturer]
"BY"

;
; Model Sections 
;

[BY]
"LongMy POS58_III"     = 2001cp.DRV

;
; Installer Sections
;
; 

[2001cp.DRV.NT]
CopyFiles=@2001cp.DLL,RASDD_NT
DataFile=2001cp.DLL
DataSection=RASDD_DATA_NT


; Copy Sections


[RASDD_NT]
RASDD.DLL
RASDDUI.DLL
RASDDUI.HLP


;
; Data Sections
;
; These sections contain data that is shared between devices.
;


[RASDD_DATA_NT]
DriverFile=RASDD.DLL
ConfigFile=RASDDUI.DLL
HelpFile=RASDDUI.HLP


;
; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
; (depending on which environment drivers are getting installed)
;

[DestinationDirs]
DefaultDestDir=66000

;
; diskid = description,tagfile,unused,subdir
;
[SourceDisksNames]
4 = %Floppy%,,,""

;
; filename_on_source = diskid,subdir,size,checksum,spare,spare
; extra fields are nt-specific
;   bootmediaord,targetdirectory,upgradedisposition,textmodedisposition,targetname
;
[SourceDisksFiles]
2001cp.DLL  = 4,,,,,,,11,3
RASDD.DLL   = 4,,,,,,,11,3
RASDDUI.DLL = 4,,,,,,,11,3
RASDDUI.HLP = 4,,,,,,,11,3
;
; Localizable Strings
;
[Strings]
BY="LongMy"
Floppy="LongMy Printer Disk"
CLASSNAME="Printer"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?