When you install the font, all it does is copy the .ttf file to %systemroot%\fonts and add the entry to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts . This can be automated using a batch file as follows
Rem fontinst.bat copy akbar.ttf %systemroot%\fonts regedit /s font.reg
font.reg will contain the following:
REGEDIT4 \[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\] "Akbar Plain (TrueType)"="akbar.ttf"
Source: m.windowsitpro.com
source share