Note If the driver package is compatible with multiple Windows versions, you must use separate CATATTR options to specify the OSAttr attribute for each Windows version. The value 6.0 specifies the catalog file is compatible with Windows Vista. The value 2 specifies the catalog file is compatible with NT-based versions of the Windows operating system. The attribute's value specifies the following: The OSAttr attribute specifies the target Windows version whose signing requirements are compatible with the driver package. Specifies the attribute to be the following:Ġx10000000 - Authenticated attribute (signed, included in the thumbprint).Ġx00010000 - Attribute is represented in plain text.Ġx00000001 - Attribute is a name-value pair. In this example, the attribute specified by using the CATATTR1 option has the following value: For example, use CATATT1 to specify one catalog file attribute and CATATT2 to specify another. To specify additional attributes, you must use separate CATATTR options, with each option assigned a unique numeric digit as a suffix. Specifies an attribute of the catalog file. The value 0x00010001 specifies a message encoding type of PKCS_7_ASN_ENCODING | X509_ASN_ENCODING. Specifies the message encoding type that is used to generate the thumbprint. Specifies the version of the catalog file. Specifies the name of the catalog file ( Good.cat). For more information about these options, see the MakeCat website. The options that are used in this example are described below. The resulting catalog file is named Good.cat. The package to be cataloged contains two files, File1 and File2. The following example shows the contents of a typical catalog definition file that is named Good.cdf. The -v option configures MakeCat to print execution and warning messages.ĬatalogDefinitionFileName.cdf is the name of the catalog definition file. Use the following MakeCat command to create a catalog file.
Stores each file's thumbprint in the catalog file. Generates a cryptographic hash, or thumbprint, of each of the listed files. cdf file, and adds the attributes to the catalog file. Verifies the attributes for each file that is listed within the. Verifies the attributes of the catalog file that is defined by the. The MakeCat tool does the following when it processes the.
Install the catalog file on a computer on which the driver will be installed. For more information about the MakeCat tool, see the Using MakeCat website. Use the MakeCat command-line tool to create the catalog file. cdf file that lists the name of the catalog file to be created, its attributes, and the names of the files that are to be listed in the catalog file. To create a catalog file for a non-PnP driver, follow these steps: After this file is created, you can then run the MakeCat tool to create a catalog file Creating a catalog file To create a catalog file, you must first manually create a Catalog Definition File (.cdf) that describes the catalog header attributes and file entries.
For more information about how to use the Inf2Cat tool, see Using Inf2Cat to Create a Catalog File. Inf2Cat automatically includes all the files in the driver package that are referenced within the package's INF file.
When creating a catalog file for a driver package, which has an INF file, use the Inf2Cat tool to create the catalog file.