;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;  Copyright (c) AVerMedia TECHNOLOGIES, Inc.
;;
;;  Installation file for AVerMedia USB Polaris Series Custom IR Driver
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Version]
Signature="$Chicago$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%AVerMedia%
CatalogFile=AVPolCIR.cat
DriverVer=05/24/2013,10.2.64.88

[SourceDisksNames]
1=%DriverDescription%,,,

[SourceDisksFiles]
AVPolCIR.sys=1

[DestinationDirs]
AVPolCIR.CopyFiles=12

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%AVerMedia%=DeviceList,NTamd64

[DeviceList.NTamd64]
%DeviceDescription7571%=AVPolCIRx64,USB\VID_07CA&PID_7571&MI_00
%DeviceDescription7571%=AVPolCIRx64,USB\VID_07CA&PID_7572&MI_00

[AVPolCIRx64.NT]
CopyFiles=AVPolCIR.CopyFiles
AddReg=AVPolCIR.AddReg

[AVPolCIR.CopyFiles]
AVPolCIR.sys

[AVPolCIR.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,AVPolCIR.sys
;command table 0: RC6 protocol is selected. RC5 0x1  NEC small 0x3
HKR,"DriverData","IR_Command_Table",0x00010001,0x02,0x00,0x00,0x00
;IR protocol 0: RC6 protocol is selected. RC5 0x1  NEC 0x2
HKR,"DriverData","IR_PROTOCOL",0x00010001,0x02,0x00,0x00,0x00
;RC6 mode 0xc: RC6 mode 6A is selected.
HKR,"DriverData","IR_PROTOCOL_MODE",0x00010001,0x0c,0x00,0x00,0x00
HKLM,SYSTEM\CurrentControlSet\services\kbdclass\Parameters\,"AllowDisable",0x00010001,0x01,0x00,0x00,0x00


[AVPolCIRx64.NT.Services]
AddService=AVPolCIR,0x00000002,AVPolCIR.ServiceInstall

[AVPolCIR.ServiceInstall]
DisplayName=%ServiceDescription%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\AVPolCIR.sys
LoadOrderGroup=ExtendedBase

[Strings]
AVerMedia="AVerMedia TECHNOLOGIES, Inc."

DriverDescription="AVerMedia USB Polaris Series Custom IR Driver"

DeviceDescription7571="AVerMedia M757 USB Custom IR Receiver"

ServiceDescription="AVerMedia USB Polaris Series Custom IR Service"

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
