Adding Registry Information

Windows Installer

Adding Registry Information

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


Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.