'Change the entire font name of all dialogs (part 2) [duplicate]

Based on this post,

Change the entire font style of all dialogs

How to change the font text of the entire installer in Graphical Installer?

When you create the installer using this tool, it creates two Inno Setup files. One file the main installer file and the other has the code to set the theme. This second file has the extension ".graphics.iss". It has the following code,

#define public ButtonNormalColor   "$FFFFFF"
#define public ButtonFocusedColor  "$FFFFFF"
#define public ButtonPressedColor  "$FFFFFF"
#define public ButtonDisabledColor "$FFFFFF"

Adding this code,

#define public ButtonFont "Times New Roman"

does not change the font.



Solution 1:[1]

Use

[Setup]
DefaultDialogFontName=<your font name here e.g. Showcard Gothic>

DefaultDialogFontName is a directive that works in both Graphical Installer and vanilla Inno Setup.

Please keep in mind, that font used in this directive must be present on target machine (it is not compiled automatically into setup). If font is not found, the default (usually Tahoma) will be used.

Custom font

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Slappy