[Version]
signature="$Windows NT$"
Class=Keyboard
ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
Provider=%Provider%
CatalogFile=LManager.cat
DriverVer=12/08/2004,1.2.0.1208

[ClassInstall32]
AddReg=keyboard_class_addreg

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

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

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

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

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

CoInstaller.InstallCopyFiles = 11 ; System directory

[SourceDisksNames]
1=%DiskName%,Instd1

[SourceDisksFiles]
; CoInstaller Library
FILTRCOI.DLL = 1

; Driver
DKbFltr.SYS = 1


; Install sections
;----------------------------------------
[MMKBD_Inst]
DriverVer=12/08/2004,1.2.0.1208
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="Acer Inc."
Manufacturer="Dritek System Inc."
*PNP030b.DeviceDesc="Standard 101/102-Key or Microsoft Natural PS/2 Keyboard"
*PNP0303.DeviceDesc="Standard 101/102-Key or Microsoft Natural PS/2 Keyboard"
*PNP0320.DeviceDesc="Standard 101/102-Key or Microsoft Natural PS/2 Keyboard"

; for Install Directory
DiskName = "Launch Manager Installation Disk"

; for FiltrCoI.DLL
UpperFilters = "DKbFltr"
