
[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%ENE%
CatalogFile=enecir.cat
DriverVer=01/23/2008,2.4.0.0

[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
99 = %DISK_NAME%

[SourceDisksFiles]
enecir.sys  = 99,,

[Manufacturer]
%StdMfg%=Standard,NTx86.6.0

[Standard.NTx86.6.0]
%enecir.DeviceDesc%=enecir_inst,     *ENE0100 ; standard
;%enecir.DeviceDesc%=enecir0101_inst, *ENE0101 ; ir hid rc6
%enecir.DeviceDesc%=enecir0200_inst, *ENE0200 ; ir hid nec

; ---- install sections ----
;
[enecir_inst.NT]
CopyFiles=SysCopyFiles

[enecir0101_inst.NT]
CopyFiles=SysCopyFiles

[enecir0200_inst.NT]
CopyFiles=SysCopyFiles

; ---- hw sections ----
;
[enecir_inst.NT.HW]
AddReg=enecir_inst.NT.AddReg

[enecir0101_inst.NT.HW]
AddReg=enecir0101_inst.NT.AddReg

[enecir0200_inst.NT.HW]
AddReg=enecir0200_inst.NT.AddReg

; ---- services sections ----
;
[enecir_inst.NT.Services]
AddService = enecir,%SPSVCINST_ASSOCSERVICE%, enecir_Service_Inst

[enecir0101_inst.NT.Services]
AddService = enecir,%SPSVCINST_ASSOCSERVICE%, enecir_Service_Inst

[enecir0200_inst.NT.Services]
AddService = enecir,%SPSVCINST_ASSOCSERVICE%, enecir_Service_Inst

; ---- co-installers sections ----
;
[enecir_inst.NT.CoInstallers]
AddReg=CoInstaller_AddReg

[enecir0101_inst.NT.CoInstallers]
AddReg=CoInstaller_AddReg

[enecir0200_inst.NT.CoInstallers]
AddReg=CoInstaller_AddReg

; ---- wdf sections ----
;
[enecir_inst.NT.WdfSection]
USE_WDF_DYNAMIC
COMPONENTS = WdfDynam

[enecir0101_inst.NT.WdfSection]
USE_WDF_DYNAMIC
COMPONENTS = WdfDynam

[enecir0200_inst.NT.WdfSection]
USE_WDF_DYNAMIC
COMPONENTS = WdfDynam

; ---- add reg sections ----
;
[enecir_inst.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 

[enecir0101_inst.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 
HKR,,"IrHidRc6",0x00000001,\                      ; ir hid rc6
    0x0C                                          ; the codes interested

[enecir0200_inst.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 
HKR,,"IrHid",0x00010001,1                         ; ir hid

; ---- sections common to all devices ----
;
[SysCopyFiles]
enecir.sys

[enecir_Service_Inst]
DisplayName    = %enecir.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\enecir.sys
LoadOrderGroup = Extended Base

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010008, "CIRCoInst.dll,IRCoInstaller"

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ENE = "ENE"
StdMfg = "ENECIR Devices"
DISK_NAME = "ENECIR Driver Installation Disk"
enecir.DeviceDesc = "ENE CIR Receiver"
enecir.SVCDESC = "ENE CIR Receiver"
