- How to Install inf Drivers (Windows 10/7/8/XP/Vista) - Driver Easy
Looking for:
- Inf file for windows 10 64 bitINF file - Wikipedia.
The Version section specifies the driver version information, as shown in the following code example. The following table shows the values that file system filter drivers should specify in the Version section.
The DestinationDirs section specifies the directories where the file system driver files will be copied. In this section and in the ServiceInstall section, you can specify well-known system directories by using system-defined numeric values.
The SourceDisksNames section specifies the distribution media to be used. In the following code example, the SourceDisksNames section lists a single distribution media for the file system driver. The unique identifier for the media is 1.
The SourceDisksFiles section specifies the location and names of the files to be copied. In the following code example, the SourceDisksFiles section lists the file to be copied for the file system driver and specifies that the files can be found on the media whose unique identifier is 1 This identifier is defined in the SourceDisksNames section of the INF file.
In the DefaultInstall section, a CopyFiles directive copies the file system driver's driver files to the destination that is specified in the DestinationDirs section.
Services , DefaultUninstall , and DefaultUninstall. Services sections for each operating system version. Each section is labeled with a decoration for example,. In the following code example, the CopyFiles directive copies the files that are listed in the ExampleFileSystem.
DriverFiles section of the INF file. The DefaultInstall. Services section contains an AddService directive that controls how and when the services of a particular driver are loaded. In the following code example, the AddService directive adds the file system service to the operating system.
Service is the name of the file system driver's ServiceInstall section. The ServiceInstall section adds subkeys or value names to the registry and sets values. Services section. The following code example shows the ServiceInstall section for the file system driver. The DisplayName entry specifies the name for the service.
The Description entry specifies a string that describes the service. The ServiceBinary entry specifies the path to the executable file for the service. The ServiceType entry specifies the type of service. The following table lists the possible values for ServiceType and their corresponding service types. The StartType entry specifies when to start the service. The following table lists the possible values for StartType and their corresponding start types. For detailed descriptions of these start types to determine which one is appropriate for your file system driver, see What Determines When a Driver Is Loaded.
This requirement ensures optimal system boot performance. The ErrorControl entry specifies the action to be taken if the service fails to start during system startup. The following table lists the possible values for ErrorControl and their corresponding error control values. This is different from what is specified for a file system filter driver or file system minifilter driver where the LoadOrderGroup entry is set to one of the file system filter load order groups.
For more information about the load order groups that are used for file system filter drivers and file system minifilter drivers, see Load Order Groups for File System Filter Drivers and Load Order Groups and Altitudes for Minifilter Drivers. The AddReg directive refers to one or more INF writer-defined AddRegistry sections that contain any information to be stored in the registry for the newly installed service.
For example:. The DefaultUninstall section is optional but recommended if your driver can be uninstalled. It contains DelFiles and DelReg directives to remove files and registry entries. In the following code example, the DelFiles directive removes the files that are listed in the ExampleFileSystem. The DelReg directive refers to one or more INF writer-defined DelRegistry sections that contain any information to be removed from the registry for the service that is being uninstalled.
The DefaultUninstall. By using system-defined platform extensions to INF file sections and directives , you can create a single INF file for cross-platform installations. The extensions enable you to create decorated section names, which specify which sections and directives are relevant to each target platform and operating system. For example, you can create an INF file that installs a device only on xbased systems, only on Itanium-based systems, only on xbased systems, or on all systems that are supported by Windows and later versions of Windows.
The following table summarizes the system-supported platform extensions that can be added to the names of sections that support extensions. The section contains instructions for installing a device or set of device-compatible models on xbased systems that are supported by Windows XP and later. The section contains instructions for installing a device or set of device-compatible models on Itanium-based systems that are supported by Windows XP and later.
The section contains instructions for installing a device or set of device-compatible models on Arm-based systems that are supported by Windows 8 and later. The section contains instructions for installing a device or set of device-compatible models on Armbased systems that are supported by Windows 10 version and later. In versions of Windows earlier than Windows Server SP1, the section contains instructions for installing a device or set of device-compatible models on all systems that are supported by the operating system.
Starting with Windows Server SP1, the section contains instructions for installing a device or set of device-compatible models on xbased systems that are supported by the operating system. These platform extensions are not required in INF files for xbased target operating system versions, but are strongly recommended. The same platform extension decoration or. We highly recommend that you always decorate entries in the INF Models section with platform extensions for target operating systems of Windows XP and later versions of Windows.
For xbased hardware platforms, you should avoid the use of the. For sections that support optional platform extensions, Windows selects which section to process, as follows:. Windows checks for a section-name. Windows checks for the. If a section-name.

Comments
Post a Comment