;;; ;;; ;;; ;;; ;;; ;;; [Version] Signature = "$Windows NT$" Class = PnpFilter ;This is determined by the work this filter driver does ClassGuid = {7134321E-9CA6-4167-BBEA-EED58D2F3B85} Provider = %KasperskyLab% DriverVer = 01/24/2022,30.587.0.2590 CatalogFile = klkbdflt_sha1.cat DriverPackageType=ClassFilter [DestinationDirs] DefaultDestDir = 12 klkbdflt.DriverFiles = 12 ;%windir%\system32\drivers [SourceDisksNames] 1 = %Disk1% [SourceDisksFiles] klkbdflt_sha1.sys = 1 ;; ;; Default install sections ;; [DefaultInstall] OptionDesc = %klkbdfltServiceDesc% CopyFiles = klkbdflt.DriverFiles [DefaultInstall.ntamd64] OptionDesc = %klkbdfltServiceDesc% CopyFiles = klkbdflt.DriverFiles [DefaultInstall.Services] AddService = %klkbdfltServiceName%,,klkbdflt.Service [DefaultInstall.ntamd64.Services] AddService = %klkbdfltServiceName%,,klkbdflt.Service ;; ;; Default uninstall sections ;; [DefaultUninstall] DelFiles = klkbdflt.DriverFiles DelReg = klkbdflt.DelRegistry [DefaultUninstall.ntamd64] DelFiles = klkbdflt.DriverFiles DelReg = klkbdflt.DelRegistry [DefaultUninstall.Services] DelService = klkbdflt [DefaultUninstall.ntamd64.Services] DelService = klkbdflt ; ; Services Section ; [klkbdflt.Service] DisplayName = %klkbdfltDisplayName% Description = %klkbdfltServiceDesc% ServiceBinary = %12%\klkbdflt.sys ;%windir%\system32\drivers\klkbdflt.sys ServiceType = 1 ;SERVICE_KERNEL_DRIVER StartType = 3 ;SERVICE_DEMAND_START ErrorControl = 1 ;SERVICE_ERROR_NORMAL LoadOrderGroup = "Pnp Device Filter" AddReg = klkbdflt.AddRegistry ; ; Registry Modifications ; [klkbdflt.AddRegistry] ;HKLM,%KeyboardClassKeyName%,"UpperFilters",%REG_MULTI_SZ_APPEND%,%klkbdfltServiceName% [klkbdflt.DelRegistry] HKLM,%KeyboardClassKeyName%,"UpperFilters",%REG_MULTI_SZ_DELSTRING%,%klkbdfltServiceName% ; ; Copy Files ; [klkbdflt.DriverFiles] klkbdflt.sys,klkbdflt_sha1.sys,,0x00016002 ; (DELFLG_IN_USE1 | COPYFLG_IN_USE_RENAME | COPYFLG_NOPRUNE | COPYFLG_NOSKIP) ;; ;; String Section ;; [Strings] klkbdfltDisplayName = "Kaspersky Lab KLKBDFLT" KasperskyLab = "Kaspersky Lab" klkbdfltServiceDesc = "Kaspersky Lab Keyboard Class Filter" klkbdfltServiceName = "klkbdflt" Disk1 = "klkbdflt Source" KLName = "KL" klkbdfltName = "klkbdflt" KeyboardClassKeyName = "System\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}" REG_MULTI_SZ_APPEND = 0x00010008 REG_MULTI_SZ_DELSTRING = 0x00018002