none
Submission fails after adding to CAB but works with inf2cat RRS feed

  • Question

  • When submitting my driver through the dev center, it always fails at the catalog step and the failure reason is:

    22.9.1: wacdrvnt.sys in [device.nt.copy] of win_signing\wacdrvnt.inf is missing or cannot be decompressed from source media.  Please verify all path values specified in SourceDisksNames, SouceDisksFiles, and CopyFiles sections resolve to the actual location of the file, and are expressed in terms relative to the location of the inf.

    When I run inf2cat on the source file before putting into the submittal CAB, I get the following:

    c:\Users\B\Documents\WO2\win_signing>"C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x86\inf2cat" /v /os:XP_X86,Vista_X86,Vista_X64,7_X86,7_X64,8_X86,8_X64,6_3_X86,6_3_X64,10_X86,10_X64 /driver:.
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (setup.inf)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (setup.rpt)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (setup.zinf)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (verify_inf.bat)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (wacdrvnt.ddf)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (wacdrvnt.inf)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (wacdrvnt.pdb)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (wacdrvnt.sys)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (wacdrvnt_amd64.cat)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (wacdrvnt_signing.zinf)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (wacdrvnt_x86.cat)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\) file (win_signing.bat)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\disk1) file (wacdrvnt.cab)
    Processing cabinet (wacdrvnt.cab) file (wacdrvnt.inf)
    Processing cabinet (wacdrvnt.cab) file (wacdrvnt.pdb)
    Processing cabinet (wacdrvnt.cab) file (wacdrvnt.sys)
    Processing directory (c:\Users\B\Documents\WO2\win_signing\win_signing) file (wacdrvnt.sys)
    Parsing INF: c:\Users\B\Documents\WO2\win_signing\setup.inf
    Parsing INF: c:\Users\B\Documents\WO2\win_signing\wacdrvnt.inf
    Finished parsing INFs
    Processing INF: c:\Users\B\Documents\WO2\win_signing\wacdrvnt.inf
    Finished processing INFs
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...
    Testing driver package...

    Signability test complete.

    Errors:
    None

    Warnings:
    None

    Catalog generation complete.
    c:\Users\B\Documents\WO2\win_signing\wacdrvnt_x86.cat
    c:\Users\B\Documents\WO2\win_signing\wacdrvnt_amd64.cat

    INF is as follows:

    [Version]
    Signature="$WINDOWS NT$"
    DriverVer=02/09/2015,2.80.0000
    Class=LegacyDriver
    ClassGuid={8ECC055D-047F-11D1-A537-0000F8753ED1}
    Provider=%PROVIDER%
    CatalogFile.NTx86  = wacdrvnt_x86.cat
    CatalogFile.NTamd64 = wacdrvnt_amd64.cat

    [DestinationDirs]
    DefaultDestDir = 12

    [Manufacturer]
    %PROVIDER%=PROVIDER,NTx86,NTamd64

    ; For Win2K
    [PROVIDER]
    %DEVICE%=Device,*wacdrvnt

    ; For WXP and later
    [PROVIDER.NTx86]
    %DEVICE%=Device,*wacdrvnt

    [PROVIDER.NTamd64]
    %DEVICE%=Device,*wacdrvnt

    [Device.NT]
    CopyFiles=Device.NT.Copy

    [Device.NT.Copy]
    wacdrvnt.sys

    [Device.NT.Services]
    AddService=wacdrvnt,0x00000002,Service

    [Service]
    DisplayName    = %DEVICE%
    ServiceType    = 1 ;    SERVICE_KERNEL_DRIVER
    StartType      = 2 ;    SERVICE_AUTO_START
    ErrorControl   = 1 ;    SERVICE_ERROR_CRITICAL
    LoadOrderGroup = PNP_TDI
    Dependencies   = TCPIP
    ServiceBinary  = %12%\wacdrvnt.sys

    [SourceDisksNames.x86]
    1 = %PACKAGE%, wacdrvntpkg.tag,,\i386

    [SourceDisksNames.amd64]
    1 = %PACKAGE%, wacdrvntpkg.tag,,\amd64

    [SourceDisksFiles]
    wacdrvnt.sys = 1,,

    [Strings]
    (removed by me)

    I have submitted the cab files as requested multiple times changing different things in the .inf file and nothing will work. Any suggestions?

    • Moved by Mattew Wu Wednesday, April 11, 2018 5:53 AM not Store app publishing issue
    Wednesday, April 11, 2018 1:33 AM

Answers

  • After many hours, and several cups of coffee, I have found my solution. I had to modify my .ddf file to look like this:

    ;*** Echo.ddf example
    ;
    .OPTION EXPLICIT     ; Generate errors
    .Set CabinetFileCountThreshold=0
    .Set FolderFileCountThreshold=0
    .Set FolderSizeThreshold=0
    .Set MaxCabinetSize=0
    .Set MaxDiskFileCount=0
    .Set MaxDiskSize=0
    .Set CompressionType=MSZIP
    .Set Cabinet=on
    .Set Compress=on

    .Set DestinationDir=win_signing
    "C:\users\b\documents\wo2\win_signing\wacdrvnt.inf"
    "C:\users\b\documents\wo2\win_signing\wacdrvnt.pdb"
    .Set DestinationDir=win_signing\i386
    "C:\users\b\documents\wo2\win_signing\wacdrvnt.sys"
    .Set DestinationDir=win_signing\amd64
    "C:\users\b\documents\wo2\win_signing\wacdrvnt.sys"

    After the above correction to my .ddf, it created a 1.cab file that had the appropriate files and folders in it. After extracting using 7zip, I ran the inf2cat command on the extracted directory and everything worked. Submitted to MS and just received acceptance. Hope this helps others who run into the same problem because I could not find any information like this anywhere.

    • Marked as answer by Firemaster1033 Wednesday, April 11, 2018 2:14 PM
    Wednesday, April 11, 2018 2:14 PM

All replies

  • After compiling the CAB file, I extracted the inf and sys files and ran the verify_inf cmd and it failed. I do not understand how it works until I compress and add to the cab.
    Wednesday, April 11, 2018 1:36 AM
  • Hello,

    This is forum is used to discuss the problem about submitting windows universal app to Windows Store. Since driver related question is out of the scope, I will move your thread so that you could be assisted better.

    Thanks for your understanding.

    Best regards,

    Mattew Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, April 11, 2018 5:53 AM
  • Thank you for the correction.
    Wednesday, April 11, 2018 12:48 PM
  • After many hours, and several cups of coffee, I have found my solution. I had to modify my .ddf file to look like this:

    ;*** Echo.ddf example
    ;
    .OPTION EXPLICIT     ; Generate errors
    .Set CabinetFileCountThreshold=0
    .Set FolderFileCountThreshold=0
    .Set FolderSizeThreshold=0
    .Set MaxCabinetSize=0
    .Set MaxDiskFileCount=0
    .Set MaxDiskSize=0
    .Set CompressionType=MSZIP
    .Set Cabinet=on
    .Set Compress=on

    .Set DestinationDir=win_signing
    "C:\users\b\documents\wo2\win_signing\wacdrvnt.inf"
    "C:\users\b\documents\wo2\win_signing\wacdrvnt.pdb"
    .Set DestinationDir=win_signing\i386
    "C:\users\b\documents\wo2\win_signing\wacdrvnt.sys"
    .Set DestinationDir=win_signing\amd64
    "C:\users\b\documents\wo2\win_signing\wacdrvnt.sys"

    After the above correction to my .ddf, it created a 1.cab file that had the appropriate files and folders in it. After extracting using 7zip, I ran the inf2cat command on the extracted directory and everything worked. Submitted to MS and just received acceptance. Hope this helps others who run into the same problem because I could not find any information like this anywhere.

    • Marked as answer by Firemaster1033 Wednesday, April 11, 2018 2:14 PM
    Wednesday, April 11, 2018 2:14 PM