;
;Oberthur Technologies AuthentICV3 Smartcard Minidriver for an x86 and x64 based package.
;

[Version]
Signature="$Windows NT$"
Class=SmartCard
ClassGuid={990A2BD7-E738-46c7-B26F-1CF8FB9F1391}
Provider=%FABRIKAMVENDOR%
CatalogFile=AuthentICV3MiniDriver.cat
DriverVer=05/06/2015,1.4.1.223

[Manufacturer]
%FABRIKAMVENDOR%=Minidriver,NTamd64,NTamd64.6.1,NTx86,NTx86.6.1

[Minidriver.NTamd64]
%FabrikamCardDeviceName%=Minidriver64_Install,SCFILTER\CID_80F9A0000000770100700A9000
%FabrikamCardDeviceName%=Minidriver64_Install,SCFILTER\CID_33590BAB-7603-4061-9083-3BC6EF9F2BEE

[Minidriver.NTx86]
%FabrikamCardDeviceName%=Minidriver32_Install,SCFILTER\CID_80F9A0000000770100700A9000
%FabrikamCardDeviceName%=Minidriver32_Install,SCFILTER\CID_33590BAB-7603-4061-9083-3BC6EF9F2BEE

[Minidriver.NTamd64.6.1]
%FabrikamCardDeviceName%=Minidriver64_61_Install,SCFILTER\CID_80F9A0000000770100700A9000
%FabrikamCardDeviceName%=Minidriver64_61_Install,SCFILTER\CID_33590BAB-7603-4061-9083-3BC6EF9F2BEE

[Minidriver.NTx86.6.1]
%FabrikamCardDeviceName%=Minidriver32_61_Install,SCFILTER\CID_80F9A0000000770100700A9000
%FabrikamCardDeviceName%=Minidriver32_61_Install,SCFILTER\CID_33590BAB-7603-4061-9083-3BC6EF9F2BEE

[DefaultInstall]
CopyFiles=x86_CopyFiles
AddReg=AddRegDefault

[DefaultInstall.ntamd64]
CopyFiles=amd64_CopyFiles
CopyFiles=wow64_CopyFiles
AddReg=AddRegWOW64
AddReg=AddRegDefault64

[DefaultInstall.ntamd64.6.1]
CopyFiles=amd64_CopyFiles
CopyFiles=wow64_CopyFiles
AddReg=AddRegWOW64
AddReg=AddRegDefault64

[DefaultInstall.NTx86]
CopyFiles=x86_CopyFiles
AddReg=AddRegDefault

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

[SourceDisksFiles]
AuthentICV3MiniDriver64.dll=1
AuthentICV3MiniDriver.dll=1

[SourceDisksNames]
1 = %MediaDescription%

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

[Minidriver64_61_Install.NT]
CopyFiles=amd64_CopyFiles
CopyFiles=wow64_CopyFiles
AddReg=AddRegWOW64
AddReg=AddRegDefault64
Include=umpass.inf
Needs=UmPass


[Minidriver32_Install.NT]
CopyFiles=x86_CopyFiles
AddReg=AddRegDefault

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


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

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


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


[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


[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


[amd64_CopyFiles]
AuthentICV3MiniDriver64.dll

[x86_CopyFiles]
AuthentICV3MiniDriver.dll

[wow64_CopyFiles]
AuthentICV3MiniDriver.dll


[AddRegWOW64]
HKLM, %SmartCardNameWOW64%
HKLM, %SmartCardNameWOW64%,"ATR",0x00000001,3B,00,00,00,81,31,FE,45,80,F9,A0,00,00,00,77,01,00,70,0A,90,00,00
HKLM, %SmartCardNameWOW64%,"ATRMask",0x00000001,FF,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00
HKLM, %SmartCardNameWOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardNameWOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardNameWOW64%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardNameWOW64%,"AuthenticationMode",0x00010001,1
HKLM, %SmartCardNameWOW64%,"EnableBiometric",0x00010001,1
HKLM, %SmartCardNameWOW64%,"EnablePinPad",0x00010001,0


[AddRegDefault]
HKLM, %SmartCardName%
HKLM, %SmartCardName%,"ATR",0x00000001,3B,00,00,00,81,31,FE,45,80,F9,A0,00,00,00,77,01,00,70,0A,90,00,00
HKLM, %SmartCardName%,"ATRMask",0x00000001,FF,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00
HKLM, %SmartCardName%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardName%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardName%,"80000001",0x00000000,%SmartCardCardModule%
HKLM, %SmartCardName%,"AuthenticationMode",0x00010001,1
HKLM, %SmartCardName%,"EnableBiometric",0x00010001,1
HKLM, %SmartCardName%,"EnablePinPad",0x00010001,0


[AddRegDefault64]
HKLM, %SmartCardName%
HKLM, %SmartCardName%,"ATR",0x00000001,3B,00,00,00,81,31,FE,45,80,F9,A0,00,00,00,77,01,00,70,0A,90,00,00
HKLM, %SmartCardName%,"ATRMask",0x00000001,FF,00,00,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,00
HKLM, %SmartCardName%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
HKLM, %SmartCardName%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
HKLM, %SmartCardName%,"80000001",0x00000000,%SmartCardCardModule64%
HKLM, %SmartCardName%,"AuthenticationMode",0x00010001,1
HKLM, %SmartCardName%,"EnableBiometric",0x00010001,1
HKLM, %SmartCardName%,"EnablePinPad",0x00010001,0


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


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

[Strings]
FABRIKAMVENDOR ="Oberthur Technologies"
MediaDescription="Oberthur Technologies AuthentIC V3 Smart Card Minidriver Installation Disk"
FabrikamCardDeviceName="Oberthur Technologies Minidriver for AuthentIC V3 Smart Card"
SmartCardName="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Oberthur Technologies AuthentIC V3 Device"
SmartCardNameWOW64="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Oberthur Technologies AuthentIC V3 Device"
SmartCardCardModule="AuthentICV3MiniDriver.dll"
SmartCardCardModule64="AuthentICV3MiniDriver64.dll"
umpass.SVCDESC = "Microsoft UMPass Driver"
