DefaultUIFont property

The DefaultUIFont property sets the default font style used for controls. To specify the default, set DefaultUIFont to one of the predefined styles in the TextStyle table in the Property table.


The DefaultUIFont property of every installation package with a UI should be set in the Property table to one of the predefined styles listed in the TextStyle table. If this property is not specified, the installer uses the System font. This can cause the installer to improperly display text strings when the package's code page is different from the user's default UI code page.

The text and font style of a control can be set as described in Adding Controls and Text. If the character string listed in the Text column of the Control table or BBControl table does not specify the font style, the control uses the value of the DefaultUIFont property as the font style.


Requirement Value
Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

See also