You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.6 KiB
65 lines
1.6 KiB
[Version]
|
|
Signature="$Windows NT$"
|
|
Class=SmartCardReader
|
|
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
|
|
|
|
[ClassInstall32]
|
|
Addreg=SmartCardReaderClassReg
|
|
|
|
[ClassInstall]
|
|
Addreg=SmartCardReaderClassReg
|
|
|
|
[SmartCardReaderClassReg]
|
|
HKR,,,0,%ClassName%
|
|
HKR,,Icon,,-25
|
|
HKR,,NoInstallClass,,1
|
|
HKR,,Installer32,,"winscard.dll,ClassInstall32"
|
|
|
|
[Manufacturer]
|
|
%CCID%=CCID
|
|
|
|
; ============ Add reg for all readers ===============
|
|
|
|
[Reader.Install.AddReg]
|
|
HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
|
|
HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
|
|
|
|
; **************************
|
|
; USB CCID Compliant Readers
|
|
; **************************
|
|
[CCID]
|
|
%USBCCID.DeviceDesc% = USBCCID.Install,,USB\Class_0B&SubClass_00,USB\Class_0B
|
|
|
|
[USBCCID.Install.NT]
|
|
AddReg = Reader.Install.AddReg
|
|
CopyFiles = USBCCID.Install.CopyFiles
|
|
|
|
[USBCCID.Install.NT.HW]
|
|
AddReg = USBCCID.Install.AddReg.HW
|
|
|
|
[USBCCID.Install.AddReg.HW]
|
|
HKR,,"VendorName",,"Generic"
|
|
HKR,,"IfdType",,"USB Smartcard"
|
|
|
|
[USBCCID.Install.CopyFiles]
|
|
usbccid.sys,,,2
|
|
|
|
[USBCCID.Install.NT.Services]
|
|
AddService = USBCCID, 2, USBCCID.Service
|
|
|
|
[USBCCID.Service]
|
|
DisplayName = %USBCCID.DeviceDesc%
|
|
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
|
|
StartType = 3 ;%SERVICE_AUTO_START%
|
|
ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
|
|
ServiceBinary = %12%\usbccid.sys
|
|
|
|
[DestinationDirs]
|
|
USBCCID.Install.CopyFiles = 12
|
|
|
|
[Strings]
|
|
ClassName = "Smart card readers"
|
|
CCID = "USB CCID Compliant"
|
|
USBCCID.DeviceDesc = "USB Smart Card reader"
|
|
|
|
|