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

[Version]
Signature="$Windows NT$"
Class=SmartCard
ClassGuid={990A2BD7-E738-46c7-B26F-1CF8FB9F1391}
Provider=%FABRIKAMVENDOR%
CatalogFile=IDOneClassicMiniDriver.cat
DriverVer=07/01/2010,2.0.0.0

[Manufacturer]
%FABRIKAMVENDOR%=OberthurTechnologies,NTamd64,NTamd64.1.0,NTx86,NTx86.1.0

[OberthurTechnologies.NTamd64]
%FabrikamCardDeviceName%=OberthurTechnologies64_Install,SCFILTER\CID_80F9A000000077010300069000
[OberthurTechnologies.NTx86]
%FabrikamCardDeviceName%=OberthurTechnologies32_Install,SCFILTER\CID_80F9A000000077010300069000

[OberthurTechnologies.NTamd64.1.0]
%FabrikamCardDeviceName%=OberthurTechnologies64_10_Install,SCFILTER\CID_80F9A000000077010300069000

[OberthurTechnologies.NTx86.1.0]
%FabrikamCardDeviceName%=OberthurTechnologies32_10_Install,SCFILTER\CID_80F9A000000077010300069000

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

[DefaultInstall.NTx86]
CopyFiles=x86_CopyFiles
AddReg=AddRegDefault

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

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

[SourceDisksFiles]
IDOneClassicMiniDriver64.dll=1
IDOneClassicMiniDriver.dll=1

[SourceDisksNames]
1 = %MediaDescription%

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

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

[OberthurTechnologies32_Install.NT]
CopyFiles=x86_CopyFiles
AddReg=AddRegDefault

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

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

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


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

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


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


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

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


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


[amd64_CopyFiles]
IDOneClassicMiniDriver64.dll

[x86_CopyFiles]
IDOneClassicMiniDriver.dll

[wow64_CopyFiles]
IDOneClassicMiniDriver.dll

[AddRegWOW64]
HKLM, %SmartCardNameWOW64%,"ATR",0x00000001,3B,00,00,00,81,31,FE,45,80,F9,A0,00,00,00,77,01,03,00,06,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%

[AddRegDefault]
HKLM, %SmartCardName%,"ATR",0x00000001,3B,00,00,00,81,31,FE,45,80,F9,A0,00,00,00,77,01,03,00,06,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%


[AddRegDefault64]
HKLM, %SmartCardName%,"ATR",0x00000001,3B,00,00,00,81,31,FE,45,80,F9,A0,00,00,00,77,01,03,00,06,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%

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



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

[Strings]
FABRIKAMVENDOR ="Oberthur Technologies"
MediaDescription="Oberthur Technologies IDOneClassic Smart Card Minidriver Installation Disk"
FabrikamCardDeviceName="Oberthur Technologies Minidriver for IDOneClassic Smart Card"
SmartCardName="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Oberthur Technologies IDOneClassic Device"
SmartCardNameWOW64="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Oberthur Technologies IDOneClassic Device"
SmartCardCardModule="IDOneClassicMiniDriver.dll"
SmartCardCardModule64="IDOneClassicMiniDriver64.dll"