Inf2Cat (Inf2Cat.exe) is a command-line tool that determines whether a driver package's INF file can be digitally-signed for a specified list of Windows versions. If so, Inf2Cat generates the unsigned catalog files that apply to the specified Windows versions.
Inf2Cat /driver: PackagePath /os: WindowsVersionList [/nocat] [/verbose] [/?] [other switches]
Specifies the path to the directory that contains the INF files for driver packages. If the specified directory contains INF files for multiple driver packages, Inf2Cat will create catalog files for each driver package.Note You can use the /drv: switch in place of the /driver: switch.
Configures Inf2Cat to verify that the driver package complies with the signing requirements for the specified Windows versions, but not to generate a catalog files.
Configures Inf2Cat to verify that a driver package's INF file complies with the signing requirements for the Windows versions that are specified by WindowsVersionList. WindowsVersionList is a comma-separated list that includes one or more of the following version identifiers.
Windows version Version identifier
Windows 8.1 x86 Edition
Windows 8.1 x64 Edition
Windows 8.1 ARM Edition
Windows Server 2012 R2
Windows 8 x64 Edition
Windows 8 x86 Edition
Windows 8 ARM Edition
Windows Server 2012
Windows Server 2008 R2 x64 Edition
Windows Server 2008 R2 Itanium Edition
Windows 7 x64 Edition
Windows 7 x86 Edition
Windows Server 2008 x64 Edition
Windows Server 2008 Itanium Edition
Windows Server 2008 x86 Edition
Windows Vista x64 Edition
Windows Vista x86 Edition
Windows Server 2003 x64 Edition
Windows Server 2003 Itanium Edition
Windows Server 2003 x86 Edition
Windows XP x64 Edition
Windows XP x86 Edition
2000Note Starting with Windows Server 2008 R2, Windows server operating systems will no longer support x86-based platforms.
Inf2Cat ignores the case of the alphabetic characters of the version identifier strings. For example, vista_x64 and Vista_X64 are both valid identifiers for Windows Vista x64 Edition.
Configures Inf2Cat to display detailed information in a command window.
Configures Inf2Cat to display help information in a command window.
- other switches
Configures Inf2Cat to add a DRM level catalog attribute or a PE catalog attribute to files, or to add page hashes to files. For more information, use the /? switch.
The Inf2Cat tool replaces the Signability tool that was included in versions of the WDK prior to Windows Vista.
To use Inf2Cat, you must be a member of the Administrators group on the system.
The Inf2Cat tool checks driver package's INF files for structural errors and verifies that a driver package can be digitally-signed. A driver package can be signed only if all of the files that are referenced in an INF file are present and the source files are in the correct location. If an INF file cannot be signed or if it contains structural errors, the driver package might not be installed correctly or might incorrectly display a driver signing warning dialog box during installation.
Inf2Cat generates a catalog file only if the catalog file is specified in the driver package's INF file and the catalog file applies to one or more of the specified Windows versions. If the INF Version section of an INF file supplies only a CatalogFile=filename.cat directive, that catalog file applies to the entire driver package. To support cross-platform installations, the INF file should include CatalogFile.PlatformExtension=unique-filename.cat directives.
The Inf2Cat tool is located in the Program Files\Windows Kits\8.0\bin\x86 or Program Files (x86)\Windows Kits\8.0\bin\x86 folder of the WDK.
In the following example, c:\MyDriver contains a driver package whose INF file is MyInfFile.inf and the INF Version section in the INF file includes only the following CatalogFile directive:
[Version] . . . CatalogFile=MyCatalogFile.cat . . .
For this example, the following Inf2Cat command would verify whether the driver package can be signed for Windows 2000 and for the x86 versions of Windows Vista, Windows Server 2003, and Windows XP. If the package can be signed for these versions, Inf2Cat would create the unsigned catalog file MyCatalogFile.cat.
Inf2Cat /driver:C:\MyDriver /os:2000,XP_X86,Server2003_X86,Vista_X86
In the following example, c:\MyDriver contains a driver package whose INF file is MyInfFile.inf and the INF Version section in the INF file includes only the following two CatalogFile directives with platform extensions:
[Version] . . . CatalogFile.ntx86=MyCatalogFileX86.cat CatalogFile.ntamd64=MyCatalogFileX64.cat . . .
For this example, the following Inf2Cat command would verify whether the driver package can be signed for Windows 2000 and the x86 versions of Windows Vista, Windows Server 2003, and Windows XP. In addition, the command would verify whether the driver package can be signed for the x64 editions of Windows Vista, Windows Server 2003, and Windows XP. If the package can be signed for all of these versions, Inf2Cat will create the unsigned catalog files MyCatalogFileX86.cat and MyCatalogFileX64.cat.
Inf2Cat /driver:C:\MyDriver /os:2000,XP_X86,XP_X64,Server2003_X86,Server2003_X64,Vista_X86,Vista_X64
For more information about how to use Inf2Cat to create a catalog file, see Creating a Catalog File for a PnP Driver Package.