Archive: How to install a Windows font (TTF)


How to install a Windows font (TTF)
Hello Everyone,

Please, help me. The code bellow is correct when I need to install a Windows TTF font ? I need to write more code after this ?

SetOutPath "C:\WINDOWS\FONTS"
IfFileExists "C:\WINDOWS\FONTS\lcb.TTF" NoInstallFont
File "C:\Software\lcb.TTF"
NoInstallFont:

[],s

Luiz Carlos


You can find a plugin in the archive:

http://nsis.sourceforge.net/archive/download.php

Hard-coding paths is also not a good idea.


This thread should tell you how to use the Fonts.dll plug-in Joost refered you to.