Was genau sind Gerätetreiber und INF-Dateien?

1362
heron1000

Ich weiß, dass ein Gerätetreiber eine Software ist, mit der das Betriebssystem mit einer Hardware kommunizieren kann. In letzter Zeit habe ich jedoch INF-Dateien gehört und bin ziemlich verwirrt. Einige Quellen sagen, dass eine INF-Datei während der Treiberinstallation verwendet wird, während andere sagen, dass eine INF-Datei zum Bereitstellen von Informationen zur Hardware verwendet wird. Noch in letzter Zeit stieß ich auf die Intel Chipset Device Software (oder das INF Update Utility). Was genau macht es?

5

1 Antwort auf die Frage

5
That Brazilian Guy

Both are correct. INF files are used during driver installations, and are used to provide information about hardware.

As Wikipedia states:

An INF file (stands for information) or Setup Information file, is a plain text file used by Microsoft Windows for installation of software and drivers. INF files are most commonly used for installing device drivers for hardware components. (...) INF files are part of the Windows Setup API.

From Microsoft Technet:

Device information (INF) files provide information used by Windows 95 to install software that supports a given hardware device. When hardware manufactures introduce new products, they must create INF files to explicitly define the resources and files required for each class of device.

(...)

An INF file is organized in several sections which define information that Setup and the hardware detection process use to determine the resource needs of the hardware device and to install software for that device. An INF file is organized by hardware, with each class of device described in its own section.

INF files have been around since Windows 95. If you open a INF file using notepad (or another text editor) you can see it's a text document containing lots of paremeters (these parameters are explained in the Technet article I linked above).

In at least Windows 95 and XP, if you right-click an INF file, there is an option called "Install". Although I have had varied degrees of success installing drivers that way (always on INF files contained on folders from install/driver CDs), the recommended way of installing drivers is by running the setup.exe file on the CD the device comes with. Many times the INF file is there just as a part of the process.

Wenn also ein neues Gerät an den Computer angeschlossen wird, verwendet Windows die Hardware-ID und die INF-Dateien des Geräts, um die Treiber automatisch zu installieren. heron1000 vor 11 Jahren 0
Ihre Annahme klingt für mich richtig. Es gibt jedoch viele Möglichkeiten, Gerätetreiber zu installieren. Man kann die Treiber auf der CD verwenden, die mit einem neuen Gerät geliefert wird. In diesem Fall gibt es viele INF-Dateien, aber ich bin mir nicht sicher, ob dies zu 100% der Fall ist. Es gibt auch Zeiten, in denen Sie ein neues Gerät anschließen und von Windows automatisch erkannt werden. Ich weiß nicht, wie dieser Prozess abläuft und ob INF-Dateien verwendet werden. Man könnte auch Windows Update verwenden, um nach Treibern im Internet zu suchen und automatisch zu installieren. Nicht sicher, wie INF-Dateien in diesem Fall zusammenhängen. That Brazilian Guy vor 11 Jahren 0
Es kann erwähnenswert sein, dass einige ausgewählte Software INF-Dateien entweder als temporären Informationsspeicher oder als Anwendungskonfigurationsdateien verwenden. Ben Franchuk vor 9 Jahren 0