;---------------------------------------------------------------------------
;
;INF file for Rutoken (Windows XP/2003/Vista/2008/7 x64)
;Copyright (C) Aktiv Co., 2003-2012
;
;---------------------------------------------------------------------------

[Version]
Signature           = $CHICAGO$
Class               = USB
ClassGuid           = {36fc9e60-c465-11cf-8056-444553540000}
DriverVer           = 02/27/2012,2.26.0.0	
Provider            = %OrganizationName%
CatalogFile         = rtUSB.cat

[Manufacturer]
%OrganizationName%  = ModelsSection,ntamd64

[ControlFlags]
ExcludeFromSelect   = USB\VID_0A89&PID_0004, USB\VID_0A89&PID_0020

[DestinationDirs]
rtUSB.SysCopy       = 12

[SourceDisksNames.amd64]
1                   = %INSTDISK%,,,""

[SourceDisksFiles.amd64]
rtUSB.sys           = 1

[ModelsSection.ntamd64]
%USB\VID_0A89&PID_0004.DeviceDesc%     = InstallSection, USB\VID_0A89&PID_0004
%USB\VID_0A89&PID_0020.DeviceDesc%     = InstallSection, USB\VID_0A89&PID_0020

;---------------------------------------------------------------------------
;
; for Windows NT-based x64
;
;---------------------------------------------------------------------------

[InstallSection.ntamd64]
CopyFiles           = rtUSB.SysCopy
AddReg              = rtUSB.AddReg.ntamd64

[InstallSection.ntamd64.Services]
Addservice          = rtUSB, 0x00000002, ServiceInstallSection.ntamd64

[ServiceInstallSection.ntamd64]
DisplayName         = %rtUSB.SvcDesc%
ServiceType         = 1 ; SERVICE_KERNEL_DRIVER
StartType           = 3 ; SERVICE_AUTO_START
ErrorControl        = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary       = %12%\rtUSB.sys
LoadOrderGroup      = Base

[rtUSB.AddReg.ntamd64]
HKR,,EnumPropPages32,,"sysclass.dll,USBEnumPropPages"

[rtUSB.SysCopy]
rtUSB.sys,,,0x2

;------------------------------------------------------------------------------
;
;  String Definitions
;
;------------------------------------------------------------------------------

[Strings]
OrganizationName                       = "Aktiv Co."
USB\VID_0A89&PID_0004.DeviceDesc       = "Rutoken"
USB\VID_0A89&PID_0020.DeviceDesc       = "Rutoken S"
rtUSB.SvcDesc                          = "Rutoken"
INSTDISK                               = "Rutoken driver installation disk"
