Creating INF Files for Multiple Platforms and Operating Systems

本文介绍了如何通过在INF文件中使用系统定义的平台扩展来创建适用于不同平台和操作系统的单一安装文件。通过指定平台扩展,可以确保设备仅在特定类型的操作系统上安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转自:http://msdn.microsoft.com/en-us/library/ff540206(v=VS.85).aspx

0 out of 1 rated this helpful - Rate this topic

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 x64-based systems, only on Itanium-based systems, only on x86-based systems, or on all systems that are supported by Windows 2000 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.

Platform extensionUse

.ntamd64

The section contains instructions for installing a device or set of device-compatible models on x64-based systems that are supported by Windows XP and later.

.ntia64

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.

.ntx86

The section contains instructions for installing a device or set of device-compatible models on x86-based systems that are supported by Windows XP and later.

.nt

In versions of Windows earlier than Windows Server 2003 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 2003 SP1, the section contains instructions for installing a device or set of device-compatible models on x86-based systems that are supported by the operating system.

(no platform extension)

In versions of Windows earlier than Windows Server 2003 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 2003 SP1, the section contains instructions for installing a device or set of device-compatible models on x86-based systems that are supported by the operating system.

 

Important  Starting with Windows Server 2003 SP1, INF files must decorate entries in the INF Models section with .ntia64 or .ntamd64 platform extensions to specify non-x86 target operating system versions. These platform extensions are not required in INF files for x86-based target operating system versions or non-PnP driver INF files (such as file system driver INF files for x64-based architectures).

Tip   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 x86-based hardware platforms, you should avoid the use of the .nt platform extension and use .ntx86 instead.

For more information about how to use INF file platform extensions for cross-operating system installations, see the following topics:

INF File Platform Extensions and x64-Based Systems

INF File Platform Extensions and Itanium-Based Systems

INF File Platform Extensions and x86-Based Systems

For an example of how to use INF file platform extensions to support cross-platform installations, see Cross-Platform INF Files.

For information about how to use platform extensions in combination with section name extensions, see Combining Platform Extensions With Other Section Name Extensions.

For information about how to specify target operating systems through platform extensions, see Combining Platform Extensions with Operating System Versions.

For information about a sample INF file that can be used to install drivers in multiple operating system versions, see Sample INF File for Device Installation on Multiple Versions of Windows.

 

 

Send comments about this topic to Microsoft

### HDL Verifier Support Packages for FPGA and SoC Devices Documentation Download For obtaining the documentation related to HDL Verifier support packages specifically designed for FPGA (Field Programmable Gate Array) and SoC (System on Chip) devices, one can follow a structured approach that involves accessing official resources provided by manufacturers or software providers such as MathWorks. MathWorks offers comprehensive guides through its website where users can find detailed information about installing and utilizing these support packages. The process typically includes navigating to the product page of HDL Verifier within the MathWorks site[^1]. From there: - Selecting the appropriate version compatible with current MATLAB installations. - Accessing the "Support" section which contains links to various types of documents including user manuals, release notes, installation instructions, etc. - Looking under specific categories like “FPGA & ASIC Development” or similar headings dedicated to hardware co-simulation tools might yield more targeted results regarding supported platforms and setup procedures. Moreover, direct downloads may also be available after logging into an account associated with valid licensing agreements granting access rights to premium content beyond public materials. In addition to online repositories maintained by vendors, community forums often serve as valuable sources when seeking advice from experienced developers who have already worked extensively with particular technologies or encountered comparable challenges during project development phases involving FPGAs/SOCs alongside simulation environments facilitated via HDL Verifiers. ```bash # Example command line instruction to navigate directly towards relevant sections if using web browser automation scripts wget https://www.mathworks.com/help/hdlverifier/index.html -O hdl_verifier_docs.html ``` --related questions-- 1. What are some key features offered by HDL Verifier for enhancing workflows in digital design projects? 2. How does integrating HDL Verifier impact performance metrics while testing complex logic circuits on programmable hardware? 3. Can you provide examples illustrating successful applications of this toolset across different industries adopting advanced embedded systems architectures?
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值