; FWFilterUsbInstall.inf
; Copyright © 2017 Endor AG;
; All rights reserved

; This file is used to install the Fanatec Wheel USB lower HID filter driver

[Version]
Signature=$Windows NT$
Provider=%MFGNAME%
Class=%FANATECCLASS%
ClassGuid={07D6CF0D-8602-42e8-AB52-4829384E6E94}
; Manually change "Date(mm/dd/yyyy) and Product Version" only if FWFilterUsb was modified.
DriverVer=06/29/2022,8.449.0.1
CatalogFile=FWFilterUsb.cat

[ClassInstall32]
AddReg=FanatecClassReg

[FanatecClassReg]
HKR,,,0,%FANATECCLASS%
HKR,,Icon,,-24
HKR,,NoDisplayClass,,1

;
; Source file information
;
[SourceDisksNames]
1=%DiskId%,,,""

[SourceDisksFiles]
FWFilterUsb.sys=1
WdfCoInstaller01011.dll=1

[DestinationDirs]
DefaultDestDir=12
Default.CopyFiles=11    ; system32
DriverFiles=12			; drivers
CoInstallerFiles=11		; system32

;
; File sections
;
[DriverFiles]
FWFilterUsb.sys

[CoInstallerFiles]
WdfCoInstaller01011.dll,,,0x00000008

;
; Registry sections
;
[AddRegCoInstallers]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01011.dll,WdfCoInstaller"

;
; Driver information
;
[Manufacturer]
%MFGNAME%=DeviceList,NTx86,NTAMD64

[DeviceList.NTx86]
%DESCRIPTION%=DriverInstall,ROOT\FWFILTER_VIRTUAL_HARDWARE_ID

[DeviceList.NTAMD64]
%DESCRIPTION%=DriverInstall,ROOT\FWFILTER_VIRTUAL_HARDWARE_ID

;
; General installation section
;
[DriverInstall]
CopyFiles=DriverFiles

[DriverInstall.Services]
AddService=FanatecWheelFilterUsb,2,ServiceInstall

[DriverInstall.CoInstallers]
AddReg=AddRegCoInstallers
CopyFiles=CoInstallerFiles

[DriverInstall.Wdf]
KmdfService=FanatecWheelFilterUsb,WdfSection

[DefaultUninstall.NTx86]
DelFiles=DriverFiles

[DefaultUninstall.NTAMD64]
DelFiles=DriverFiles

[WdfSection]
KmdfLibraryVersion=1.11

;
; Service installation sections
;
[ServiceInstall]
ServiceType		= 1		; SERVICE_KERNEL_DRIVER
StartType		= 3		; SERVICE_DEMAND_START
ErrorControl	= 1		; SERVICE_ERROR_NORMAL
ServiceBinary	= %12%\FWFilterUsb.sys

;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

[Strings]
;
; Non-Localizable Strings
;
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001

;
; Localizable Strings
;
DiskId="FANATEC DISK (WDF)"
MFGNAME="Endor AG"
INSTDISK="FANATEC INSTALLATION DISK"
DESCRIPTION="Fanatec Wheel"
FANATECCLASS="FANATEC Gaming Devices"

