Installing fonts via loginscript

Associate
Joined
13 Jun 2005
Posts
1,416
Location
West Midlands
Hiya,

I am installing two fonts via loginscript to our users. I have created a loginscript and a registry file via notepad. The first font installs fine and it appears in the %systemroot%\fonts folder and in the registry.

For some reason the second font does not install. There are no errors that I can see. This is being tested on a Windows XP SP3 machine. My loginscript looks like this -

Code:
rem net use z: /delete
net use f: /delete
rem net use s: /delete

copy \\server\support\FONTS\ITC_Officina_Serif_Bold.TTF %systemroot%\fonts

copy \\server\support\FONTS\ITC_Officina_Serif_Std_Book.TTF %systemroot%\fonts

regedit /s \\ingeniousarch02\support\fonts\instfont.reg

call %0\..\kix32 %0\..\srkix2012.kix

rem Pause


End

My reg file looks like this -

Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"The name of the Font (TrueType)"="ITC_Officina_Serif_Bold.TTF"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"The name of the Font (TrueType)"="ITC_Officina_Serif_Std_Book.TTF"

Any ideas on what I have missed? I have been going over both the script and reg file for the last 90 minutes so I think a fresh pair of eyes might spot something that I am overlooking.
 
Last edited:
How are you deploying this? I would setup a gpo for just installing fonts and add the script as a startup rather than login as it is run using the system account (effectively admin).

I assume the script works running as administrator
 
Back
Top Bottom