; Copyright (c) AVerMedia TECHNOLOGIES, Inc. All rights reserved.
; Installation inf file for AVerMedia Infrared Receiver

[Version]
Signature="$WINDOWS NT$"
Class=Media
ClassGuid={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%AVerMedia%
DriverVer=01/29/2010,8.0.999.55
CatalogFile=AVerIR.cat

[DestinationDirs]
DefaultDestDir=12
IR_CoInstaller_CopyFiles=11

[SourceDisksNames.x86]
1=%DriverDescription%,,,

[SourceDisksNames.amd64]
1=%DriverDescription%,,,

[SourceDisksNames.ia64]
1=%DriverDescription%,,,

[SourceDisksFiles]
AVerIR.sys=1,,
CIRCoInst.dll=1,,

[Manufacturer]
%AVerMedia%=DeviceList,NTx86,NTia64,NTamd64

[DeviceList]
%DeviceDescription%=AVerIR_Device,AVStream\AVerIR

[DeviceList.NTx86]
%DeviceDescription%=AVerIR_Device,AVStream\AVerIR

[DeviceList.NTia64]
%DeviceDescription%=AVerIR_Device,AVStream\AVerIR

[DeviceList.NTamd64]
%DeviceDescription%=AVerIR_Device,AVStream\AVerIR

[AVerIR_Device.NT]
CopyFiles=Drivers_Dir

[AVerIR_Device.NT.HW]
AddReg=AVerIR_Device.NT.AddReg

[AVerIR_Device.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"

[Drivers_Dir]
AVerIR.sys

[AVerIR_Device.NT.Services]
AddService=AVerIR,%SPSVCINST_ASSOCSERVICE%,AVerIR_Service_Install

[AVerIR_Service_Install]
DisplayName=%ServiceDescription%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\AVerIR.sys
LoadOrderGroup=Extended Base
AddReg=AVerIR_Device.NT.AddReg.Services

[AVerIR_Device.NT.AddReg.Services]
; Active power Key (set to NOCLOBBER)
HKR,"PowerKey","PowerKey",0x00000003,\
   0x2b, 0x2b, 0x80, 0x0f, 0x00, 0x03, 0x0c, \
   0x04, 0x80, 0x0c, 0x00, 0x00, 0xff, 0x00, \
   0x00, 0x00, 0x00

; RC6 power key
HKR,"PowerKey","PowerKeyRC6",0x00000001,\
   0x2b, 0x2b, 0x80, 0x0f, 0x00, 0x03, 0x0c, \
   0x04, 0x80, 0x0c, 0x00, 0x00, 0xff, 0x00, \
   0x00, 0x00, 0x00

; RC5 power key
HKR,"PowerKey","PowerKeyRC5",0x00000001,\
   0x2b, 0x58, 0x00, 0x00, 0x00, 0x02, 0xf0, \
   0x0c, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, \
   0x00, 0x00, 0x00

; NEC power key
HKR,"PowerKey","PowerKeyNEC",0x00000001,\
   0x29, 0x37, 0x45, 0xba, 0x12, 0x80, 0x00, \
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
   0x00, 0x00, 0x00

[AVerIR_Device.NT.CoInstallers]
AddReg=IR_CoInstaller_AddReg
CopyFiles=IR_CoInstaller_CopyFiles

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

[IR_CoInstaller_CopyFiles]
CIRCoInst.dll

[AVerIR_Device.NT.WdfSection]
USE_WDF_DYNAMIC
COMPONENTS=WdfDynam

[Strings]
SPSVCINST_ASSOCSERVICE=0x00000002
AVerMedia="AVerMedia TECHNOLOGIES, Inc."
DriverDescription="AVerMedia Infrared Recriver"
DeviceDescription="AVerMedia Infrared Receiver"
ServiceDescription="AVerMedia Infrared Receiver"
[AVerAF35x86.NT]
DriverVer=01/29/2010,8.0.0.55
[AVerAF35x86_Vista.NT]
DriverVer=01/29/2010,8.0.0.55
[AVerAF35x64.NT]
DriverVer=01/29/2010,8.0.64.55
[AVerAF35x64_Vista.NT]
DriverVer=01/29/2010,8.0.64.55
