;
; A-Trust GmvH Smartcard Minidriver for an x86 and x64 based package
;

[Version]
Signature="$Windows NT$"
Class=SmartCard
ClassGuid={990A2BD7-E738-46c7-B26F-1CF8FB9F1391}
Provider=%ProviderName%
CatalogFile=delta.cat
DriverVer=02/01/2017,1.3.2.41

[Manufacturer]
%ProviderName%=A-Trust GmbH,NTamd64,NTamd64.6.1,NTx86,NTx86.6.1

[A-Trust GmbH.NTamd64]
%CardDeviceName%=Minidriver64_Install,SCFILTER\CID_455041000000000000000000000000,SCFILTER\CID_8031b052020364041bb4228105,SCFILTER\CID_8031905241016405c903ac73b7b1d4

[A-Trust GmbH.NTx86]
%CardDeviceName%=Minidriver32_Install,SCFILTER\CID_455041000000000000000000000000,SCFILTER\CID_8031b052020364041bb4228105,SCFILTER\CID_8031905241016405c903ac73b7b1d4

[A-Trust GmbH.NTamd64.6.1]
%CardDeviceName%=Minidriver64_61_Install,SCFILTER\CID_455041000000000000000000000000,SCFILTER\CID_8031b052020364041bb4228105,SCFILTER\CID_8031905241016405c903ac73b7b1d4

[A-Trust GmbH.NTx86.6.1]
%CardDeviceName%=Minidriver32_61_Install,SCFILTER\CID_455041000000000000000000000000,SCFILTER\CID_8031b052020364041bb4228105,SCFILTER\CID_8031905241016405c903ac73b7b1d4

[DefaultInstall]
CopyFiles=x86_CopyFiles
AddReg=AddRegDefault

[DefaultInstall.NTamd64]
CopyFiles=amd64_CopyFiles
CopyFiles=wow64_CopyFiles
AddReg=AddRegWOW64
AddReg=AddRegDefault

[DefaultInstall.NTx86]
CopyFiles=x86_CopyFiles
AddReg=AddRegDefault

[DefaultInstall.NTamd64.6.1]
CopyFiles=amd64_CopyFiles
CopyFiles=wow64_CopyFiles
AddReg=AddRegWOW64
AddReg=AddRegDefault

[DefaultInstall.NTx86.6.1]
CopyFiles=amd64_CopyFiles
AddReg=AddRegDefault

[SourceDisksFiles]
ASignMiniDriver64.dll=1
ASignMiniDriver.dll=1

[SourceDisksNames]
1 = %MediaDescription%

[Minidriver64_Install.NT]
CopyFiles=amd64_CopyFiles
CopyFiles=wow64_CopyFiles
AddReg=AddRegWOW64
AddReg=AddRegDefault

[Minidriver64_61_Install.NT]
AddReg=AddRegWOW64
AddReg=AddRegDefault
Include=umpass.inf
Needs=UmPass

[Minidriver32_Install.NT]
CopyFiles=x86_CopyFiles
AddReg=AddRegDefault

[Minidriver32_61_Install.NT]
AddReg=AddRegDefault
Include=umpass.inf
Needs=UmPass

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

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


[Minidriver64_61_Install.NT.HW]
Include=umpass.inf
Needs=UmPass.HW

[Minidriver64_61_Install.NT.CoInstallers]
Include=umpass.inf
Needs=UmPass.CoInstallers


[Minidriver64_61_Install.NT.Interfaces]
Include=umpass.inf
Needs=UmPass.Interfaces


[Minidriver32_61_Install.NT.HW]
Include=umpass.inf
Needs=UmPass.HW

[Minidriver32_61_Install.NT.CoInstallers]
Include=umpass.inf
Needs=UmPass.CoInstallers


[Minidriver32_61_Install.NT.Interfaces]
Include=umpass.inf
Needs=UmPass.Interfaces


[Minidriver32_61_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]
ASignMiniDriver.dll,ASignMiniDriver64.dll

[x86_CopyFiles]
ASignMiniDriver.dll

[wow64_CopyFiles]
ASignMiniDriver.dll

[FriendlyName]
ScFriendlyName="A-Trust Signaturkarte"

[AddRegWOW64]
HKLM, %SmartCardNameWOW64_G2%,"ATR",0x00000001,3B,BD,18,00,81,31,FE,45,80,51,02,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_G2%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_G2%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardNameWOW64_G2%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardNameWOW64_G2%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardNameWOW64_G3%,"ATR",0x00000001,3B,DD,96,FF,81,B1,FE,45,1F,03,80,31,B0,52,02,03,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_G3%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_G3%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardNameWOW64_G3%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardNameWOW64_G3%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardNameWOW64_EPA03%,"ATR",0x00000001,3B,BF,11,00,81,31,FE,45,45,50,41,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_EPA03%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_EPA03%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardNameWOW64_EPA03%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardNameWOW64_EPA03%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardNameWOW64_EPA04%,"ATR",0x00000001,3B,BF,13,00,81,31,FE,45,45,50,41,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_EPA04%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_EPA04%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardNameWOW64_EPA04%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardNameWOW64_EPA04%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardNameWOW64_MCA%,"ATR",0x00000001,3B,BF,11,00,81,31,FE,45,4D,43,41,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_MCA%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardNameWOW64_MCA%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardNameWOW64_MCA%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardNameWOW64_MCA%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardNameWOW64_G4%,"ATR",0x00000001,3B,DF,18,00,81,31,FE,58,80,31,B0,52,02,04,64,05,C9,03,AC,73,B7,B1,D4,22
HKLM, %SmartCardNameWOW64_G4%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF
HKLM, %SmartCardNameWOW64_G4%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardNameWOW64_G4%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardNameWOW64_G4%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardNameWOW64_CARDOS53%,"ATR",0x00000001,3B,DF,18,00,81,31,FE,58,80,31,90,52,41,01,64,05,C9,03,AC,73,B7,B1,D4,44
HKLM, %SmartCardNameWOW64_CARDOS53%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF
HKLM, %SmartCardNameWOW64_CARDOS53%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardNameWOW64_CARDOS53%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardNameWOW64_CARDOS53%,"80000001",0x00000000,%SmartCardCardModule%

[AddRegDefault]
HKLM, %SmartCardName_G2%,"ATR",0x00000001,3B,BD,18,00,81,31,FE,45,80,51,02,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_G2%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_G2%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardName_G2%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardName_G2%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardName_G3%,"ATR",0x00000001,3B,DD,96,FF,81,B1,FE,45,1F,03,80,31,B0,52,02,03,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_G3%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_G3%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardName_G3%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardName_G3%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardName_EPA03%,"ATR",0x00000001,3B,BF,11,00,81,31,FE,45,45,50,41,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_EPA03%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_EPA03%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardName_EPA03%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardName_EPA03%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardName_EPA04%,"ATR",0x00000001,3B,BF,13,00,81,31,FE,45,45,50,41,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_EPA04%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_EPA04%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardName_EPA04%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardName_EPA04%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardName_MCA%,"ATR",0x00000001,3B,BF,11,00,81,31,FE,45,4D,43,41,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_MCA%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM, %SmartCardName_MCA%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardName_MCA%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardName_MCA%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardName_G4%,"ATR",0x00000001,3B,DF,18,00,81,31,FE,58,80,31,B0,52,02,04,64,05,C9,03,AC,73,B7,B1,D4,22
HKLM, %SmartCardName_G4%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF
HKLM, %SmartCardName_G4%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardName_G4%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardName_G4%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardName_CARDOS53%,"ATR",0x00000001,3B,DF,18,00,81,31,FE,58,80,31,90,52,41,01,64,05,C9,03,AC,73,B7,B1,D4,44
HKLM, %SmartCardName_CARDOS53%,"ATRMask",0x00000001,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF
HKLM, %SmartCardName_CARDOS53%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardName_CARDOS53%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardName_CARDOS53%,"80000001",0x00000000,%SmartCardCardModule%


[DestinationDirs]
amd64_CopyFiles=10,system32
x86_CopyFiles=10,system32
wow64_CopyFiles=10,syswow64


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

[Strings]
ProviderName ="A-Trust GmbH"
MediaDescription="A-Trust GmbH Smart Card Minidriver Installation Disk"
DESCRIPTION="ATrust Signaturkarte"
CardDeviceName="ATrust Signaturkarte"

SmartCardName_G2="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\A-Trust eCard G2"
SmartCardNameWOW64_G2="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\A-Trust eCard G2"

SmartCardName_G3="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\A-Trust eCard G3"
SmartCardNameWOW64_G3="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\A-Trust eCard G3"

SmartCardName_EPA03="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\A-Trust Bankcard EPA"
SmartCardNameWOW64_EPA03="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\A-Trust Bankcard EPA"
SmartCardName_EPA04="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\A-Trust Bankcard EPA4"
SmartCardNameWOW64_EPA04="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\A-Trust Bankcard EPA4"
SmartCardName_MCA="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\A-Trust Bankcard MCA"
SmartCardNameWOW64_MCA="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\A-Trust Bankcard MCA"


SmartCardName_G4="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\A-Trust eCard G4"
SmartCardNameWOW64_G4="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\A-Trust eCard G4"

SmartCardName_CARDOS53="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\A-Trust CardOS 5.3"
SmartCardNameWOW64_CARDOS53="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\A-Trust CardOS 5.3"


SmartCardCardModule="ASignMiniDriver.dll"

umpass.SVCDESC = "Microsoft UMPass Driver"
