INF Manufacturer Section

INF Manufacturer Section

[Manufacturer]

manufacturer-identifier

[manufacturer-identifier] 

[manufacturer-identifier] 

...

描述:Manufacturer Section指定了INF文件安装的设备制造商信息。


manufacturer-identifier 

指定一个设备模型制造商和包含设备模型制造商信息的INF(INF Section)


其格式如下:

manufacturer-name |

%strkey%=models-section-name |

%strkey%=models-section-name [,TargetOSVersion] [,TargetOSVersion] ...  (Windows XP and later versions of Windows)


1. manufacturer-name     指定设备制造商。

2. strkey                代表设备制造商的名字。

3. models-section-name   INF文件的INF Models section  指定一个定义名。

4. TargetOSVersion       XP和以后的Windows系列才有该项。指定若干个INF Models Section能够适用                    

                    的Windows系统。Windows系统会选中最适合的INF Models Section

实例:

[Manufacturer]

%MyName% = MyName,NT.6.0,NTx86.5.1

.

.

[MyName.NT.6.0]    ; Empty section, so this INF does not support

.                  ; NT 6.0 and later.

.

.

[MyName.NTx86.5.1] ; Used for NT 5.1 and later

.                  ; (but not NT 6.0 due to the NT.6.0 entry)

%MyDev% = InstallB,hwid

.

.

[MyName]           ; Empty section, so this INF does not support

.                  ; Win2000

原文地址:https://www.cnblogs.com/java20130722/p/3207168.html