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

[Version]
Signature           = $CHICAGO$
Class               = SmartCardReader
ClassGuid           = {50dd5230-ba8a-11d1-bf5d-0000f805f530}
DriverVer           = 07/01/2009,1.1.0.0	
Provider            = %OrganizationName%
CatalogFile         = rtMagistra.cat

[Manufacturer]
%OrganizationName%  = ModelsSection,ntamd64

[ControlFlags]
ExcludeFromSelect   = USB\VID_0A89&PID_0060

[DestinationDirs]
rtMagistra.SysCopy  = 12

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

[SourceDisksFiles.amd64]
rtMagistra.sys      = 1

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


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

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

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

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

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

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

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

[Strings]
OrganizationName                       = "Aktiv Co., ProgramPark"
USB\VID_0A89&PID_0060.DeviceDesc       = "Rutoken Magistra"
rtMagistra.SvcDesc                     = "rtMagistra"
INSTDISK                               = "Rutoken Magistra Driver Disk"
