Auto-Install Using INF Files

INF files are typically provided with the hardware and driver on diskette or CD. The structure and content of the INF file is the responsibility of the driver author.

INF File Structure

An INF file is a simple text file divided into sections, with each section designated by an identifier within closed braces ([]). Some section names are required, while others are driver-specific. Entries beneath each section control some installation action, or they link or enumerate other sections.

The order that sections appear in a file is unimportant, since each section is named and linked. A section continues until either another section or the end-of-file is encountered. The unique name that specifies a section is case-insensitive ...

Get Windows® 2000 Device Driver Book: A Guide for Programmers, Second Edition, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.