Dev Fund InfTest Failure

Hi All,

I’m using HCK 2.1 (8.100.26795) for testing Smart card mini driver. I was able to pass all the tests except “Dev Fund InfTest”. The sub test “HasFunctionDriver” fails with the INF I’m using. The error displayed in log is “The service for the function driver must have the SPSVCINST_ASSOCSERVICE flag”. The failure occurs in Windos 8.1 x86 client. I used the INF provided in HCK documentation and also provided the required Include/Need to install the appropriate umpass function driver. Can any one let me know if I’m missing anything in the INF sections. Here is the INF file that I used.

Regards,
Madhukar

[Version]
Signature=“$Windows NT$”
Class=SmartCard
ClassGuid={990A2BD7-E738-46c7-B26F-1CF8FB9F1391}
Provider=%ProviderName%
CatalogFile=delta.cat
DriverVer=06/11/2014,1.0.0.0

[DefaultInstall]
CopyFiles=System32_CopyFiles
AddReg=MiniDriver_AddReg

[Manufacturer]
%ProviderName%=ESM,NTx86,NTx86.6.1

[ESM.NTx86]
%SCDeviceName%=ESMSCCard_Install,SCFILTER\CID_8065a20131013d72d641

[ESM.NTx86.6.1]
%SCDeviceName%=ESMSCCard61_Install,SCFILTER\CID_8065a20131013d72d641

[SourceDisksFiles]
esmmd32.dll=1

[SourceDisksNames]
1 = %MediaDescription%

[ESMSCCard_Install.NT]
CopyFiles=System32_CopyFiles
AddReg=MiniDriver_AddReg

[ESMSCCard61_Install.NT]
CopyFiles=System32_CopyFiles
AddReg=MiniDriver_AddReg

[ESMSCCard61_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

[System32_CopyFiles]
esmmd32.dll

[MiniDriver_AddReg]
HKLM,%SmartCardName%,“ATR”,0x00000001,3b,6a,65,00,04,82,65,b2,31,71,01,3d,52,e6,33
HKLM,%SmartCardName%,“ATRMask”,0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
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%

[DestinationDirs]
System32_CopyFiles=10,system32

[FriendlyName]
ScFriendlyName=“ESM CARD”

[Strings]
ProviderName=“ESM Technologies”
MediaDescription=“Smart Card Minidriver Installation”
SCDeviceName=“ESM Smart Card Minidriver”
SmartCardName=“SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\ESMMiniDrv”
SmartCardCardModule=“esmmd32.dll”
umpass.SVCDESC = “Microsoft UMPass Driver”

I assume umpass.sys is the name of the standard driver for this class. If so, then you can just eliminate the whole [UMPassService_Install] section. The system will find it in the included INF.

Why do you have an NTx86.6.1 section, if it is identical to the NTx86 section?

Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Thanks for the reply.

The test passed after I removed NTx86.6.1 and UMPassService_Install section.

Regards,
Madhukar