Freigeben über


INF-DDInstall.Components-Abschnitt

Dieser optionale Abschnitt enthält eine oder mehrere INF-AddComponent-Direktiven , die auf zusätzliche INF-Writer-definierte Abschnitte in einer INF-Datei des Treiberpakets verweisen. Dieser Abschnitt wird für Windows 10, Version 1703 und höher, unterstützt.

[install-section-name.Components] |
[install-section-name.nt.Components] |
[install-section-name.ntx86.Components] |
[install-section-name.ntia64.Components] |
[install-section-name.ntamd64.Components] |
[install-section-name.ntarm.Components] |
[install-section-name.ntarm64.Components] |
 
AddComponent=ComponentName,[flags],component-install-section
[Include=filename.inf[,filename2.inf]...]
[Needs=inf-section-name[,inf-section-name]...]

You can provide a DDInstall.Components section with one or more AddComponent directives to create a symbolic relationship between a driver package and any number of software components.

Entries

AddComponent=ComponentName,[flags],component-install-section

This directive references an INF-writer-defined component-install-section elsewhere in the INF file for the drivers of the devices covered by this DDInstall section. Weitere Informationen finden Sie unter INF-AddComponent-Direktive.

Include=filename.inf[,filename2.inf]...
Gibt eine oder mehrere zusätzliche vom System bereitgestellte INF-Dateien an, die Abschnitte enthalten, die zum Installieren dieses Geräts erforderlich sind. If this entry is specified, usually so is a Needs entry.

Needs=inf-section-name[,inf-section-name]...
Gibt die benannten Abschnitte an, die während der Installation dieses Geräts verarbeitet werden müssen. Typically, such a named section is a DDInstall.Components section within a system-supplied INF file that is listed in an Include entry. However, it can be any section that is referenced within such a DDInstall.Components section of the included INF.

Remarks

DDInstall.Components sections should have the same platform and operating system decorations as their related DDInstall sections. For example, an install-section-name.ntx86 section would have a corresponding install-section-name.ntx86.Components section.

The specified DDInstall section must be referenced in a device/models-specific entry under the per-manufacturer Models section of the INF file. The case-insensitive extensions to the install-section-name shown in the formal syntax statement can be inserted into such a DDInstall.Components section name in cross-platform INF files.

For more information about how to use the system-defined .nt, .ntx86, .ntia64, .ntamd64, .ntarm, and .ntarm64 extensions, see Creating INF Files for Multiple Platforms and Operating Systems.

Examples

[ContosoGrfx.NT.Components]
AddComponent = ContosoControlPanel,,Component_Inst

[Component_Inst]
ComponentIDs = VID0001&PID0001&SID0001
DisplayName = %ContosoControlPanelDisplayName%

See also

Verwenden einer INF-Komponente

INF-AddComponent-Direktive