none
Catalog files in INF RRS feed

  • Question

  • I am aware that the binaries that are distributed as part of a driver package are mentioned in the SourceDisksFiles INF section.

    If we need to distribute a CAT file (other than the driver's own)  where is the ideal place to mention that in an INF?

    Monday, December 9, 2019 1:02 PM

Answers

  • Why do you believe you will need to distribute a CAT file?  If you have multiple drivers, you can put them all into one package.  If you need to reference one INF file from another use the "Include" directive in the install section, with the requirement that the other INF is installed first.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Monday, December 9, 2019 2:21 PM

All replies

  • Why do you believe you will need to distribute a CAT file?  If you have multiple drivers, you can put them all into one package.  If you need to reference one INF file from another use the "Include" directive in the install section, with the requirement that the other INF is installed first.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Monday, December 9, 2019 2:21 PM
  • Thank you, Don for the reply. The below is my scenario:

    I have a CAT file generated for an XML created by using the link https://docs.microsoft.com/en-us/windows-hardware/drivers/install/creating-a-catalog-file-for-a-non-pnp-driver-package for some security purpose. In addition to driver catalog file, need to include this non PnP CAT file also in the driver package as part of an extension driver. When added the CAT file in [SourceDiskFiles] section of an INF, msbuild build failed with error "Cannot add CAT files under [SourceDiskFiles] section. Is there way to add non PnP CAT file in an INF? 

    Tuesday, December 10, 2019 10:07 AM
  • The question is why are you not including the non-PnP driver in the PnP INF.  Then there is no need for a separate CAT file.  Treat the non-PnP driver as a component of the PnP package.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Tuesday, December 10, 2019 12:24 PM
  • Thank you Don.

    We need to include this cat file in a software component INF which has components and are not PnP driver components. This software component INF contains Windows services which are not Universal. 

    We need a separate CAT file because we need to add this CAT file also in the driver package like we add files in the SourceDisksFiles INF section

    Wednesday, December 11, 2019 6:43 AM
  • Any updates?
    Thursday, December 12, 2019 6:57 AM
  • You need the CAT file to install the kernel components, if the kernel components are installed via the INF file for the PnP driver, you do not need a separate CAT file.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Thursday, December 12, 2019 10:52 AM
  • I'm not sure you understand the purpose of a CAT file.

    A CAT file is like a wax seal on a driver package.  It contains checksums of the INFs and all of the files mentioned in the associated INFs.  It is then protected by its own checksum and a certificate signature.  The CAT file protects the files in the package.  If any file is missing or changed, the CAT file is invalid.

    The point here is that a CAT file by itself is totally useless.  It serves no purpose.  That's why we are confused.


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

    Friday, December 13, 2019 1:17 AM
  • Thank you Don for the reply. We are using a separate CAT file. The question is what is the method for mentioning this separate CAT file in the INF?  I understand that you cannot include thge CAT file in [SourceDiskFiles[ section -that throws error. Is there a particular INF section where we can mention this CAT file so that once the package is installed, the CAT file should also be there in the driver store.
    Friday, December 13, 2019 5:25 AM