none
Visual Studio 2012 inf2cat error: 22.9.1 inf is missing or cannot be decompressed from source media RRS feed

  • Question

  • In the visual studio output directory, where the sys file is put by VS, the inf file is also put (created from the inx file in the project).

    So the inf and sys files are in the same directory.

    The inf passes chkinf,  and inf2cat.exe /driver:C:\mydriver\distribution /os:7_X64   also passes, so there is no problem with the inf file.

    (In fact I have been developing drivers for 20 years, and never had a problem with inf2cat. I normally build drivers from the command line but thought I wouild give VS2012 a go, and try its automatic signing.  But it isnt working.  )

    So, to see this fancy new VS working, whats the trick?

    (inf2cat is set to 10_x64 in the VS project by the way).


    Wednesday, February 8, 2017 12:55 PM

Answers

  • So apparently you need to put $(TargetPath) in Configuration Proporties->Driver Install->Package Files

    I assume this tells inf2cat where to get the inf and sys file from.

    What a shame the error message produced wasnt more obvious. After all the inf does properly reference the sys file.

    Wednesday, February 8, 2017 1:33 PM