Fonts

From WPKG | Open Source Software Deployment and Distribution
Revision as of 11:19, 27 March 2009 by 159.213.80.210 (Talk)

Jump to: navigation, search

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".