Previous Next

Creating an INF File

Microsoft® Windows drivers must have an INF file in order to be installed. An INF file is a text file that contains all the information necessary to install a device, such as driver names and locations, registry information, version information, that is used by the Setup components.

Windows INF files do not contain installation scripts. The installation procedures are part of a Microsoft Win32® installer application, such as the New Device Wizard and the Add Hardware Wizard, with each INF file acting as a resource.

This section contains the following information:

General Guidelines for INF Files

General Syntax Rules for INF Files

Looking at an INF File

Summary of INF Sections

Summary of INF Directives

Specifying the Source and Target Locations for Device Files

Creating INF Files for Multiple Platforms and Operating Systems

Creating International INF Files

Specifying Driver Load Order

Using Dirids

Tightening File-Open Security in a Device INF File

Accessing INF Files From a Setup Application

See INF File Sections and Directives for a complete description of INF file format.