[Version]
signature="$Windows NT$"
Class=Keyboard
ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
Provider=%Provider%
CatalogFile=EzButton.CAT
DriverVer=05/15/2004,1.2.1.0515

[ClassInstall32]
AddReg=keyboard_class_addreg

[keyboard_class_addreg]
HKR,,,,%KeyboardClassName%
HKR,,Icon,,"-2"
HKR,,Installer32,,"SysSetup.Dll,KeyboardClassInstaller"
HKR,,NoInstallClass,,"1"

[ControlFlags]
ExcludeFromSelect = *PNP0303, *PNP030B, *PNP0320

; Manufacturers
;----------------------------------------
[Manufacturer]
%Manufacturer%=MMKBD

; Driver sections
;----------------------------------------
[MMKBD]
%*PNP0303.DeviceDesc%=MMKBD_Inst,*PNP0303
%*PNP030b.DeviceDesc%=MMKBD_Inst,*PNP030b
%*PNP0320.DeviceDesc%=MMKBD_Inst,*PNP0320

; Disk & Directory sections
;----------------------------------------
[DestinationDirs]
MMK_Driver.CopyList = 10, System32\Drivers

CoInstaller.InstallCopyFiles = 11 ; System directory

[SourceDisksNames]
1=%DiskName%

[SourceDisksFiles]
; CoInstaller Library
FILTRCOI.DLL = 1

; Driver
DKbFltr.SYS = 1

; Install sections
;----------------------------------------
[MMKBD_Inst]
DriverVer=05/15/2004,1.2.1.0515
CopyFiles = MMK_Driver.CopyList
AddReg = MMK.AddReg

; File sections
[MMK_Driver.CopyList]
DKbFltr.SYS

[MMK.AddReg]

; Service Installation
[MMKBD_Inst.Services]
AddService = DKbFltr,  , DKbFltr_Service_Inst

; Install the port driver and mouclass from keyboard.inf
Include=keyboard.inf
Needs=STANDARD_Inst.Services


[DKbFltr_Service_Inst]
DisplayName    = %DKbFltr.SvcDesc%
ServiceType    = 1		    ; SERVICE_KERNEL_DRIVER
StartType      = 3		    ; SERVICE_DEMAND_START
ErrorControl   = 0		    ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Keyboard Port
ServiceBinary  = %12%\DKbFltr.sys

;; New Add
[MMKBD_Inst.CoInstallers]
CopyFiles = CoInstaller.InstallCopyFiles
AddReg = MMKBD_Inst.CoInstallers_AddReg

[MMKBD_Inst.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"FiltrCoI.dll,UpperFilterCoInstaller"

[CoInstaller.InstallCopyFiles]
FILTRCOI.DLL

[Strings]
DKbFltr.SvcDesc="Dritek Keyboard Filter Driver"
KeyboardClassName= "Keyboards"

Provider="Compal Electronics, Inc."
Manufacturer="Dritek System Inc."
*PNP0303.DeviceDesc="Easy Button"
*PNP030b.DeviceDesc="Easy Button"
*PNP0320.DeviceDesc="Easy Button"

; for Install Directory
DiskName = "Easy Button Installation Disk"

; for FiltrCoI.DLL
UpperFilters = "DKbFltr"
