It Assistors
It Assistors

Reputation: 1108

Install fonts to PC using Inno Setup

I created a Windows application and that uses a particular font. So I need to install that font to the users system using Inno Setup.

I used this code:

Source: "ARLRDBD.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft BT"; \
    Flags: onlyifdoesntexist uninsneveruninstall

But this code had no effect when I tested it in my system.

How can I do it perfectly?

Upvotes: 7

Views: 11327

Answers (1)

RobeN
RobeN

Reputation: 5456

FontInstall - This must be exactly the same name as you see when you double-click the font file in Explorer. In your case you have left the name from the Inno Setup's Help Example.

Source: "ARLRDBD.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft BT"; Flags: onlyifdoesntexist uninsneveruninstall

Oz Handicraft BT is not the real name of ARLRDBD.TTF font.

The real FontInstall value for ARLRDBD.TTF is Arial Rounded MT Bold

Upvotes: 12

Related Questions