INF MANFACTUR Section
The Manufacturer chapter is used to identify such vendors, one or more devices of the vendor can be installed using this INF file.
The grammatical structure of this section is:
[Manufacturer]
Manufacturer-Identifier
[Manufacturer-Identifier]
[Manufacturer-Identifier]
The following is a detailed description of the list:
Manufacturer-Identifier (vendor logo):
This identification uniquely determines a chapter of a vendor and INF file, which contains information about determining the device's device type. Each vendor identification entry must be exclusive (ie, each identification cannot be divided into two lines, and there is no multiple identifiers in one line), and the following format is used:
Manufacturer-name |
% strkey% = models-section-name |
% strkey% = models-section-name [, targetosversion] [, targetosversion] ... (for XP and later)
The explanation of these entries is as follows:
Manufacturer-name:
This entry determines the manufacturer of the device, and must have a corresponding name of the Models chapter in the INF file. (The entries provided in this way will not be localized. (? - What does this mean?)
StrKey:
Specifies a unique mark in the INF file to depict the name of the vendor. Each similar% strkey% marker must be defined in the Strings chapter in the INF file.
Models-section-name:
Specify an INF creator defined name for each manufacturer's Models section in the INF file. The name must be unique in the INF file, and must follow the determination chapter name rules defined in the INF file general grammar rules.
TargetosVersion:
Suitable for Windows XP and later versions. This specifies one or more operating system versions, and the specified MODELS chapter combination is used. The installer will perform in the Models section to perform the most matching of the operating system version. For a detailed description of the modified section, please refer to the following comments.
Comment
Any INF file that needs to be installed or multiple devices must have a Manufacturer chapter. An IHV / OEM provides a unique entry that specifies a unique entry in this chapter. If there are multiple entries being specified, then each entry must be in different rows.
As described in the International Inf File and INF String Chapter index page, use% strkey% = models-section-name to simplify positioning in international INF files.
If a format entry of one or more Manufacturer-Name is listed in an INF file, then each entry has a models chapter in the INF file.
The Manufacturer section in the INF file provided by the device class installer is sometimes referred to as "directory" because the chapter is set for each vendor's device model category. Each entry information in the manufacturer chapter in INF is not only simple to locate the vendor's name with% strkey%, but also specifies a unique Models chapter name for each vendor in the Inf file.
In the NT technology-based Windows XP and later versions of the operating system, all entries in the Manufacturer chapter can be decorated to specify the version of the operating system. This means that different versions of the operating system use specific models chapters in the INF file. If there is no special version requirement is specified, the installer selects a models chapter that all versions of all operating systems.
The following is a detailed description of the format of TargetosVersion and the version of the version: NT [Architecture] [. [Osmajorversion] [. [Osminorversion] [. [ProductType] [. Suitemask]]]]]]]]]
The separate explanation of each domain is as follows:
NT
Indicates the version of the operating system supports operating systems with Windows XP and later versions.
Architecture
Determine the hardware platform, must be X86 or IA64.
Osmajorversion
Indicates the number of operating system main versions. For example, Windows XP, the number is 5.
OsminorVersion
Represents the number of operating system subsections. For example, Windows XP, the number is 1.
ProductType
Represents a number of one of the VER_NT_XXXX flag, which is defined in Winnt.h, such as:
0x0000001 (VER_NT_WORKSTATION)
0x0000002 (VER_NT_DOMAIN_CONTROLLER)
0x0000003 (VER_NT_SERVER)
The INF file is used only when the operating system is matched and the specified product type. If the INF file supports a variety of product types of a single operating system version, you need to identify multiple TargetosVersion entries.
Suitemask
A number indicating one or more combined numbers of the VER_SUITE_XXXX flag, which is defined in WinNT.H. These markers include:
0x00000001 (VER_SUITE_SMALLBUSINESS)
0x00000002 (VER_SUITE_Enterprise)
0x00000004 (VER_SUITE_BACKOFFICE)
0x00000008 (VER_SUITE_COMMUNICATION)
0x00000010 (VER_SUITE_TERMINAL)
0x00000020 (VER_SUITE_SMALLBUSINESS_RESTRICTED)
0x00000040 (VER_SUITE_EMBEDDEDNT)
0x00000080 (VER_SUITE_DATACENTER)
0x00000100 (VER_SUITE_SINGLEUSERTS)
0x00000200 (VER_SUITE_PERSONAL)
0x00000400 (VER_SUITE_SERVERAPPLIANCE)
The INF file is used only when the operating system meets all the specified product suite. If the INF file supports a variety of product types of a single operating system version, you need to identify multiple TargetosVersion entries.
If the entry in the Manufacturer section in an INF file has a modifier, you must include the models chapter that matches the name of the operating system. For example, if an INF file contains the following manufacture sections:
% FOOCORP% =
Foomfg
,
NT
.... 0x80, NT
Then you must have a models chapter similar to the following name:
[Foomfg.nt .... 0x08] (only support Windows XP and subsequent version of the data center version)
[Foomfg.nt] (support Windows XP and all product types and suite of later versions)
During installation, if it is running in NT technology-based operating system version (Windows XP or later version) that is included in the data center product suite, the installer selects [Foomfg.nt .... 0x08] Models. If you are running NT-based operating system versions, Windows XP or later, the installer selects [Foomfg.nt] Models chapter.
If the INF file is specifically used as a Windows XP and the NT technology or the Windows 98 / ME operating system is used, the INF file must contain a nameless MODELS chapter name [Foomfg]. If an INF file supports multiple vendors, all manufacturers must follow this rule.
The following is an exemplary example of TargetOSVersion modification:
"Foo corp." = foomfg, NTX86
In this example, the synthesized MODELS chapter name is [Foomfg.ntx86], which is suitable for any NT technology-based X86 version of the operating system (Windows XP or later versions).
"Foo corp." = foomfg, NT.7.8
In this example, it is applicable to the NT technology, and the version is 7.8 or higher operating system, the synthesized models chapter name is [Foomfg.nt.7.8]. For those earlier versions of Windows XP systems, [Foomfg] is used.
The installer will use the following rules to choose which models chapter is used:
l If there are multiple primary or secondary operating system versions in the Models section in the INF file, the installer will select a chapter that is not higher than the current operating system version.
l If the product type is included in the models chapter in the INF file and the operating system version, the installer selects the chapter closest to match the current system.
Suppose, for example, the installer runs on the Windows XP (version 5.1) without the data center product suite, and found the following entry in the Manufacturer section:
% FOOCORP% =
Foomfg
,
NT
, NT.5, NT.5.5, NT .... 0x80
In this case, the installer will look for the Models chapter named [foomfg.nt.5]. (If you are running on the data center version of Windows XP, the installer also selects [Foomfg.nt.5] chapter, because special version numbers are preferred in the product type and suite mask.)
If you want to eliminate a specific operating system version, product type, or suite in INF, create an empty MODEL chapter. For example, an empty model chapter called [foomfg.nt.6.0] will disable installation on version 6.0 and higher.
example
This example demonstrates the typical situation of a single manufacturer in the Manufacturer chapter in the INF file:
[Manufacturer]
% Logimfg% = logimfg; models chapter is Logimfg
; ...
[Strings]
Logimfg = "logitech"
Below is a part of the Manufacturer chapter, is an example of a typical detailed device class:
[Manufacturer]
% ADP% = adaptec
[The middle provoked several other days
% SONY% = SONY
% Ultrastor% = UltraStore
The following example of the first MANUFAFACTurer section is specific to the X86 platform, Windows XP, and later systems:
[Manufacturer]
% foo% = foosec, NTX86.5.1
[foosec.ntx86.5.1]
The following two examples demonstrate the version of the MODELS chapter for different operating systems:
example 1:
[Manufacturer]
% MyName% = MyName, NTX86.5.1
.
.
[MyName]
% MyDev% = Installa, HWID.
.
[MyName.ntx86.5.1]
% Mydev% = installb, hwid
.
.
.
[Installa.ntx86]; Windows 2000 (NT4-X86 also tries
Analyze this chapter, no work area (? What do you mean))
.
.
[Installa]; WIN98 / WINME (Win95 will also try
Analyze this chapter, no work area (? What do you mean))
NT4-alpha will also try to analyze this chapter
Unless INF has a chapter of [installa.ntalpha].
.
.
[Installb]; Windows XP and higher, only for x86
.
.
Example 2:
[Manufacturer]
% MyName% = MyName, NT.6.0, NTX86.5.1
.
.
[MyName.nt.6.0]; empty chapter, therefore, this INF does not support
.; NT 6.0 and higher version
.
.
[MyName.ntx86.5.1]; Applicable to Used For NT 5.1 and a higher version
But not suitable for NT 6.0, because NT.6.0 is empty)
% Mydev% = installb, hwid
.
.
[MyName]; empty chapter, so the INF does not support
Win9X / NT4 / Win2000
.
.