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

Adding Registry Information

· 52CE 我爱测

The Registry table, and related tables, of the installation database holds the registry information the application needs written in the system registry.

The Registry table, and related tables, of the installation database holds the registry information the application needs written in the system registry. See the Registry Tables Group. In this section you add the information that is to be registered on the user's computer by the Notepad sample.

Use your database editor to open MNP2000.msi and enter the following data into the empty Registry table.

Registry Table

Registry Root Key Name Value Component_
CharSet 2 SOFTWARE\Microsoft\Notepad Sample lfCharSet #0 Notepad
ClipPrecision 2 SOFTWARE\Microsoft\Notepad Sample lfClipPrecision #2 Notepad
Escapement 2 SOFTWARE\Microsoft\Notepad Sample lfFaceName FixedSys Notepad
Italic 2 SOFTWARE\Microsoft\Notepad Sample lfItalic #0 Notepad
Orientation 2 SOFTWARE\Microsoft\Notepad Sample lfOrientation #0 Notepad
OutPrecision 2 SOFTWARE\Microsoft\Notepad Sample lfOutPrecision #1 Notepad
PageSettings 2 SOFTWARE\Microsoft\Notepad Sample fSavePageSetting #0 Notepad
PitchAndFamily 2 SOFTWARE\Microsoft\Notepad Sample lfPitchAndFamily #49 Notepad
PointSize 2 SOFTWARE\Microsoft\Notepad Sample iPointSize #120 Notepad
Quality 2 SOFTWARE\Microsoft\Notepad Sample lfQuality #2 Notepad
StrikeOut 2 SOFTWARE\Microsoft\Notepad Sample lfStrikeOut #0 Notepad
Weight 2 SOFTWARE\Microsoft\Notepad Sample lfWeight #400 Notepad
Wrap 2 SOFTWARE\Microsoft\Notepad Sample fWrap #0 Notepad

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)

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

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