DPI-Awareness in the Wizard Interface
Project:This information applies to the following project types:
Edition:The Advanced UI project type is available in the InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.
DPI-awareness in Advanced UI and Suite/Advanced UI projects has two parts:
|
•
|
Items that are drawn by the engine are scaled according to the target system’s DPI settings. Thus, if a target system has a DPI of 200%, the check box control is scaled accordingly. |
|
•
|
The engine considers the scale factor and language when displaying images and other resources that you are including in the wizard interface. |
For example, when the engine determines that the scale factor should be 150 and that the appropriate language is English, it looks for resources that have the string scale-150 in their path or file name. It searches the following paths in the order listed when searching for image.png on the target system:
|
1.
|
[SUPPORTDIR]0409\scale-150\image.png |
|
2.
|
[SUPPORTDIR]0409\image.scale-150.png |
|
3.
|
[SUPPORTDIR]0409\image.png |
|
4.
|
[SUPPORTDIR]scale-150\image.png |
|
5.
|
[SUPPORTDIR]image.scale-150.png |
|
6.
|
[SUPPORTDIR]\image.png |
Note that matching the language takes precedence over matching the correct DPI.
InstallShield includes scale-150 and scale-200 images for the built-in default images that are included in Advanced UI and Suite/Advanced UI projects. If you want to include custom resources in your project, use the Support Files view to add appropriately scaled images.