Difference between revisions of "Fonts"
Line 19: | Line 19: | ||
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 | + | Or you can use a registry file like this |
<pre> | <pre> | ||
Windows Registry Editor Version 5.00 | Windows Registry Editor Version 5.00 | ||
Line 26: | Line 26: | ||
"<font name>"="<font file name>" | "<font name>"="<font file name>" | ||
</pre> | </pre> | ||
− | Substitute | + | 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:29, 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 use 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 "font name" with for example "Arial (True Type)", and "font file name" with for example "arial.ttf".