;
; RNBTOKEN.INF
;
; SafeNet iKey Token Driver Installation File.
;
; (C) Copyright 2009 SafeNet, Inc.
;
;
[Version]
Signature  ="$WINDOWS NT$"
Provider   =%Rainbow%
Class	   =SmartCardReader
ClassGuid  ={50dd5230-ba8a-11d1-bf5d-0000f805f530}
CatalogFile=rnbtoken.cat
DriverVer=10/29/2009,1.21.0.5

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

[SourceDisksFiles]
RNBTOKEN.SYS=1,,
IKEYENUM.SYS=1,,
IKEYIFD.SYS =1,,

[DestinationDirs]
DefaultDestDir  = 12
iKeyEnum_Files  = 12
iKeyIFD_Files   = 12
RnbToken_Files  = 12

[RnbToken_Files]
RNBTOKEN.SYS,,,0x00000062

[iKeyEnum_Files]
IKEYENUM.SYS,,,0x00000062

[iKeyIFD_Files]
IKEYIFD.SYS,,,0x00000062

;
; Manufacture
;
[Manufacturer]
%Rainbow%=Rainbow


;
; Models
;
[Rainbow]
%PID_ENUM%     =iKeyEnum_Install,iKey\iKeyEnum
%PID_IFD%      =iKeyIFD_Install, iKeyEnum\iKeyIFD
; %PID_1000%     =RnbToken_Install,USB\VID_04B9&PID_1000
; %PID_1001%     =RnbToken_Install,USB\VID_04B9&PID_1001
; %PID_1002%     =RnbToken_Install,USB\VID_04B9&PID_1002
; %PID_1003%     =RnbToken_Install,USB\VID_04B9&PID_1003
; %PID_1004%     =RnbToken_Install,USB\VID_04B9&PID_1004
; %PID_1005%     =RnbToken_Install,USB\VID_04B9&PID_1005
; %PID_1006%     =RnbToken_Install,USB\VID_04B9&PID_1006
; %PID_1200%     =RnbToken_Install,USB\VID_04B9&PID_1200
; %PID_1201%     =RnbToken_Install,USB\VID_04B9&PID_1201
; %PID_1202%     =RnbToken_Install,USB\VID_04B9&PID_1202
; %PID_1203%     =RnbToken_Install,USB\VID_04B9&PID_1203
; %PID_1204%     =RnbToken_Install,USB\VID_04B9&PID_1204
; %PID_1205%     =RnbToken_Install,USB\VID_04B9&PID_1205
; %PID_1206%     =RnbToken_Install,USB\VID_04B9&PID_1206
; %PID_1300%     =RnbToken_Install,USB\VID_04B9&PID_1300
; %PID_1301%     =RnbToken_Install,USB\VID_04B9&PID_1301
; %PID_1302%     =RnbToken_Install,USB\VID_04B9&PID_1302
; %PID_1303%     =RnbToken_Install,USB\VID_04B9&PID_1303
; %PID_1304%     =RnbToken_Install,USB\VID_04B9&PID_1304
; %PID_1305%     =RnbToken_Install,USB\VID_04B9&PID_1305
; %PID_1306%     =RnbToken_Install,USB\VID_04B9&PID_1306
; %PID_1400%     =RnbToken_Install,USB\VID_04B9&PID_1400
;
; Exclude selected models from display
;
[ControlFlags]
ExcludeFromSelect = *

; iKey Token Driver Installation
;
[RnbToken_Install.NTx86]
CopyFiles=RnbToken_Files,iKeyEnum_Files,iKeyIFD_Files
AddReg   =RnbToken_AddReg
DriverVer=10/29/2009,1.21.0.5

[RnbToken_Install.NTx86.Services]
AddService=RnbToken,0x00000002,RnbToken_AddService

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

[RnbToken_AddReg]
; Set the default state to not use PC/SC
HKLM,SYSTEM\CurrentControlSet\Services\RnbToken\Parameters,UseRM,0x10003,0
; Set the driver flags, disable power up of smart cards upon system resume
HKLM,SYSTEM\CurrentControlSet\Services\RnbToken\Parameters,DriverFlags,0x10003,0x8000000
HKLM,SYSTEM\CurrentControlSet\Services\RnbToken\Parameters,FlashLedCycle,0x10003,0
HKLM,SYSTEM\CurrentControlSet\Services\RnbToken\Parameters,FlashLedDuration,0x10003,0

;
; iKey Enumerator Driver Installation
;
[iKeyEnum_Install.NTx86]
CopyFiles=iKeyEnum_Files,iKeyIFD_Files,RnbToken_Files
AddReg   =iKeyEnum_AddReg
DriverVer=10/29/2009,1.21.0.5

[iKeyEnum_Install.NTx86.Services]
AddService=iKeyEnum,0x00000002,iKeyEnum_AddService

;
; iKey Enumerator Driver Installation
;
[iKeyEnum_AddService]
DisplayName    = %ENUM_DISPNAME%
Description    = %ENUM_SVCDESC%
ServiceType    = 1 ; SERVICE_KERNEL_DRIVER
StartType      = 3 ; SERVICE_DEMAND_START
ErrorControl   = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ikeyenum.sys
LoadOrderGroup = Extended Base

[iKeyEnum_AddReg]
; Set the default state to no readers
HKLM,SYSTEM\CurrentControlSet\Services\iKeyEnum,NumberOfDevices, 0x10003,0

;
; iKey Virtual Reader Driver Installation
;
[iKeyIFD_Install.NTx86]
CopyFiles=iKeyEnum_Files,iKeyIFD_Files,RnbToken_Files
DriverVer=10/29/2009,1.21.0.5

[iKeyIFD_Install.NTx86.Services]
AddService=iKeyIFD, 0x00000002,iKeyIFD_AddService,iKeyIFD_EventLog

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

[iKeyIFD_EventLog]
AddReg = iKeyIFD_EventLog_AddReg

[iKeyIFD_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,%12%\ikeyifd.sys
HKR,,TypesSupported,0x00010001,7

; Default 
[Strings]
;Rainbow          = "Rainbow Technologies Inc."
;DiskName         = "Rainbow iKey Installation Disk"
Rainbow          = "SafeNet, Inc."
DiskName         = "SafeNet iKey Installation Disk"
PID_ENUM 	 = "Rainbow iKey Enumerator"
PID_IFD          = "Rainbow iKey Virtual Reader"
PID_1000         = "Rainbow iKey 1000"
PID_1001         = "Rainbow iKey Token"
PID_1002         = "Rainbow iKey Token"
PID_1003         = "Rainbow iKey Token"
PID_1004         = "Rainbow iKey Token"
PID_1005         = "Rainbow iKey Token"
PID_1006         = "Rainbow iKey Token"
PID_1200         = "Rainbow iKey 2000"
PID_1201         = "Rainbow iKey Token"
PID_1202         = "Rainbow iKey 2032"
PID_1203         = "Rainbow iKey Token"
PID_1204         = "Rainbow iKey Token"
PID_1205         = "Rainbow iKey Token"
PID_1206         = "Rainbow iKey Token"
PID_1300         = "Rainbow iKey 3000"
PID_1301         = "Rainbow iKey 3000"
PID_1302         = "Rainbow iKey Token"
PID_1303         = "Rainbow iKey Token"
PID_1304         = "Rainbow iKey Token"
PID_1305         = "Rainbow iKey Token"
PID_1306         = "Rainbow iKey Token"
PID_1400         = "Rainbow iKey 4000"
TOKEN_DISPNAME   = "Rainbow iKey Token Service"
TOKEN_SVCDESC    = "Rainbow iKey Token Service"
ENUM_DISPNAME 	 = "Rainbow iKey Enumerator"
ENUM_SVCDESC 	 = "Rainbow iKey Enumerator Service"
IFD_DISPNAME	 = "Rainbow iKey Virtual Reader"
IFD_SVCDESC	 = "Rainbow iKey Virtual Reader Service"

; English U.S.
[Strings.0409]
;Rainbow          = "Rainbow Technologies Inc."
;DiskName         = "Rainbow iKey Installation Disk"
Rainbow          = "SafeNet, Inc."
DiskName         = "SafeNet iKey Installation Disk"
PID_ENUM 	 = "Rainbow iKey Enumerator"
PID_IFD          = "Rainbow iKey Virtual Reader"
PID_1000         = "Rainbow iKey 1000"
PID_1001         = "Rainbow iKey Token"
PID_1002         = "Rainbow iKey Token"
PID_1003         = "Rainbow iKey Token"
PID_1004         = "Rainbow iKey Token"
PID_1005         = "Rainbow iKey Token"
PID_1006         = "Rainbow iKey Token"
PID_1200         = "Rainbow iKey 2000"
PID_1201         = "Rainbow iKey Token"
PID_1202         = "Rainbow iKey 2032"
PID_1203         = "Rainbow iKey Token"
PID_1204         = "Rainbow iKey Token"
PID_1205         = "Rainbow iKey Token"
PID_1206         = "Rainbow iKey Token"
PID_1300         = "Rainbow iKey 3000"
PID_1301         = "Rainbow iKey 3000"
PID_1302         = "Rainbow iKey Token"
PID_1303         = "Rainbow iKey Token"
PID_1304         = "Rainbow iKey Token"
PID_1305         = "Rainbow iKey Token"
PID_1306         = "Rainbow iKey Token"
PID_1400         = "Rainbow iKey 4000"
TOKEN_DISPNAME   = "Rainbow iKey Token Service"
TOKEN_SVCDESC    = "Rainbow iKey Token Service"
ENUM_DISPNAME 	 = "Rainbow iKey Enumerator"
ENUM_SVCDESC 	 = "Rainbow iKey Enumerator Service"
IFD_DISPNAME	 = "Rainbow iKey Virtual Reader"
IFD_SVCDESC	 = "Rainbow iKey Virtual Reader Service"

; German
[Strings.0407]
;Rainbow          = "Rainbow Technologies Inc."
;DiskName         = "Rainbow iKey Installation Disk"
Rainbow          = "SafeNet, Inc."
DiskName         = "SafeNet iKey Installation Disk"
PID_ENUM 	 = "Rainbow iKey Enumerator"
PID_IFD          = "Rainbow iKey Virtual Reader"
PID_1000         = "Rainbow iKey 1000"
PID_1001         = "Rainbow iKey Token"
PID_1002         = "Rainbow iKey Token"
PID_1003         = "Rainbow iKey Token"
PID_1004         = "Rainbow iKey Token"
PID_1005         = "Rainbow iKey Token"
PID_1006         = "Rainbow iKey Token"
PID_1200         = "Rainbow iKey 2000"
PID_1201         = "Rainbow iKey Token"
PID_1202         = "Rainbow iKey 2032"
PID_1203         = "Rainbow iKey Token"
PID_1204         = "Rainbow iKey Token"
PID_1205         = "Rainbow iKey Token"
PID_1206         = "Rainbow iKey Token"
PID_1300         = "Rainbow iKey 3000"
PID_1301         = "Rainbow iKey 3000"
PID_1302         = "Rainbow iKey Token"
PID_1303         = "Rainbow iKey Token"
PID_1304         = "Rainbow iKey Token"
PID_1305         = "Rainbow iKey Token"
PID_1306         = "Rainbow iKey Token"
PID_1400         = "Rainbow iKey 4000"
TOKEN_DISPNAME   = "Rainbow iKey Token Service"
TOKEN_SVCDESC    = "Rainbow iKey Token Service"
ENUM_DISPNAME 	 = "Rainbow iKey Enumerator"
ENUM_SVCDESC 	 = "Rainbow iKey Enumerator Service"
IFD_DISPNAME	 = "Rainbow iKey Virtual Reader"
IFD_SVCDESC	 = "Rainbow iKey Virtual Reader Service"

; French
[Strings.040C]
;Rainbow          = "Rainbow Technologies Inc."
;DiskName         = "Rainbow iKey Installation Disk"
Rainbow          = "SafeNet, Inc."
DiskName         = "SafeNet iKey Installation Disk"
PID_ENUM 	 = "Rainbow iKey Enumerator"
PID_IFD          = "Rainbow iKey Virtual Reader"
PID_1000         = "Rainbow iKey 1000"
PID_1001         = "Rainbow iKey Token"
PID_1002         = "Rainbow iKey Token"
PID_1003         = "Rainbow iKey Token"
PID_1004         = "Rainbow iKey Token"
PID_1005         = "Rainbow iKey Token"
PID_1006         = "Rainbow iKey Token"
PID_1200         = "Rainbow iKey 2000"
PID_1201         = "Rainbow iKey Token"
PID_1202         = "Rainbow iKey 2032"
PID_1203         = "Rainbow iKey Token"
PID_1204         = "Rainbow iKey Token"
PID_1205         = "Rainbow iKey Token"
PID_1206         = "Rainbow iKey Token"
PID_1300         = "Rainbow iKey 3000"
PID_1301         = "Rainbow iKey 3000"
PID_1302         = "Rainbow iKey Token"
PID_1303         = "Rainbow iKey Token"
PID_1304         = "Rainbow iKey Token"
PID_1305         = "Rainbow iKey Token"
PID_1306         = "Rainbow iKey Token"
PID_1400         = "Rainbow iKey 4000"
TOKEN_DISPNAME   = "Rainbow iKey Token Service"
TOKEN_SVCDESC    = "Rainbow iKey Token Service"
ENUM_DISPNAME 	 = "Rainbow iKey Enumerator"
ENUM_SVCDESC 	 = "Rainbow iKey Enumerator Service"
IFD_DISPNAME	 = "Rainbow iKey Virtual Reader"
IFD_SVCDESC	 = "Rainbow iKey Virtual Reader Service"

; Chinese - Traditional
[Strings.0404]
;Rainbow          = "Rainbow Technologies Inc."
;DiskName         = "Rainbow iKey Installation Disk"
Rainbow          = "SafeNet, Inc."
DiskName         = "SafeNet iKey Installation Disk"
PID_ENUM 	 = "Rainbow iKey Enumerator"
PID_IFD          = "Rainbow iKey Virtual Reader"
PID_1000         = "Rainbow iKey 1000"
PID_1001         = "Rainbow iKey Token"
PID_1002         = "Rainbow iKey Token"
PID_1003         = "Rainbow iKey Token"
PID_1004         = "Rainbow iKey Token"
PID_1005         = "Rainbow iKey Token"
PID_1006         = "Rainbow iKey Token"
PID_1200         = "Rainbow iKey 2000"
PID_1201         = "Rainbow iKey Token"
PID_1202         = "Rainbow iKey 2032"
PID_1203         = "Rainbow iKey Token"
PID_1204         = "Rainbow iKey Token"
PID_1205         = "Rainbow iKey Token"
PID_1206         = "Rainbow iKey Token"
PID_1300         = "Rainbow iKey 3000"
PID_1301         = "Rainbow iKey 3000"
PID_1302         = "Rainbow iKey Token"
PID_1303         = "Rainbow iKey Token"
PID_1304         = "Rainbow iKey Token"
PID_1305         = "Rainbow iKey Token"
PID_1306         = "Rainbow iKey Token"
PID_1400         = "Rainbow iKey 4000"
TOKEN_DISPNAME   = "Rainbow iKey Token Service"
TOKEN_SVCDESC    = "Rainbow iKey Token Service"
ENUM_DISPNAME 	 = "Rainbow iKey Enumerator"
ENUM_SVCDESC 	 = "Rainbow iKey Enumerator Service"
IFD_DISPNAME	 = "Rainbow iKey Virtual Reader"
IFD_SVCDESC	 = "Rainbow iKey Virtual Reader Service"

; Chinese - Simplified
[Strings.0804]
;Rainbow          = "Rainbow Technologies Inc."
;DiskName         = "Rainbow iKey Installation Disk"
Rainbow          = "SafeNet, Inc."
DiskName         = "SafeNet iKey Installation Disk"
PID_ENUM 	 = "Rainbow iKey Enumerator"
PID_IFD          = "Rainbow iKey Virtual Reader"
PID_1000         = "Rainbow iKey 1000"
PID_1001         = "Rainbow iKey Token"
PID_1002         = "Rainbow iKey Token"
PID_1003         = "Rainbow iKey Token"
PID_1004         = "Rainbow iKey Token"
PID_1005         = "Rainbow iKey Token"
PID_1006         = "Rainbow iKey Token"
PID_1200         = "Rainbow iKey 2000"
PID_1201         = "Rainbow iKey Token"
PID_1202         = "Rainbow iKey 2032"
PID_1203         = "Rainbow iKey Token"
PID_1204         = "Rainbow iKey Token"
PID_1205         = "Rainbow iKey Token"
PID_1206         = "Rainbow iKey Token"
PID_1300         = "Rainbow iKey 3000"
PID_1301         = "Rainbow iKey 3000"
PID_1302         = "Rainbow iKey Token"
PID_1303         = "Rainbow iKey Token"
PID_1304         = "Rainbow iKey Token"
PID_1305         = "Rainbow iKey Token"
PID_1306         = "Rainbow iKey Token"
PID_1400         = "Rainbow iKey 4000"
TOKEN_DISPNAME   = "Rainbow iKey Token Service"
TOKEN_SVCDESC    = "Rainbow iKey Token Service"
ENUM_DISPNAME 	 = "Rainbow iKey Enumerator"
ENUM_SVCDESC 	 = "Rainbow iKey Enumerator Service"
IFD_DISPNAME	 = "Rainbow iKey Virtual Reader"
IFD_SVCDESC	 = "Rainbow iKey Virtual Reader Service"

; Japanese - neutral
[Strings.0011]
;Rainbow          = "Rainbow Technologies Inc."
;DiskName         = "Rainbow iKey Installation Disk"
Rainbow          = "SafeNet, Inc."
DiskName         = "SafeNet iKey Installation Disk"
PID_ENUM 	 = "Rainbow iKey Enumerator"
PID_IFD          = "Rainbow iKey Virtual Reader"
PID_1000         = "Rainbow iKey 1000"
PID_1001         = "Rainbow iKey Token"
PID_1002         = "Rainbow iKey Token"
PID_1003         = "Rainbow iKey Token"
PID_1004         = "Rainbow iKey Token"
PID_1005         = "Rainbow iKey Token"
PID_1006         = "Rainbow iKey Token"
PID_1200         = "Rainbow iKey 2000"
PID_1201         = "Rainbow iKey Token"
PID_1202         = "Rainbow iKey 2032"
PID_1203         = "Rainbow iKey Token"
PID_1204         = "Rainbow iKey Token"
PID_1205         = "Rainbow iKey Token"
PID_1206         = "Rainbow iKey Token"
PID_1300         = "Rainbow iKey 3000"
PID_1301         = "Rainbow iKey 3000"
PID_1302         = "Rainbow iKey Token"
PID_1303         = "Rainbow iKey Token"
PID_1304         = "Rainbow iKey Token"
PID_1305         = "Rainbow iKey Token"
PID_1306         = "Rainbow iKey Token"
PID_1400         = "Rainbow iKey 4000"
TOKEN_DISPNAME   = "Rainbow iKey Token Service"
TOKEN_SVCDESC    = "Rainbow iKey Token Service"
ENUM_DISPNAME 	 = "Rainbow iKey Enumerator"
ENUM_SVCDESC 	 = "Rainbow iKey Enumerator Service"
IFD_DISPNAME	 = "Rainbow iKey Virtual Reader"
IFD_SVCDESC	 = "Rainbow iKey Virtual Reader Service"

; Spanish - Castilian
[Strings.040A]
;Rainbow          = "Rainbow Technologies Inc."
;DiskName         = "Rainbow iKey Installation Disk"
Rainbow          = "SafeNet, Inc."
DiskName         = "SafeNet iKey Installation Disk"
PID_ENUM 	 = "Rainbow iKey Enumerator"
PID_IFD          = "Rainbow iKey Virtual Reader"
PID_1000         = "Rainbow iKey 1000"
PID_1001         = "Rainbow iKey Token"
PID_1002         = "Rainbow iKey Token"
PID_1003         = "Rainbow iKey Token"
PID_1004         = "Rainbow iKey Token"
PID_1005         = "Rainbow iKey Token"
PID_1006         = "Rainbow iKey Token"
PID_1200         = "Rainbow iKey 2000"
PID_1201         = "Rainbow iKey Token"
PID_1202         = "Rainbow iKey 2032"
PID_1203         = "Rainbow iKey Token"
PID_1204         = "Rainbow iKey Token"
PID_1205         = "Rainbow iKey Token"
PID_1206         = "Rainbow iKey Token"
PID_1300         = "Rainbow iKey 3000"
PID_1301         = "Rainbow iKey 3000"
PID_1302         = "Rainbow iKey Token"
PID_1303         = "Rainbow iKey Token"
PID_1304         = "Rainbow iKey Token"
PID_1305         = "Rainbow iKey Token"
PID_1306         = "Rainbow iKey Token"
PID_1400         = "Rainbow iKey 4000"
TOKEN_DISPNAME   = "Rainbow iKey Token Service"
TOKEN_SVCDESC    = "Rainbow iKey Token Service"
ENUM_DISPNAME 	 = "Rainbow iKey Enumerator"
ENUM_SVCDESC 	 = "Rainbow iKey Enumerator Service"
IFD_DISPNAME	 = "Rainbow iKey Virtual Reader"
IFD_SVCDESC	 = "Rainbow iKey Virtual Reader Service"
