Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 632
It Assistors Avatar asked Jan 28 '15 07:01

It Assistors


1 Answers

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

like image 198
RobeN Avatar answered Oct 05 '22 10:10

RobeN