; acr90wdm.inf
; 

[Version]
Signature=$CHICAGO$
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%Provider%
DriverVer=01/19/2004,3.5.0.9
;we have to remove this for the uncertified driver
;CatalogFile=acr90wdm.cat

[SourceDisksNames]
1=%DiskDescription%,,

[SourceDisksFiles]
acr90wdm.sys=1,,
chksvrn.dll=1,,

[DestinationDirs]
DefaultDestDir = 10,system32\drivers
acr90wdm.Install.CopyFiles=10,system32\drivers
acr90wdm.Install.NT.CopyFiles=10,system32\drivers
acr90wdm.Install.NT.Util=11

[Manufacturer]
%Manufacturer%=ACS

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

[ClassInstall]
Addreg=SmartCardReaderClassReg

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


; ================================================

; we have to remove this for the uncertified driver
;[ControlFlags]
;ExcludeFromSelect.NT = PCMCIA\ACR-90-93B9

[ACS]
; DisplayName       	Section           DeviceId
; -----------       	-------           --------
%DeviceDescription% = acr90wdm.Install, PCMCIA\ACR-90-93B9


; =================== Win9x specific ======================

[acr90wdm.Install]
AddReg    = acr90wdm.Install.AddReg
CopyFiles = acr90wdm.Install.CopyFiles

[acr90wdm.Install.HW]
AddReg    = acr90wdm.Install.AddReg.HW



[acr90wdm.Install.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,acr90wdm.sys

[acr90wdm.Install.CopyFiles]
acr90wdm.sys


; ================== Win2000 specific =====================

[acr90wdm.Install.NT]
AddReg    = acr90wdm.Install.NT.AddReg
CopyFiles = acr90wdm.Install.NT.CopyFiles,acr90wdm.Install.NT.Util

[acr90wdm.Install.NT.HW]
AddReg    = acr90wdm.Install.AddReg.HW

[acr90wdm.Install.NT.Services]
AddService = acr90wdm, 2, acr90wdm.Service.NT, acr90wdm.EventLog.NT



[acr90wdm.Install.NT.AddReg]
HKR,, AdapterType, 0, "0100"
HKLM, "Software\Microsoft\Windows\CurrentVersion\RunOnce",chksvrn,,"rundll32 chksvrn.dll,StartScardsvr"
HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLName,0,wlnotify.dll
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon,0,SCardStartCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logoff,0,SCardStopCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock,0,SCardSuspendCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unlock,0,SCardResumeCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabled,0x00010001,1
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Impersonate,0x00010001,1
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Asynchronous,0x00010001,1


[acr90wdm.Install.NT.CopyFiles]
acr90wdm.sys,,,2

[acr90wdm.Install.NT.Util]
chksvrn.dll

[acr90wdm.Service.NT]
DisplayName     = %DeviceDescription%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\acr90wdm.sys

[acr90wdm.EventLog.NT]
AddReg = acr90wdm.AddEventLog.reg

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




; =====================
; === ACR90 ====
; =====================
[acr90wdm.Install.AddReg.HW]
HKR,,"VendorName",,"ACS"
HKR,,"IfdType",, "ACR90"



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

[Strings]
Provider		= "Advanced Card Systems Ltd."
Manufacturer    	= "Advanced Card Systems Ltd."
DeviceDescription	= "ACR90"
DiskDescription         = "ACR90 installation disk"
ClassName 		= "Smart Card Readers"
