; ACR1283.INF
; Copyright (c) 1994 - 2012 Advanced Card Systems Ltd.
;
; Note: For use on Windows 2000 or higher only!
;

[Version]
DriverVer=03/20/2012,1.0.0.0
Signature="$Windows NT$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%ACS%
CatalogFile=ACR1283.cat

; ======= Source and Destination section =============

[SourceDisksNames]
1 = %SourceDiskName%,,,

[SourceDisksFiles]
a1283.sys            = 1
a1283x64.sys         = 1
a1283u.sys           = 1
a1283ux64.sys        = 1
a1283bus.sys		 = 1
a1283pcc.sys		 = 1
a1283sam.sys		 = 1
a1283busx64.sys		 = 1
a1283pccx64.sys		 = 1
a1283samx64.sys	 	 = 1

[DestinationDirs]
ACS.Install1.CopyFiles.NTx86           = 12
ACS.Install1.CopyFiles.NTamd64         = 12
ACS.Install2.CopyFiles.NTx86           = 12
ACS.Install2.CopyFiles.NTamd64         = 12
ACS.Install.Bus.CopyFiles.NTx86        = 12
ACS.Install.Bus.CopyFiles.NTamd64      = 12
ACS.Install.Picc.CopyFiles.NTx86       = 12
ACS.Install.Picc.CopyFiles.NTamd64     = 12
ACS.Install.Sam.CopyFiles.NTx86        = 12
ACS.Install.Sam.CopyFiles.NTamd64      = 12


; ================= Class section =====================

[ClassInstall32]
Addreg=SmartCardReaderClassReg     

[ClassInstall]
Addreg=SmartCardReaderClassReg

[SmartCardReaderClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-25
HKLM,"\Software\Microsoft\Cryptography\Calais\Readers",,,

[Manufacturer]
%ACS%=ACS,NTamd64

; ================= ACS ACR1283 Reader =====================

[ACS]
; DisplayName            Section      	    DeviceId
; -----------            -------      	    --------
%ACS.DeviceDesc.Bus%  = ACS.Install.Bus,  USB\VID_072F&PID_2213   ;ACR1283 4S Cl Reader
%ACS.DeviceDesc.Picc% = ACS.Install.Picc, *ACO0735
%ACS.DeviceDesc.Sam%  = ACS.Install.Sam,  *ACO0736

%ACS.DeviceDesc1%  = ACS.Install1,      USB\VID_072F&PID_222C   ;ACR1283 CL Reader

%ACS.DeviceDesc2%  = ACS.Install2,      USB\VID_072F&PID_220C   ;ACR1283 Bootloader


[ACS.NTamd64]
; DisplayName            Section      	    DeviceId
; -----------            -------      	    --------
%ACS.DeviceDesc.Bus%  = ACS.Install.Bus,  USB\VID_072F&PID_2213   ;ACR1283 4S Cl Reader
%ACS.DeviceDesc.Picc% = ACS.Install.Picc, *ACO0735
%ACS.DeviceDesc.Sam%  = ACS.Install.Sam,  *ACO0736

%ACS.DeviceDesc1%  = ACS.Install1,      USB\VID_072F&PID_222C   ;ACR1283 CL Reader 

%ACS.DeviceDesc2%  = ACS.Install2,      USB\VID_072F&PID_220C   ;ACR1283 Bootloader

; ============== ACS ACR1283 Bus Driver ====================

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

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

[ACS.Install.Bus.AddReg.NT]
HKLM,"System\CurrentControlSet\Services\SCardSvr","Start", 0x00010001,2
HKLM,"System\CurrentControlSet\Services\CertPropSvc","Start", 0x00010001,2

[ACS.Install.Bus.CopyFiles.NTx86]
a1283bus.sys,,,2
a1283pcc.sys,,,2
a1283sam.sys,,,2

[ACS.Install.Bus.CopyFiles.NTamd64]
a1283bus.sys,a1283busx64.sys
a1283pcc.sys,a1283pccx64.sys
a1283sam.sys,a1283samx64.sys

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

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

[ACS.Install.Bus.Service]
DisplayName     = %ACS.DeviceDesc.Bus%
ServiceType	    = 1
StartType	    = 3
ErrorControl	= 1
ServiceBinary	= %12%\a1283bus.sys

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

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

; ============== ACS ACR1283 PICC Driver ===============

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

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

[ACS.Install.Picc.AddReg.NT]
HKR,,"VendorName",0,%Vendor%
HKR,,"IFDName",0,%IFDName.Picc%

[ACS.Install.Picc.CopyFiles.NTx86]
a1283pcc.sys,,,2


[ACS.Install.Picc.CopyFiles.NTamd64]
a1283pcc.sys,a1283pccx64.sys


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

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

[ACS.Install.Picc.Service]
DisplayName     = %ACS.DeviceDesc.Picc%
ServiceType	= 1
StartType       = 3
ErrorControl	= 1
ServiceBinary	= %12%\a1283pcc.sys

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

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

; ============== ACS ACR1283 Sam Driver ===============

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

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

[ACS.Install.Sam.AddReg.NT]
HKR,,"VendorName",0,%Vendor%
HKR,,"IFDName",0,%IFDName.Sam%

[ACS.Install.Sam.CopyFiles.NTx86]
a1283sam.sys,,,2

[ACS.Install.Sam.CopyFiles.NTamd64]
a1283sam.sys,a1283samx64.sys

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

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

[ACS.Install.Sam.Service]
DisplayName     = %ACS.DeviceDesc.Sam%
ServiceType	= 1
StartType       = 3
ErrorControl	= 1
ServiceBinary	= %12%\a1283sam.sys

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

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


; ============== ACS ACR1283 CL Driver ====================

[ACS.Install1.NTx86]
AddReg    = ACS.Install1.AddReg.NT
CopyFiles = ACS.Install1.CopyFiles.NTx86

[ACS.Install1.NTamd64]
AddReg    = ACS.Install1.AddReg.NT
CopyFiles = ACS.Install1.CopyFiles.NTamd64

[ACS.Install1.AddReg.NT]
HKR,,AdapterType, 0, "0100"
HKR,,"VendorName",0,%Vendor%
HKR,,"IFDName",0,%IFDName1%
HKR,,"CardType",0,%CardType%
HKR,,"SFDT",0,%SFDT%
HKR,,"CardVoltage",0,%CardVoltage%
HKLM,"System\CurrentControlSet\Services\SCardSvr","Start", 0x00010001,2
HKLM,"System\CurrentControlSet\Services\CertPropSvc","Start", 0x00010001,2

[ACS.Install1.CopyFiles.NTx86]
a1283.sys

[ACS.Install1.CopyFiles.NTamd64]
a1283.sys,a1283x64.sys

[ACS.Install1.NTx86.Services]
AddService=A1283, 2, ACS.Install1.Service, ACS.Install1.EventLog

[ACS.Install1.NTamd64.Services]
AddService=A1283, 2, ACS.Install1.Service, ACS.Install1.EventLog

[ACS.Install1.Service]
DisplayName     = %ACS.DeviceDesc1%
ServiceType	    = 1
StartType	    = 3
ErrorControl	= 1
ServiceBinary	= %12%\a1283.sys

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

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

; ============== ACS ACR1283 Bootloader Driver ====================

[ACS.Install2.NTx86]
AddReg    = ACS.Install2.AddReg.NT
CopyFiles = ACS.Install2.CopyFiles.NTx86

[ACS.Install2.NTamd64]
AddReg    = ACS.Install2.AddReg.NT
CopyFiles = ACS.Install2.CopyFiles.NTamd64

[ACS.Install2.AddReg.NT]
HKR,,AdapterType, 0, "0100"
HKR,,"VendorName",0,%Vendor%
HKR,,"IFDName",0,%IFDName2%
HKR,,"CardType",0,%CardType%
HKR,,"SFDT",0,%SFDT%
HKR,,"CardVoltage",0,%CardVoltage%
HKLM,"System\CurrentControlSet\Services\SCardSvr","Start", 0x00010001,2
HKLM,"System\CurrentControlSet\Services\CertPropSvc","Start", 0x00010001,2

[ACS.Install2.CopyFiles.NTx86]
a1283u.sys

[ACS.Install2.CopyFiles.NTamd64]
a1283u.sys,a1283ux64.sys

[ACS.Install2.NTx86.Services]
AddService=A1283U, 2, ACS.Install2.Service, ACS.Install2.EventLog

[ACS.Install2.NTamd64.Services]
AddService=A1283U, 2, ACS.Install2.Service, ACS.Install2.EventLog

[ACS.Install2.Service]
DisplayName     = %ACS.DeviceDesc2%
ServiceType	    = 1
StartType	    = 3
ErrorControl	= 1
ServiceBinary	= %12%\a1283u.sys

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

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



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

[Strings]
ACS                 	= "Advanced Card Systems Ltd."
Vendor              	= "ACS"
SourceDiskName		    = "ACR1283 USB Smart Card Reader Installation Disk"
ClassName 		        = "Smart Card Readers"
ACS.DeviceDesc.Bus	    = "ACR1283 4S CL Reader Bus Driver"
ACS.DeviceDesc.Picc 	= "ACR1283 4S CL Reader PICC"
ACS.DeviceDesc.Sam	    = "ACR1283 4S CL Reader SAM"
ACS.DeviceDesc1  	    = "ACR1283 CL Reader PICC"
ACS.DeviceDesc2  	    = "ACR1283U FW Upgrade"
IFDName.Picc		    = "ACR1283 4S CL Reader PICC"
IFDName.Sam         	= "ACR1283 4S CL Reader SAM"
IFDName1         	    = "ACR1283 CL Reader PICC"
IFDName2         	    = "ACR1283U FW Upgrade"
CardType                = 0
SFDT                    = "TRUE"
CardVoltage             = 0


