大网数据广告活动
安装更新与部署

Specifying Features

· 52CE 我爱测

The Microsoft Installer enables users to install and remove blocks of application functionality that is referred to as Windows Installer Features.

The Microsoft Installer enables users to install and remove blocks of application functionality that is referred to as Windows Installer Features. In this section you add information to the installation database about the features that are available for the Notepad sample. For more information, see Core Tables Group and Components and Features.

The Notepad sample installs features in a hierarchy of parent and child features. In the following list, child features are indented relative to their parent feature. The features should display in this order in the SelectionTree Control of the user interface (UI).

Notepad

  • Readme
  • Help

Gate

  • January
    • NewYears

Sport

  • Baseball
  • Football

Arts

  • Concert
  • Dance

Use a database editor to open MNP2000.msi and enter the following data into the empty Feature Table.

Feature Feature_Parent Title Description Display Level Directory_ Attributes
Arts Arts Arts events at Red Park. 20 3 NOTEPADDIR 0
Baseball Sport Baseball Baseball Games 17 3 SPORTDIR 32
Concert Arts Concert Concert events at Red Park 21 3 ARTSDIR 2
Dance Arts Dance Dance events at Red Park 23 3 ARTSDIR 2
Football Sport Football Football Games 19 3 SPORTDIR 2
Gate Gate Red Park's Admissions 6 3 NOTEPADDIR 0
Help Notepad Help Help file. 5 3 NOTEPADDIR 1
January Gate January January Admissions 10 3 MONDIR 2
NewYears January New Years Day New Years Day Admissions 11 3 HOLDIR 2
Notepad Notepad Notepad Editor 1 3 NOTEPADDIR 0
Readme Notepad Readme Readme File 3 3 NOTEPADDIR 0
Sport Sport Events Sport Events at Red Park 14 3 NOTEPADDIR 0

Continue

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。