Difference between revisions of "Fonts"
(added Hint on Inno-Setup) |
|||
Line 18: | Line 18: | ||
A very simple Method to install Fonts is to create a minimalistic Setup-Package with INNO-Setup, where you can add all the Font's you want to install. The silent Setup installs and registers the Fontfiles during Installation | A very simple Method to install Fonts is to create a minimalistic Setup-Package with INNO-Setup, where you can add all the Font's you want to install. The silent Setup installs and registers the Fontfiles during Installation | ||
+ | |||
+ | Or you can you a registry file like this | ||
+ | <pre> | ||
+ | Windows Registry Editor Version 5.00 | ||
+ | |||
+ | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts] | ||
+ | "<font name>"="<font file name>" | ||
+ | </pre> | ||
+ | Substitute <font name> with for example "Arial (True Type)", and <font file name> with for example "arial.ttf". | ||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 11:19, 27 March 2009
This did not work as the fonts are not registered in registry. When you have Administrator rights and open the %WINDIR%\Fonts\ directory after copying the fonts you wont notice that, as the new fonts get registered automaticely then by Windows Explorer.
This is a silent installer for distributing additional fonts.
Always be sure to be entitled to use the fonts you are distributing.
Not sure how it behaves when a font is already installed on the client.
<package id="additional-fonts" name="Additional fonts" revision="1" reboot="false" priority="950" execute="once">
<install cmd='%COMSPEC% /c copy /Y "%SOFTWARE%\Fonts\*.TTF " "%WINDIR%\Fonts\" ' />
</package>
A very simple Method to install Fonts is to create a minimalistic Setup-Package with INNO-Setup, where you can add all the Font's you want to install. The silent Setup installs and registers the Fontfiles during Installation
Or you can you a registry file like this
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts] "<font name>"="<font file name>"
Substitute with for example "Arial (True Type)", and with for example "arial.ttf".