; ACR122.INF
; Copyright (c) 1994 - 2012 Advanced Card Systems Ltd.
; 
; USB Smart Card Driver for ACR122 PCSC/CCID reader

[Version]
DriverVer=10/10/2012,1.1.6.4
Signature="$CHICAGO$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%ACS%
CatalogFile.NT=acr122.cat

[SourceDisksNames]
1 = %SourceDiskName%,,,""

[SourceDisksFiles]
a122w98.sys   = 1
acr122.sys    = 1
acr122x64.sys = 1

[DestinationDirs]
ACS.Install.CopySYS 	    = 10,System32\Drivers
ACS.Install.CopySYS.NTx86   = 12
ACS.Install.CopySYS.NTamd64 = 12

[Manufacturer]
%ACS%=ACS,NTamd64

; ================= ACR122 Reader =====================

[ACS]
; DisplayName       Section     DeviceId
; -----------       -------     --------
%ACS.DeviceDesc% = ACS.Install, USB\VID_072F&PID_2200

[ACS.NTamd64]
; DisplayName       Section     DeviceId
; -----------       -------     --------
%ACS.DeviceDesc% = ACS.Install, USB\VID_072F&PID_2200

[ACS.Install]
AddReg          = ACS.Install.AddReg
CopyFiles	= ACS.Install.CopySYS

[ACS.Install.NTx86]
AddReg          = ACS.Install.AddReg.NT
CopyFiles	= ACS.Install.CopySYS.NTx86

[ACS.Install.NTamd64]
AddReg          = ACS.Install.AddReg.NT
CopyFiles	= ACS.Install.CopySYS.NTamd64

; ================= Windows 98/ME =====================

[ACS.Install.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,acr122.sys
HKR,,AdapterType, 0, "0100"
HKR,,"VendorName",0,%Vendor%
HKR,,"IFDName",0,%Reader%
HKR,,"CardType",0,%CardType%
HKR,,"SFDT",0,%SFDT%
HKR,,"CardVoltage",0,%CardVoltage%

[ACS.Install.CopySYS]
acr122.sys,a122w98.sys

[ACS.Install.Services]
AddService = ACR122U, 2, ACS.Service

; ============= Windows 2K and UP =================

[ACS.Install.AddReg.NT]
HKR,,AdapterType, 0, "0100"
HKR,,"VendorName",0,%Vendor%
HKR,,"IFDName",0,%Reader%
HKR,,"CardType",0,%CardType%
HKR,,"SFDT",0,%SFDT%
HKR,,"CardVoltage",0,%CardVoltage%
HKLM,"Software\Microsoft\Cryptography\Calais\Readers",,,
HKLM,"System\CurrentControlSet\Services\SCardSvr","Start", 0x00010001,2
HKLM,"System\CurrentControlSet\Services\CertPropSvc","Start", 0x00010001,2

[ACS.Install.CopySYS.NTx86]
acr122.sys

[ACS.Install.CopySYS.NTamd64]
acr122.sys,acr122x64.sys

[ACS.Install.NTx86.Services]
AddService = ACR122U, 2, ACS.Service, ACS.EventLog

[ACS.Install.NTamd64.Services]
AddService = ACR122U, 2, ACS.Service, ACS.EventLog

[ACS.Service]
DisplayName     = %ACS.DeviceDesc%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\acr122.sys

[ACS.EventLog]
AddReg = ACS.AddEventLog.reg

[ACS.AddEventLog.reg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\drivers\acr122.sys"
HKR,, TypesSupported,   0x00010001, 7

; ================= Strings =====================

[Strings]
SourceDiskName  = "ACR122 USB Smart Card Reader Driver Installation Disk"
Msft			= "Advanced Card Systems Ltd."
ACS			= "ACS"
ACS.DeviceDesc		= "ACR122 Smart Card Reader"
ClassName 		= "Smart Card Readers"
Vendor			= "ACS"
Reader			= "ACR122"
CardType		= 0
SFDT			= "TRUE"
CardVoltage		= 0

