Export (0) Print
Expand All

Creating a Catalog File for a PnP Driver Package

To create an unsigned catalog file for a driver package, follow these steps:

  1. Add the required INF CatalogFile=FileName.Cat entry or INF CatalogFile.PlatformExtension=unique-filename.Cat entries to the INF Version section of a driver package's INF file. For information about how to use platform extensions, see Cross-Platform INF Files.

  2. Use the Inf2Cat tool to verify that the driver package can be signed for the target platforms and to generate the unsigned catalog files (.cat files) that apply to the target platforms.

Use the following Inf2Cat command to create unsigned catalog files:


Inf2Cat /driver:DriverPath /os:WindowsVersionList

Where:

  • The /driver:DriverPath parameter supplies the name of the directory where the driver package is located.

  • The /os:WindowsVersionList parameter configures Inf2Cat to verify that the driver package complies with the signing requirements for the Windows versions that are specified by the list of Windows version identifiers.

Examples

The following examples apply to the toaster driver package that is located in c:\WindDDK\5739\src\general\toaster\toastpkg\toastcd. The INF file for the toaster package is Toastpkg.inf and this INF file contains the following CatalogFile directives with platform extensions:


[Version]
. . .
CatalogFile.NTx86  = tostx86.cat
CatalogFile.NTIA64 = tostia64.cat
CatalogFile.NTAMD64 = tstamd64.cat
. . .

To generate Tostx86.cat for specific x86 versions of Windows, specify the Windows versions in WindowsVersionList. For example, the following Inf2Cat command verifies that the driver package can be signed for Windows 2000 and the x86 versions of Windows Vista, Windows Server 2003, and Windows XP.


Inf2Cat /driver:c:\WindDDK\5739\src\general\toaster\toastpkg\toastcd /os:2000,XP_X86,Server2003_X86,Vista_X86

To generate Tostamd64.cat for x64 versions of Windows, specify the Windows versions in WindowsVersionList. For example, the following Inf2Cat command verifies that the driver package can be signed for the x64 versions of Windows Vista, Windows Server 2003, and Windows XP.


Inf2Cat /driver:c:\WindDDK\5739\src\general\toaster\toastpkg\toastcd /os:XP_X64,Server2003_X64,Vista_X64

To generate Tostamd64.cat only for Windows Vista x64 Edition, specify only "Vista_X64" in WindowsVersionList. For example, the following Inf2Cat command only verifies that the driver package can be signed for Windows Vista x64 Edition.


Inf2Cat /driver:c:\WindDDK\5739\src\general\toaster\toastpkg\toastcd /os:Vista_X64

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft