; A38CCID.INF
; Copyright (c) 1994 - 2013 Advanced Card Systems Ltd.
; 
; CCID USB Smart Card Reader Driver

[Version]
DriverVer=01/17/2013,1.1.6.8
Signature="$CHICAGO$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%ACS%
CatalogFile.NT=a38ccid.cat

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

[SourceDisksFiles]
a38cd98.sys    = 1
a38ccid.sys    = 1
a38ccidx64.sys = 1

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

[Manufacturer]
%ACS%=ACS,NTamd64

; ================= ACR38U Reader =====================

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

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

[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,,a38ccid.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]
a38ccid.sys,a38cd98.sys

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

; ============= Windows 2000 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]
a38ccid.sys

[ACS.Install.CopySYS.NTamd64]
a38ccid.sys,a38ccidx64.sys

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

[ACS.Install.NTamd64.Services]
AddService = A38CCID, 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%\a38ccid.sys

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

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

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

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

