;
; wdk0601.inf
;
; Watchdata USB 0601 Key Driver Installation File.
;
; (C) Copyright 2007-2010 Watchdata System Co., Ltd.
;
;
[Version]
Signature  ="$Windows NT$"
Class=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider   =%Watchdata%

CatalogFile=wdk0601.cat
DriverVer=01/09/2008,2.0.0.1

;
; Source Media 
;  
[SourceDisksNames]
1=%DiskName%,,,

[SourceDisksFiles]
wdk0601e.sys=1,,
wdk0601i.sys=1,,
wdk0601t.sys =1,,

[DestinationDirs]
DefaultDestDir   = 12
wdk0601e_Files  = 12
wdk0601i_Files   = 12
wdk0601t_Files    = 12

[wdk0601e_Files]
wdk0601e.sys,,,0x00000062

[wdk0601i_Files]
wdk0601i.sys,,,0x00000062

[wdk0601t_Files]
wdk0601t.sys,,,0x00000062

;
; Manufacture
;
[Manufacturer]
%Watchdata%=Watchdata,NTamd64

;
; Models
;
[Watchdata.NTamd64]
%PID_ENUM%        =wdk0601e_Install,wdk0601\wdk0601e
%PID_IFD%         =wdk0601i_Install, wdk0601e\wdk0601i

%PID_PRO%         =wdk0601t_Install,USB\VID_6513&PID_0089
%PID_READER_ST%   =wdk0601t_Install,USB\VID_6513&PID_0189

%PID_PRO_0101%  =wdk0601t_Install,USB\VID_163C&PID_0101
%PID_PRO_0201%  =wdk0601t_Install,USB\VID_163C&PID_0201
%PID_PRO_0301%  =wdk0601t_Install,USB\VID_163C&PID_0301
%PID_PRO_0800%  =wdk0601t_Install,USB\VID_163C&PID_0800
%PID_Pro_0401%    =wdk0601t_Install,USB\VID_163C&PID_0401

;
; Exclude selected models from display
;
[ControlFlags]
ExcludeFromSelect = *

;
; 0601 Key Driver Installation
;
[wdk0601t_Install]
CopyFiles=wdk0601e_Files,wdk0601i_Files,wdk0601t_Files
DriverVer=01/09/2008,2.0.0.1

[wdk0601t_Install.Services]
AddService=wdk0601t,0x00000002,wdk0601t_AddService

[wdk0601t_AddService]
DisplayName    = %TOKEN_DISPNAME%
Description    = %TOKEN_SVCDESC%
ServiceType    = 1 ; SERVICE_KERNEL_DRIVER
StartType      = 3 ; SERVICE_DEMAND_START
ErrorControl   = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\wdk0601t.sys
LoadOrderGroup = Extended Base



;
; 0601 Key Enumerator Driver Installation
;
[wdk0601e_Install]
CopyFiles=wdk0601e_Files,wdk0601i_Files,wdk0601t_Files
AddReg   =wdk0601e_AddReg
DriverVer=01/09/2008,2.0.0.1

[wdk0601e_Install.Services]
AddService=wdk0601e,0x00000002,wdk0601e_AddService

[wdk0601e_AddService]
DisplayName    = %ENUM_DISPNAME%
Description    = %ENUM_SVCDESC%
ServiceType    = 1 ; SERVICE_KERNEL_DRIVER
StartType      = 3 ; SERVICE_DEMAND_START
ErrorControl   = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\wdk0601e.sys
LoadOrderGroup = Extended Base

[wdk0601e_AddReg]
; The number of virtual pc/sc smarcard reader
HKLM,SYSTEM\CurrentControlSet\Services\wdk0601e,NumberOfDevices, 0x10003,1


;
; 0601 Key Virtual Reader Driver Installation
;
[wdk0601i_Install]
CopyFiles=wdk0601e_Files,wdk0601i_Files,wdk0601t_Files
AddReg   =wdk0601i_AddReg
DriverVer=01/09/2008,2.0.0.1

[wdk0601i_Install.Services]
AddService=wdk0601i, 0x00000002,wdk0601i_AddService,wdk0601i_EventLog

[wdk0601i_AddService]
DisplayName    = %IFD_DISPNAME%
Description    = %IFD_SVCDESC%
ServiceType    = 1 ; SERVICE_KERNEL_DRIVER
StartType      = 3 ; SERVICE_DEMAND_START
ErrorControl   = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\wdk0601i.sys
LoadOrderGroup = Extended Base

[wdk0601i_EventLog]
AddReg = wdk0601i_EventLog_AddReg

[wdk0601i_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,%12%\wdk0601i.sys
HKR,,TypesSupported,0x00010001,7

[wdk0601i_AddReg]
HKLM,SYSTEM\CurrentControlSet\Services\wdk0601i,EnablePCSC, 0x10003,1

; Default 
[Strings]
Watchdata        = "Watchdata System Co., Ltd."
DiskName         = "WatchData 0601 Key Installation Disk"
PID_ENUM 	 = "Watchdata 0601 Key Virtual Reader Enumerator"
PID_IFD          = "Watchdata 0601 Key Virtual Reader"

PID_PRO          = "Watchdata USB 0601 Key"
PID_READER_ST    = "Watchdata USB 0601 Smartcard Reader(ST)"

PID_PRO_0101     = "Watchdata USB 0601 Key"
PID_PRO_0201     = "Watchdata USB 0601 Key"
PID_PRO_0301     = "Watchdata USB 0601 Key"

PID_PRO_0800     = "Watchdata USB 0601 Key"
PID_Pro_0401     = "Watchdata USB 0601 Key"

TOKEN_DISPNAME   = "Watchdata USB 0601 Key"
TOKEN_SVCDESC    = "Watchdata 0601 Key Service"
ENUM_DISPNAME 	 = "Watchdata 0601 Key Virtual Reader Enumerator"
ENUM_SVCDESC 	 = "Watchdata 0601 Key Enumerator Service"
IFD_DISPNAME	 = "Watchdata 0601 Key Virtual Reader"
IFD_SVCDESC	 = "Watchdata 0601 Key Virtual Reader Service"

