; Windows Modem Setup File
; Copyright (c) 2006, ZTE Incorporated
; Manufacturer: ZTE Incorporated
;
; This INF file installs ZTE USB Smart Card on 64-bit Windows system.
; This INF file installs a proprietary USB CDC driver

[Version]
Signature="$Windows NT$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%ZTE%
DriverVer=02/22/2010,1.1.0.17
CatalogFile=ZTEusbccid.cat

[ControlFlags]
ExcludeFromSelect = *
[SourceDisksNames]
1=%ZTESRCDISK%,ZTEusbccid.sys,, 

[SourceDisksFiles]
ZTEusbccid.sys = 1
[DestinationDirs]
USBZTECCID.Install.CopyFiles = 12
[Manufacturer]
%ZTECCID%=ZTECCID,NTamd64

[ClassInstall32]
Addreg=SmartCardReaderClassReg

[ClassInstall]
Addreg=SmartCardReaderClassReg

[SmartCardReaderClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-25
HKR,,NoInstallClass,,1
HKR,,Installer32,,"winscard.dll,ClassInstall32"


; ============ Add reg for all readers ===============

[Reader.Install.AddReg]
HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
; **************************
; USB ZTECCID Compliant Readers
; **************************
[ZTECCID]
%ZTECCID19D20003% = USBZTECCID.Install,USB\VID_19D2&PID_0001&MI_03
%ZTECCID19D20048% = USBZTECCID.Install,USB\VID_19D2&PID_0048&MI_00
%ZTECCID19D20066% = USBZTECCID.Install,USB\VID_19D2&PID_0066&MI_02

%ZTECCID19D20118% = USBZTECCID.Install,USB\VID_19D2&PID_0118&MI_03

%ZTECCID19D20124% = USBZTECCID.Install,USB\VID_19D2&PID_0124&MI_03
%ZTECCID19D20125% = USBZTECCID.Install,USB\VID_19D2&PID_0125&MI_04

[ZTECCID.NTamd64]
%ZTECCID19D20003% = USBZTECCID.Install,USB\VID_19D2&PID_0001&MI_03
%ZTECCID19D20048% = USBZTECCID.Install,USB\VID_19D2&PID_0048&MI_00
%ZTECCID19D20066% = USBZTECCID.Install,USB\VID_19D2&PID_0066&MI_02

%ZTECCID19D20118% = USBZTECCID.Install,USB\VID_19D2&PID_0118&MI_03

%ZTECCID19D20124% = USBZTECCID.Install,USB\VID_19D2&PID_0124&MI_03
%ZTECCID19D20125% = USBZTECCID.Install,USB\VID_19D2&PID_0125&MI_04

[USBZTECCID.Install.NT]
AddReg          = Reader.Install.AddReg
CopyFiles       = USBZTECCID.Install.CopyFiles

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

[USBZTECCID.Install.AddReg.HW]
HKR,,"VendorName",,"ZTE"
HKR,,"IfdType",,"USB Smartcard"

[USBZTECCID.Install.CopyFiles]
ZTEusbccid.sys,,,2

[USBZTECCID.Install.NT.Services]
AddService = USBZTECCID, 2, USBZTECCID.Service

[USBZTECCID.Service]
DisplayName     = %USBCCIDString%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\ZTEusbccid.sys


[Strings]
ZTE                     = "ZTE Corporation"
ZTESRCDISK              = "ZTE USB CCID Driver Disk"
ClassName               = "Smartcard Reader"
ZTECCID                 = "ZTE Corporation"
USBCCIDString			= "ZTE USB Smartcard Driver"
ZTECCID19D20003         = "ZTE USB Smartcard Reader"
ZTECCID19D20048         = "ZTE USB Smartcard Reader"
ZTECCID19D20066         = "ZTE USB Smartcard Reader"
ZTECCID19D20118         = "Vodafone Mobile Broadband Simreader(ZTE)"
ZTECCID19D20124         = "ZTE USB Smartcard Reader"
ZTECCID19D20125         = "ZTE USB Smartcard Reader"



