none
[INF2CAT] signability test failed RRS feed

  • Question

  • Hey folks,

    It seems, that i have a problem compiling a UMDriver project.

    The inf2cat.exe has problems finding the wudfupdate_01011.dll file. It states:

     wudfupdate_01011.dll in [coinstallers_copyfiles] of \usbdriver.inf is missing or cannot be decompressed from source media

    etc, as this driver has multiple inf files. Is there a path in the project, I haven't set properly? This file is in the $(TargetPath) in both platform folders and in the System32 folder.

    Do I maybe need Admin rights for signing this?

    I would be thankful for any help!

    Many thanks in advance
    Franz

    Wednesday, September 4, 2019 2:05 PM

All replies

  • Post the INF. is the DLL in the target directory when you run the signing command?

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Wednesday, September 4, 2019 2:12 PM
  • [Version]
    Signature="$Windows NT$"
    Class=SmartCardReader
    ClassGuid={50dd5230-ba8a-11d1-bf5d-0000f805f530}
    Provider=%MSFTUMDF%
    CatalogFile.NTx86  = pcscvddx86.cat
    CatalogFile.NTAMD64 = pcscvddx64.cat
    CatalogFile = pcscvdd.cat
    DriverVer=09/04/2019,16.0.8.279
    ;DriverPackageDisplayName=%DESC%
    
    [Manufacturer]
    %MSFTUMDF%=Microsoft,NTx86,NTAMD64
    
    [Microsoft.NTx86]
    %ReaderDeviceName%=VReader_Install,root\PCSCVDDP71
    
    [Microsoft.NTAMD64]
    %ReaderDeviceName%=VReader_Install,root\PCSCVDDP71
    
    ; =================== Virtual Reader Device ==================================
    
    [VReader_Install.NT]
    CopyFiles=UMDriverCopy
    
    [VReader_Install.NT.hw]
    AddReg=InstanceConfiguration_AddReg
    
    [VReader_Install.NT.Services]
    AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall
    
    [VReader_Install.NT.CoInstallers]
    AddReg=CoInstallers_AddReg
    CopyFiles=CoInstallers_CopyFiles
    
    [VReader_Install.NT.Wdf]
    UmdfService=PCSCVDDP71,UMDFVReader_Install
    UmdfServiceOrder=PCSCVDDP71
    UmdfKernelModeClientPolicy=AllowKernelModeClients
    
    ; =================== UMDF Service Install section ===================
    
    [UMDFVReader_Install]
    UmdfLibraryVersion=1.11.0
    ServiceBinary=%12%\UMDF\PCSCVDDP71.dll
    DriverCLSID={66193bfa-9250-4bbd-afe8-0265c3f7c050}
    
    [WUDFRD_ServiceInstall]
    DisplayName = %WudfRdDisplayName%
    ServiceType = 1
    StartType = 3
    ErrorControl = 1
    ServiceBinary = %12%\WUDFRd.sys
    LoadOrderGroup = Base
    
    [SourceDisksFiles]
    PCSCVDDP71.dll=1
    WudfUpdate_01011.dll=1
    
    [SourceDisksNames.x86]
    1 = %MediaDescription%,,,\x86
    
    [SourceDisksNames.amd64]
    1 = %MediaDescription%,,,\x64
    
    [CoInstallers_CopyFiles]
    WudfUpdate_01011.dll
    
    [CoInstallers_AddReg]
    HKR,,CoInstallers32,0x00010000,"WUDFUpdate_01011.dll"
    
    [DestinationDirs]
    UMDriverCopy=12,UMDF ; copy to driversMdf
    CoInstallers_CopyFiles=11
    
    [UMDriverCopy]
    PCSCVDDP71.dll
    
    [InstanceConfiguration_AddReg]
    HKR,,ConnectString,0x00010000,"user0001"
    HKR,,IPAddress,0x00010000,"127.0.0.1"
    HKR,,TCPPort,0x00010000,"15200"
    HKR,,protcolevents,0x00010000,"0053EC60"
    HKR,,cardstatepresentevents,0x00010000,"E2003C003C0001"
    HKR,,cardstateabsentevents,0x00010000,"0"
    HKR,,readerswevents,0x00010000,"0"
    HKR,,atrevents,0x00010000,"A053EC60"
    
    ; =================== Generic ==================================
    
    [Strings]
    MSFTUMDF="XXXXX"
    MediaDescription="XXXXX, Escape Raw Cmds Simulator disk 1"
    WudfRdDisplayName="windows driver foundation - user-mode driver framework reflector"
    ReaderDeviceName="XXXXXX"
    DESC = "XXXXX"

    The Target is:

    D:\pcsc\tri_end\project\P71\Win8Debug\x86\PCSCVDDP71.dll
    D:\pcsc\tri_end\project\P71\Win8Debug\x64\PCSCVDDP71.dll

    Many thanks :)



    • Edited by fbeidl Wednesday, September 4, 2019 3:43 PM conf
    Wednesday, September 4, 2019 2:23 PM
  • Do you have the 32-bit WudfUpdate_01011.dll in the x86 folder, and the 64-bit WudfUpdate_01011.dll in the x64 folder, as you said in the INF?

    There is no point in having separate catalog files for 32-bit and 64-bit builds if your INF has both in one.  You just need one catalog file.


    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Wednesday, September 4, 2019 8:49 PM