;;;
;;; rockey5
;;;
;;;
;;; Copyright (c) 2000-2010, FEITIAN Corporation
;;;

[Version]
Signature="$WINDOWS NT$"
Class=SmartCardReader
ClassGUID={50dd5230-ba8a-11d1-bf5d-0000f805f530}
Provider=%OEM%;
DriverVer=12/02/2009,2.5.9.1202
CatalogFile=R5Smcs.cat

[DestinationDirs]
FtSmc_CopyFiles=12
eps2k_Dir=12
DefaultDestDir = 10,System32\Drivers
CoInstaller_CopyFiles = 11; System Dir( system32 on NT )

[Manufacturer]
%StdMfg%=Standard,NTamd64

[Standard]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%FtSmc.DeviceDesc%	=	FtSmc,			Rockey\R5Smc
%eps2k.DeviceDes%	=	eps2k_Device,		USB\VID_096e&PID_0005

[Standard.NTamd64]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%FtSmc.DeviceDesc%	=	FtSmc,			Rockey\R5Smc
%eps2k.DeviceDes%	=	eps2k_Device,		USB\VID_096e&PID_0005

;*************************************************
; Feitian Common smartcard driver  Install Section
;**************************************************

[FtSmc.NT]
CopyFiles=FtSmc_CopyFiles

[FtSmc_CopyFiles]
smccard.sys


;-------------- Common smartcard Service installation
[FtSmc.NT.Services]
AddService = R5BaseSmc,%SPSVCINST_ASSOCSERVICE%,FtSmc_Service_Inst

; -------------- Rockey driver install sections
[FtSmc_Service_Inst]
DisplayName    = %FtSmc.SVCName%
Description    = %FtSmc.SVCDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\smccard.sys
LoadOrderGroup = Extended Base


;*****************************************
; ePass2K and Rockey5  Install Section
;*****************************************
[eps2k_Device.NT]
AddReg=SzTimeOutKey
CopyFiles=eps2k_Dir

[eps2k_Dir]
eps2kt1.sys,,,2

;-------------- Service installation
[eps2k_Device.NT.Services]
AddService = token ,%SPSVCINST_ASSOCSERVICE%,eps2k_Service_Inst

; -------------- eps2k service desc-----------
[eps2k_Service_Inst]
DisplayName    = %eps2k.SVCName%
Description    = %eps2k.SVCDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\eps2kt1.sys
LoadOrderGroup = Extended Base


[SzTimeOutKey]
HKLM,SYSTEM\CurrentControlSet\Services\token,TimeoutT0,0x10003,254
HKLM,SYSTEM\CurrentControlSet\Services\token,TimeoutT1,0x10003,20
HKLM,SYSTEM\CurrentControlSet\Services\token,speed,0x10003,0


[eps2k_Device.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles




;*****************************************
; Coinstall  Install Section
;*****************************************

[CoInstaller_CopyFiles]
R5CoInst.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"R5CoInst.dll,TokenCoInstaller"



;-----------------Source system files
[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
smccard.sys  	= 1,,
eps2kt1.sys  = 1,,
R5CoInst.dll   = 1,,


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
OEM = "OEM"
StdMfg = "(Standard system devices)"

DiskId1 = "USB Token Installation Disk #1"

FtSmc.DeviceDesc	= "USB Token Holder"
FtSmc.SVCName		= "USB Token Holder Service"
FtSmc.SVCDesc		= "USB Token Holder service Name"

eps2k.DeviceDes		= "USB Token Device"	
eps2k.SVCName		= "USB Token Service"
eps2k.SVCDesc		= "USB Token Service Name"


