Installer Units

A Windows Installer user interface unit is approximately equal to one-twelfth (1/12) the height of the 10-point MS Sans Serif font size. The relative size of dialogs, controls and fonts can change depending upon the font size used in the user interface. To ensure the correct display of the user interface, setup developers should always test their application using the actual font sizes.

Send comments about this topic to Microsoft

Build date: 11/12/2009

Tags :


Community Content

Gideon7
MSI Installer Unit is based on 12 points not 10

Note: The MSI Installer Unit (IU) is defined as "one-twelfth (1/12) the height of the 10-point MS Sans Serif font size". A point is 1/72 inch. Assuming the display resolution is the default 96 dots per inch (DPI) the math works out to (1/12) * (10/72) * 96 = 1.11111 pixels per IU.

However empirical testing shows that the actual scaling factor for the IU is 1.33333 pixels. This corresponds to 12 points not 10.

The correct formula for converting IU to pixels is as follows: on a 96 DPI display multiply by 4/3, and on a 120 DPI display multiply by 5/3.

Tags : contentbug

Page view tracker