;
;Aktiv Co. Rutoken Minidriver for an x86 and x64 based package.  All rights reserved.
;Copyright (C) Aktiv Co., 2009-2018
;

[Version]
Signature                = "$Windows NT$"
Class                    = SmartCard
ClassGuid                = {990A2BD7-E738-46c7-B26F-1CF8FB9F1391}
Provider                 = %OrganizationName%
CatalogFile              = rtminidrv.cat
DriverVer                = 09/18/2018,4.5.2.0

[Manufacturer]
%OrganizationName%=CommonDeviceName,NTamd64,NTamd64.6.1,NTx86,NTx86.6.1

[CommonDeviceName.NTamd64]
%MinidriverName%         = CommonDeviceName64_Install,SCFILTER\CID_5275746f6b656e20445320
%MinidriverName%         = CommonDeviceName64_Install,SCFILTER\CID_5275746f6b656e20454350
%MinidriverName%         = CommonDeviceName64_Install,SCFILTER\CID_527450494e506164202032
%MinidriverName%         = CommonDeviceName64_Install,SCFILTER\CID_5275746f6b656e4543507363
%MinidriverName%         = CommonDeviceName64_Install,SCFILTER\CID_5275746f6b656e44534254
%MinidriverName%         = CommonDeviceName64_Install,SCFILTER\CID_7275746f6b656e6d7363
%MinidriverName%         = CommonDeviceName64_Install,SCFILTER\CID_7275746f6b656e6d
%MinidriverName%         = CommonDeviceName64_Install,SCFILTER\CID_52744d430081c100
%MinidriverName%         = CommonDeviceName64_Install,SCFILTER\CID_5274534377818320

[CommonDeviceName.NTx86]
%MinidriverName%         = CommonDeviceName32_Install,SCFILTER\CID_5275746f6b656e20445320
%MinidriverName%         = CommonDeviceName32_Install,SCFILTER\CID_5275746f6b656e20454350
%MinidriverName%         = CommonDeviceName32_Install,SCFILTER\CID_527450494e506164202032
%MinidriverName%         = CommonDeviceName32_Install,SCFILTER\CID_5275746f6b656e4543507363
%MinidriverName%         = CommonDeviceName32_Install,SCFILTER\CID_5275746f6b656e44534254
%MinidriverName%         = CommonDeviceName32_Install,SCFILTER\CID_7275746f6b656e6d7363
%MinidriverName%         = CommonDeviceName32_Install,SCFILTER\CID_7275746f6b656e6d
%MinidriverName%         = CommonDeviceName32_Install,SCFILTER\CID_52744d430081c100
%MinidriverName%         = CommonDeviceName32_Install,SCFILTER\CID_5274534377818320

[CommonDeviceName.NTamd64.6.1]
%MinidriverName%         = CommonDeviceName64_61_Install,SCFILTER\CID_5275746f6b656e20445320
%MinidriverName%         = CommonDeviceName64_61_Install,SCFILTER\CID_5275746f6b656e20454350
%MinidriverName%         = CommonDeviceName64_61_Install,SCFILTER\CID_527450494e506164202032
%MinidriverName%         = CommonDeviceName64_61_Install,SCFILTER\CID_5275746f6b656e4543507363
%MinidriverName%         = CommonDeviceName64_61_Install,SCFILTER\CID_5275746f6b656e44534254
%MinidriverName%         = CommonDeviceName64_61_Install,SCFILTER\CID_7275746f6b656e6d7363
%MinidriverName%         = CommonDeviceName64_61_Install,SCFILTER\CID_7275746f6b656e6d
%MinidriverName%         = CommonDeviceName64_61_Install,SCFILTER\CID_52744d430081c100
%MinidriverName%         = CommonDeviceName64_61_Install,SCFILTER\CID_5274534377818320

[CommonDeviceName.NTx86.6.1]
%MinidriverName%         = CommonDeviceName32_61_Install,SCFILTER\CID_5275746f6b656e20445320
%MinidriverName%         = CommonDeviceName32_61_Install,SCFILTER\CID_5275746f6b656e20454350
%MinidriverName%         = CommonDeviceName32_61_Install,SCFILTER\CID_527450494e506164202032
%MinidriverName%         = CommonDeviceName32_61_Install,SCFILTER\CID_5275746f6b656e4543507363
%MinidriverName%         = CommonDeviceName32_61_Install,SCFILTER\CID_5275746f6b656e44534254
%MinidriverName%         = CommonDeviceName32_61_Install,SCFILTER\CID_7275746f6b656e6d7363
%MinidriverName%         = CommonDeviceName32_61_Install,SCFILTER\CID_7275746f6b656e6d
%MinidriverName%         = CommonDeviceName32_61_Install,SCFILTER\CID_52744d430081c100
%MinidriverName%         = CommonDeviceName32_61_Install,SCFILTER\CID_5274534377818320

[DefaultInstall]
CopyFiles                = x86_CopyFiles
AddReg                   = x86_AddReg

[DefaultUninstall]
DelFiles                 = x86_DeleteFiles
DelReg                   = x86_DeleteRegistry

[DefaultInstall.NTamd64]
CopyFiles                = amd64_CopyFiles
CopyFiles                = wow64_CopyFiles
AddReg                   = amd64_AddReg
AddReg                   = wow64_AddReg

[DefaultUninstall.NTamd64]
DelFiles                 = amd64_DeleteFiles
DelFiles                 = wow64_DeleteFiles
DelReg                   = amd64_DeleteRegistry
DelReg                   = wow64_DeleteRegistry

[DefaultInstall.NTx86]
CopyFiles                = x86_CopyFiles
AddReg                   = x86_AddReg

[DefaultUninstall.NTx86]
DelFiles                 = x86_DeleteFiles
DelReg                   = x86_DeleteRegistry

[DefaultInstall.NTx86.6.1]
CopyFiles                = x86_CopyFiles
AddReg                   = x86_AddReg

[DefaultUninstall.NTx86.6.1]
DelFiles                 = x86_DeleteFiles
DelReg                   = x86_DeleteRegistry

[DefaultInstall.NTamd64.6.1]
CopyFiles                = amd64_CopyFiles
CopyFiles                = wow64_CopyFiles
AddReg                   = amd64_AddReg
AddReg                   = wow64_AddReg

[DefaultUninstall.NTamd64.6.1]
DelFiles                 = amd64_DeleteFiles
DelFiles                 = wow64_DeleteFiles
DelReg                   = amd64_DeleteRegistry
DelReg                   = wow64_DeleteRegistry

[SourceDisksFiles]
rtMiniDrv64.dll          = 1      ; same directory as the INF file
rtMiniDrv32.dll          = 1      ; same directory as the INF file

[SourceDisksNames]
1 = %MediaDescription%

[CommonDeviceName64_Install.NT]
CopyFiles                = amd64_CopyFiles
CopyFiles                = wow64_CopyFiles
AddReg                   = amd64_AddReg
AddReg                   = wow64_AddReg

[CommonDeviceName64_61_Install.NT]
CopyFiles                = amd64_CopyFiles
CopyFiles                = wow64_CopyFiles
AddReg                   = amd64_AddReg
AddReg                   = wow64_AddReg

[CommonDeviceName32_Install.NT]
CopyFiles                = x86_CopyFiles
AddReg                   = x86_AddReg

[CommonDeviceName32_61_Install.NT]
CopyFiles                = x86_CopyFiles
AddReg                   = x86_AddReg

[CommonDeviceName64_61_Install.NT.Services]
Include                  = umpass.inf
Needs                    = UmPass.Services

[CommonDeviceName32_61_Install.NT.Services]
Include                  = umpass.inf
Needs                    = UmPass.Services

[CommonDeviceName64_Install.NT.Services]
Include                  = umpass.inf
Needs                    = UmPass.Services

[CommonDeviceName32_Install.NT.Services]
Include                  = umpass.inf
Needs                    = UmPass.Services

[UMPassService_Install]
DisplayName              = %umpass.SVCDESC%     ; Friendly Name of the Service
ServiceType              = 1                    ; SERVICE_KERNEL_DRIVER
StartType                = 3                    ; SERVICE_DEMAND_START 
ErrorControl             = 1                    ; SERVICE_ERROR_NORMAL
ServiceBinary            = %12%\umpass.sys
LoadOrderGroup           = Extended Base

[amd64_CopyFiles]
rtMiniDrv.dll, rtMiniDrv64.dll

[x86_CopyFiles]
rtMiniDrv.dll, rtMiniDrv32.dll

[wow64_CopyFiles]
rtMiniDrv.dll, rtMiniDrv32.dll

[amd64_DeleteFiles]
rtMiniDrv.dll

[x86_DeleteFiles]
rtMiniDrv.dll

[wow64_DeleteFiles]
rtMiniDrv.dll

[amd64_AddReg]
HKLM, %Rutoken_ECP%,"ATR",0x00000001,3b,8b,01,52,75,74,6f,6b,65,6e,20,44,53,20,c1
HKLM, %Rutoken_ECP%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP%,"80000001",0x00000000,%SmartCardCardModule_amd64%

HKLM, %Rutoken_FKC%,"ATR",0x00000001,3b,8b,01,52,75,74,6f,6b,65,6e,20,45,43,50,a0
HKLM, %Rutoken_FKC%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_FKC%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_FKC%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_FKC%,"80000001",0x00000000,%SmartCardCardModule_amd64%

HKLM, %Rutoken_ECP_SC_T0%,"ATR",0x00000001,3B,9C,96,00,52,75,74,6F,6B,65,6E,45,43,50,73,63
HKLM, %Rutoken_ECP_SC_T0%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_SC_T0%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_SC_T0%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_SC_T0%,"80000001",0x00000000,%SmartCardCardModule_amd64%

HKLM, %Rutoken_ECP_SC_T1%,"ATR",0x00000001,3B,9C,94,80,11,40,52,75,74,6F,6B,65,6E,45,43,50,73,63,C3
HKLM, %Rutoken_ECP_SC_T1%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_SC_T1%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_SC_T1%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_SC_T1%,"80000001",0x00000000,%SmartCardCardModule_amd64%

HKLM, %Rutoken_ECP_ST23_NFC%,"ATR",0x00000001,3B,88,80,01,52,74,53,43,77,81,83,20,6A
HKLM, %Rutoken_ECP_ST23_NFC%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_ST23_NFC%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_ST23_NFC%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_ST23_NFC%,"80000001",0x00000000,%SmartCardCardModule_amd64%

HKLM, %Rutoken_PINPAD%,"ATR",0x00000001,3b,8B,01,52,74,50,49,4E,50,61,64,20,20,32,9C
HKLM, %Rutoken_PINPAD%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_PINPAD%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_PINPAD%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_PINPAD%,"80000001",0x00000000,%SmartCardCardModule_amd64%

HKLM, %Rutoken_ECP_BT%,"ATR",0x00000001,3B,8B,01,52,75,74,6F,6B,65,6E,44,53,42,54,D7
HKLM, %Rutoken_ECP_BT%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_BT%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_BT%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_BT%,"80000001",0x00000000,%SmartCardCardModule_amd64%

HKLM, %Rutoken_ECP_M%,"ATR",0x00000001,3B,18,96,72,75,74,6F,6B,65,6E,6D
HKLM, %Rutoken_ECP_M%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_M%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_M%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_M%,"80000001",0x00000000,%SmartCardCardModule_amd64%

HKLM, %Rutoken_ECP_M_SC%,"ATR",0x00000001,3B,1A,96,72,75,74,6F,6B,65,6E,6D,73,63
HKLM, %Rutoken_ECP_M_SC%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_M_SC%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_M_SC%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_M_SC%,"80000001",0x00000000,%SmartCardCardModule_amd64%

HKLM, %Rutoken_ECP_M_SC_NFC%,"ATR",0x00000001,3B,88,80,01,52,74,4D,43,00,81,C1,00,61
HKLM, %Rutoken_ECP_M_SC_NFC%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_M_SC_NFC%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_M_SC_NFC%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_M_SC_NFC%,"80000001",0x00000000,%SmartCardCardModule_amd64%

[x86_AddReg]
HKLM, %Rutoken_ECP%,"ATR",0x00000001,3b,8b,01,52,75,74,6f,6b,65,6e,20,44,53,20,c1
HKLM, %Rutoken_ECP%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP%,"80000001",0x00000000,%SmartCardCardModule_x86%

HKLM, %Rutoken_FKC%,"ATR",0x00000001,3b,8b,01,52,75,74,6f,6b,65,6e,20,45,43,50,a0
HKLM, %Rutoken_FKC%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_FKC%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_FKC%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_FKC%,"80000001",0x00000000,%SmartCardCardModule_x86%

HKLM, %Rutoken_ECP_SC_T0%,"ATR",0x00000001,3B,9C,96,00,52,75,74,6F,6B,65,6E,45,43,50,73,63
HKLM, %Rutoken_ECP_SC_T0%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_SC_T0%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_SC_T0%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_SC_T0%,"80000001",0x00000000,%SmartCardCardModule_x86%

HKLM, %Rutoken_ECP_SC_T1%,"ATR",0x00000001,3B,9C,94,80,11,40,52,75,74,6F,6B,65,6E,45,43,50,73,63,C3
HKLM, %Rutoken_ECP_SC_T1%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_SC_T1%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_SC_T1%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_SC_T1%,"80000001",0x00000000,%SmartCardCardModule_x86%

HKLM, %Rutoken_ECP_ST23_NFC%,"ATR",0x00000001,3B,88,80,01,52,74,53,43,77,81,83,20,6A
HKLM, %Rutoken_ECP_ST23_NFC%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_ST23_NFC%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_ST23_NFC%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_ST23_NFC%,"80000001",0x00000000,%SmartCardCardModule_x86%

HKLM, %Rutoken_PINPAD%,"ATR",0x00000001,3b,8B,01,52,74,50,49,4E,50,61,64,20,20,32,9C
HKLM, %Rutoken_PINPAD%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_PINPAD%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_PINPAD%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_PINPAD%,"80000001",0x00000000,%SmartCardCardModule_x86%

HKLM, %Rutoken_ECP_BT%,"ATR",0x00000001,3B,8B,01,52,75,74,6F,6B,65,6E,44,53,42,54,D7
HKLM, %Rutoken_ECP_BT%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_BT%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_BT%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_BT%,"80000001",0x00000000,%SmartCardCardModule_x86%

HKLM, %Rutoken_ECP_M%,"ATR",0x00000001,3B,18,96,72,75,74,6F,6B,65,6E,6D
HKLM, %Rutoken_ECP_M%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_M%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_M%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_M%,"80000001",0x00000000,%SmartCardCardModule_x86%

HKLM, %Rutoken_ECP_M_SC%,"ATR",0x00000001,3B,1A,96,72,75,74,6F,6B,65,6E,6D,73,63
HKLM, %Rutoken_ECP_M_SC%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_M_SC%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_M_SC%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_M_SC%,"80000001",0x00000000,%SmartCardCardModule_x86%

HKLM, %Rutoken_ECP_M_SC_NFC%,"ATR",0x00000001,3B,88,80,01,52,74,4D,43,00,81,C1,00,61
HKLM, %Rutoken_ECP_M_SC_NFC%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_M_SC_NFC%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_M_SC_NFC%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_M_SC_NFC%,"80000001",0x00000000,%SmartCardCardModule_x86%

[wow64_AddReg]
HKLM, %Rutoken_ECP_WOW64%,"ATR",0x00000001,3b,8b,01,52,75,74,6f,6b,65,6e,20,44,53,20,c1
HKLM, %Rutoken_ECP_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

HKLM, %Rutoken_FKC_WOW64%,"ATR",0x00000001,3b,8b,01,52,75,74,6f,6b,65,6e,20,45,43,50,a0
HKLM, %Rutoken_FKC_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_FKC_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_FKC_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_FKC_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

HKLM, %Rutoken_ECP_SC_T0_WOW64%,"ATR",0x00000001,3B,9C,96,00,52,75,74,6F,6B,65,6E,45,43,50,73,63
HKLM, %Rutoken_ECP_SC_T0_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_SC_T0_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_SC_T0_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_SC_T0_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

HKLM, %Rutoken_ECP_SC_T1_WOW64%,"ATR",0x00000001,3B,9C,94,80,11,40,52,75,74,6F,6B,65,6E,45,43,50,73,63,C3
HKLM, %Rutoken_ECP_SC_T1_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_SC_T1_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_SC_T1_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_SC_T1_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

HKLM, %Rutoken_ECP_ST23_NFC_WOW64%,"ATR",0x00000001,3B,88,80,01,52,74,53,43,77,81,83,20,6A
HKLM, %Rutoken_ECP_ST23_NFC_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_ST23_NFC_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_ST23_NFC_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_ST23_NFC_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

HKLM, %Rutoken_PINPAD_WOW64%,"ATR",0x00000001,3b,8B,01,52,74,50,49,4E,50,61,64,20,20,32,9C
HKLM, %Rutoken_PINPAD_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_PINPAD_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_PINPAD_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_PINPAD_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

HKLM, %Rutoken_ECP_BT_WOW64%,"ATR",0x00000001,3B,8B,01,52,75,74,6F,6B,65,6E,44,53,42,54,D7
HKLM, %Rutoken_ECP_BT_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_BT_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_BT_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_BT_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

HKLM, %Rutoken_ECP_M_WOW64%,"ATR",0x00000001,3B,18,96,72,75,74,6F,6B,65,6E,6D
HKLM, %Rutoken_ECP_M_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_M_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_M_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_M_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

HKLM, %Rutoken_ECP_M_SC_WOW64%,"ATR",0x00000001,3B,1A,96,72,75,74,6F,6B,65,6E,6D,73,63
HKLM, %Rutoken_ECP_M_SC_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_M_SC_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_M_SC_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_M_SC_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

HKLM, %Rutoken_ECP_M_SC_NFC_WOW64%,"ATR",0x00000001,3B,88,80,01,52,74,4D,43,00,81,C1,00,61
HKLM, %Rutoken_ECP_M_SC_NFC_WOW64%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
HKLM, %Rutoken_ECP_M_SC_NFC_WOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %Rutoken_ECP_M_SC_NFC_WOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %Rutoken_ECP_M_SC_NFC_WOW64%,"80000001",0x00000000,%SmartCardCardModule_wow64%

[amd64_DeleteRegistry]
HKLM, %Rutoken_ECP%
HKLM, %Rutoken_FKC%
HKLM, %Rutoken_ECP_SC_T0%
HKLM, %Rutoken_ECP_SC_T1%
HKLM, %Rutoken_ECP_ST23_NFC%
HKLM, %Rutoken_PINPAD%
HKLM, %Rutoken_ECP_BT%
HKLM, %Rutoken_ECP_M%
HKLM, %Rutoken_ECP_M_SC%
HKLM, %Rutoken_ECP_M_SC_NFC%

[x86_DeleteRegistry]
HKLM, %Rutoken_ECP%
HKLM, %Rutoken_FKC%
HKLM, %Rutoken_ECP_SC_T0%
HKLM, %Rutoken_ECP_SC_T1%
HKLM, %Rutoken_ECP_ST23_NFC%
HKLM, %Rutoken_PINPAD%
HKLM, %Rutoken_ECP_BT%
HKLM, %Rutoken_ECP_M%
HKLM, %Rutoken_ECP_M_SC%
HKLM, %Rutoken_ECP_M_SC_NFC%

[wow64_DeleteRegistry]
HKLM, %Rutoken_ECP_WOW64%
HKLM, %Rutoken_FKC_WOW64%
HKLM, %Rutoken_ECP_SC_T0_WOW64%
HKLM, %Rutoken_ECP_SC_T1_WOW64%
HKLM, %Rutoken_ECP_ST23_NFC_WOW64%
HKLM, %Rutoken_PINPAD_WOW64%
HKLM, %Rutoken_ECP_BT_WOW64%
HKLM, %Rutoken_ECP_M_WOW64%
HKLM, %Rutoken_ECP_M_SC_WOW64%
HKLM, %Rutoken_ECP_M_SC_NFC_WOW64%

[DestinationDirs]
amd64_CopyFiles=10,system32
x86_CopyFiles=10,system32
wow64_CopyFiles=10,syswow64
amd64_DeleteFiles=10,system32
x86_DeleteFiles=10,system32
wow64_DeleteFiles=10,syswow64

; =================== Generic ==================================

[Strings]
OrganizationName             = "Aktiv Co."
MediaDescription             = "Rutoken Smart Card Minidriver Installation Disk"
MinidriverName               = "Aktiv Co. Rutoken Minidriver"
Rutoken_ECP                  = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP"
Rutoken_ECP_WOW64            = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP"
Rutoken_FKC                  = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken FKC"
Rutoken_FKC_WOW64            = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken FKC"
Rutoken_ECP_SC_T0            = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP SC T0"
Rutoken_ECP_SC_T0_WOW64      = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP SC T0"
Rutoken_ECP_SC_T1            = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP SC T1"
Rutoken_ECP_SC_T1_WOW64      = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP SC T1"
Rutoken_ECP_ST23_NFC         = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP ST23 NFC"
Rutoken_ECP_ST23_NFC_WOW64   = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP ST23 NFC"
Rutoken_PINPAD               = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken PINPAD"
Rutoken_PINPAD_WOW64         = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken PINPAD"
Rutoken_ECP_BT               = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP BT"
Rutoken_ECP_BT_WOW64         = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP BT"
Rutoken_ECP_M                = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP 2.0 M"
Rutoken_ECP_M_WOW64          = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP 2.0 M"
Rutoken_ECP_M_SC             = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP 2.0 M SC"
Rutoken_ECP_M_SC_WOW64       = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP 2.0 M SC"
Rutoken_ECP_M_SC_NFC         = "SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP 2.0 M SC NFC"
Rutoken_ECP_M_SC_NFC_WOW64   = "SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Rutoken ECP 2.0 M SC NFC"

SmartCardCardModule_amd64    = "rtMiniDrv.dll"
SmartCardCardModule_x86      = "rtMiniDrv.dll"
SmartCardCardModule_wow64    = "rtMiniDrv.dll"
umpass.SVCDESC               = "Microsoft UMPass Driver"