Redman
Jan 14 2005, 01:15 AM
How can we silent install fonts ?
thanx
Redman
MaDxCrEaM
Jan 14 2005, 03:36 AM
I would imagine just make the directory on you unnatended cd $OEM$\$$\Fonts
Put them there, and they should be copied over during installation. If someone else could clarify this, as I have not tried it myself.
MCT
Jan 14 2005, 03:46 AM
yes, i extract fonts during T-12 & everything works
Martin Zugec
Jan 14 2005, 03:47 AM
The same solution...
a06lp
Jan 14 2005, 09:22 AM
wait, a reg tweak is not needed in addition?
i copy them to system32, AND apply this regtweak:
CODE
;Install 4 Custom Fonts
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Linkin Park 1.0 (TrueType)"="LinkinPark.ttf"
"WilhelmKlingsporGotisch (TrueType)"="WILHLMK.TTF"
"A.M.P. (TrueType)"="amp.TTF"
"Astigma Regular (TrueType)"="a**.TTF"
MCT
Jan 14 2005, 09:23 AM
ive had no need for a reg tweak
a06lp
Jan 14 2005, 02:47 PM
so simply putting (or extracting via SFX archive after installation is totally finished) to Windows\Fonts will work?
can ppl confirm this in real-world tests?
big poppa pump
Jan 14 2005, 09:27 PM
You need to copy over the fonts to the fonts directory and as mentioned run the regtweak from cmdlines.txt to register your font.
maxXPsoft
Jan 14 2005, 10:38 PM
I use a different method which was discussed long ago
]To simply register just open the folder if you don't mind using that method.
In cleanup.cmd
CODE
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Runonce /V RegisterFonts /D "%SystemRoot%\explorer.exe /e,/root,%systemroot%\Fonts"
All that does is open the folder and you just close it. Can use a Kill on it if you want.
Saves all that yada yada yada ttf
Anderz
Jan 15 2005, 05:10 PM
I have put all my new fonts in $$\Fonts and run the thing mentioned by maxXPsoft.
It works kike a charm!
PS: Only using $$\Fonts didn't work for me dudes ...
Astalavista
Jan 15 2005, 08:11 PM
QUOTE (MCT @ Jan 14 2005, 05:46 PM)
yes, i extract fonts during T-12 & everything works
MCT can u pls give more details?
Are you using winrar sfx?
with it extracting to
%systemroot%\Fonts\
SiMoNsAyS
Jan 15 2005, 09:12 PM
only rar-sfx fonts to the fonts folder don't work for me. i use to open the fonts folder and after a few seconds kill the process
ps: alt. you can open word to register fonts
SyntaxError
Jan 15 2005, 10:29 PM
I have my fonts in a winrar sfx silent extract directly to %windir%\fonts from RunOnceEx.cmd and they install with no problem. What's so hard about that?
Edit: never mind. seems my apps can't see the new fonts. DOH!
Astalavista
Jan 15 2005, 11:01 PM
hhehehe MCT and Simonsays are both senior member they know what they are talking about.
MCT
Jan 15 2005, 11:29 PM
hey, sorry, ive been @ work, havent had a chance 2 reply

but yes, all i do is use a winrar SFX & install it & T-12 extracting to %Windir%\Fonts i only install 2 fonts & both are recognised by all my programs
SyntaxError
Jan 15 2005, 11:33 PM
So I have the right idea, I just need to put the fonts.exe command in cmdlines.txt instead of runonceex.cmd ?
Astalavista
Jan 16 2005, 12:09 AM
MCT i just tried it and it works.
SyntaxError
Jan 17 2005, 01:22 AM
I put "fonts.exe" (winrar silent sfx) in cmdlines.txt and placed the file itself in the $OEM$ folder. The fonts extracted silently at T-12 but after the final reboot, windows apps could not see the fonts. I had to open the fonts folder and install them again manually.
There has got to be a way to install a couple dozen fonts unattended without having to add a reg entry for each font.
Any ideas?
Astalavista
Jan 17 2005, 01:28 AM
i installed 20 fonts using mct method and it worked.
what does your winrar.sfx look like?
post your comments
SyntaxError
Jan 17 2005, 01:35 AM
;The comment below contains SFX script commands
Path=%windir%\fonts
SavePath
Silent=1
Overwrite=2
I'm installing 36 true type fonts.
Astalavista
Jan 17 2005, 01:43 AM
humm
mine is similar
but i hv mine in %systemroot%\fonts\
just curious did u patch your wfp?
SyntaxError
Jan 17 2005, 03:07 AM
By "wfp" I think you mean windows file protection. If this is the case, then no, I haven't disabled it. Haven't had a need to do so.
The only patched system files i use are uxtheme.dll, ntoskrnl.exe for my custom bootscreen, logonui.exe, logon.scr, and logoff.exe files.
Astalavista
Jan 17 2005, 03:17 AM
I dont know what to tell u i just tested MCT method again
on another workstation and it installed all the fonts.
and i just check with Office 2003 it recognizes all the fonts
just did the sfx method.
SyntaxError
Jan 17 2005, 03:28 AM
Might have something to do with trying my UA on a dell dimension 3000 on the last couple test runs. Those **** dells make xp act funny sometimes. Then again, it's most likely just another random bug in windows cause I've had similar problems with my apps, sometimes they get registered and sometimes they don't.
Where are the fonts that come with xp stored on the cd? Maybe that file could be unpacked, then add the new fonts to it, and repack it.
Astalavista
Jan 17 2005, 03:50 AM
nope i dont think that would work. It has been tried with no success in the past.
hey! I love dell systems i hv a couple of the XPS and they still work ok.
dont blame the machine...

blame the one writing and preparing the code.
SyntaxError
Jan 17 2005, 05:27 PM
My code works fine other than the fonts part. And the dell I mentioned is rented so it's a real POS lol. I've installed my corporate xp cd on (not UA) on several dells before with no trouble though. I think it's just windows being it's lame buggy self as usual. These fonts aren't really important so I might just leave them out.
Redman
Jan 17 2005, 06:32 PM
Thanx guys this herlp me alot

Redman
Dobby
Feb 3 2005, 03:10 PM
QUOTE (Astalavista @ Jan 17 2005, 03:17 AM)
I dont know what to tell u i just tested MCT method again
on another workstation and it installed all the fonts.
and i just check with Office 2003 it recognizes all the fonts
just did the sfx method.
Didn't someone say that opening Word will register the fonts? Astalavista, is that perhaps why it's working for you if you are checking by opening an Office app?
Just a thought.
asbsamsf
Feb 3 2005, 05:57 PM
"fontinst.exe" is a small application from microsoft; Copy the font into the %windir%\fonts folder and then, register the fonts. The font is available even before the reboot. also send a message to all top-level windows in the system. This message notifies other applications that the font table has been added a font.
CODE
fontinst.exe /F fontinst.inf
fontinst.infQUOTE
[fonts]Arial.TTF
ArialBD.TTF
Ariali.TTF
ArialBI.TTF
Cour.TTF
CourBD.TTF
Couri.TTF
CourBI.TTF
Times.TTF
TimesBD.TTF
Timesi.TTF
TimesBI.TTF
SiMoNsAyS
Feb 3 2005, 06:33 PM
@asbsamsf, many thanks man, it will solve my font-problems!
asbsamsf
Feb 3 2005, 06:45 PM
@SiMoNsAyS
u r welcome
Kelsenellenelvian
Feb 3 2005, 07:19 PM
I am sorry but I must be missin something I can't get the font install program to work right and I am just tryin to install 1 font with it.
asbsamsf
Feb 3 2005, 07:31 PM
Fontinst.exe, fontinst.inf and all fonts should be in the same folder
Kelsenellenelvian
Feb 3 2005, 07:45 PM
That is what I was doing wrong I still had my sfx file installing the fonts. I works awesomely thank you very much!!!!!
P.S. I was up half the night with this very problem.
Thank you.
asbsamsf
Feb 3 2005, 07:55 PM
An example fontinst.zip (54,2 KB)P.S. you can call just fontinst.exe if you name your inf file "fontinst.inf" otherwise you have to call "fontinst.exe /f whatever.inf"
GTiger
Feb 8 2005, 06:13 PM
Isn't it necessary to add a line to delete the Fontinst.exe and Fontinst.ini after they do the job?
Thanks!
Astalavista
Feb 8 2005, 06:37 PM
QUOTE
asbsamsf
awesome dude... good work! new style.
lilweirddude
Feb 8 2005, 07:46 PM
nice program, makes installing fonts easier
asbsamsf
Feb 9 2005, 03:26 AM
QUOTE (GTiger @ Feb 9 2005, 01:13 AM)
Isn't it necessary to add a line to delete the Fontinst.exe and Fontinst.ini after they do the job?
Thanks!
u can use IExpress Packager or winrar sfx , install Fontinst.exe, and it'll be done; install, delete , ....
P.S.
i've found a tool "installfont.exe" in wpi package, usage:
CODE
REM Font installation - the easy way
for /R %%i in ( *.ttf ) do (
echo Installing font %%~ni.ttf
copy /Y "%%~fi" "%windir%\Fonts" > nul
"installfont.exe" "%windir%\Fonts\%%~ni.ttf" > nul
)
GTiger
Feb 9 2005, 06:56 PM
QUOTE (asbsamsf @ Feb 9 2005, 03:26 AM)
u can use IExpress Packager or winrar sfx , install Fontinst.exe, and it'll be done; install, delete , ....
P.S.
i've found a tool "installfont.exe" in wpi package, usage:
CODE
REM Font installation - the easy way
for /R %%i in ( *.ttf ) do (
echo Installing font %%~ni.ttf
copy /Y "%%~fi" "%windir%\Fonts" > nul
"installfont.exe" "%windir%\Fonts\%%~ni.ttf" > nul
)
Thanks, man! But now I'm not sure about what method I'll use to install my 2.378 extra fonts! I think I'll try work only with command lines, following your good tips!
fmxer
Feb 19 2005, 01:56 AM
QUOTE (asbsamsf @ Feb 9 2005, 03:26 AM)
QUOTE (GTiger @ Feb 9 2005, 01:13 AM)
Isn't it necessary to add a line to delete the Fontinst.exe and Fontinst.ini after they do the job?
Thanks!
u can use IExpress Packager or winrar sfx , install Fontinst.exe, and it'll be done; install, delete , ....
P.S.
i've found a tool "installfont.exe" in wpi package, usage:
CODE
REM Font installation - the easy way
for /R %%i in ( *.ttf ) do (
echo Installing font %%~ni.ttf
copy /Y "%%~fi" "%windir%\Fonts" > nul
"installfont.exe" "%windir%\Fonts\%%~ni.ttf" > nul
)
Can you please explain this alittle further?
You got a file called 'installfont.exe', you put that in a folder with a file called 'fonts.inf' and all your fonts, then you paste that code in the inf file?
thanks
asbsamsf
Feb 19 2005, 03:21 AM
please READ this post if you like this method, then use it.. , if not, forget every thing about 'Fontinst.exe' and
'fonts.inf' and with clear maind READ
QUOTE
P.S.
i've found a tool "installfont.exe" in wpi package, usage:
CODE
REM Font installation - the easy way
for /R %%i in ( *.ttf ) do (
echo Installing font %%~ni.ttf
copy /Y "%%~fi" "%windir%\Fonts" > nul
"installfont.exe" "%windir%\Fonts\%%~ni.ttf" > nul
)
this code is "command lines" to be meant for Batch Files ".bat; .cmd"
to use 2nd methodYou get a file called 'installfont.exe', you put that in a folder with a 'Batch File' and all your fonts, then you run the 'Batch File'?
totoymola
Feb 19 2005, 03:26 AM
Hey asbsamsf! Thank you for introducing this tool to us.
asbsamsf
Feb 19 2005, 03:29 AM
QUOTE (totoymola @ Feb 19 2005, 10:26 AM)
Hey asbsamsf! Thank you for introducing this tool to us.

bon appétit!
totoymola
Feb 19 2005, 05:20 PM
Question:
Which types for fonts are supported by the FontInst.exe?
SiMoNsAyS
Feb 19 2005, 06:29 PM
@totoymola tried *.ttf and *.fon without problems. i suppose all the fonts recognized by windows.
totoymola
Feb 19 2005, 07:45 PM
Hmm... I think not all. Because I tried installing pfm fonts, and it didn't work. Or maybe there's something wrong with my inf.
bufoncosmico
Mar 5 2005, 05:52 PM
sorry, but i still dont get it
using the fontinst.exe method; i need to put in a sfx all the fonts, fontinst.inf, and fontinst.exe, make the sfx extract everything to the fonts folder in windows and then call the command to register the fonts?
if so:
what should be the comment in the sfx?
i run it in the runonce.cmd, or in the cmdlines.txt ?
bufoncosmico
Mar 14 2005, 11:53 PM
ok, i finally got it to work...i dunno if its the right or the easyest way, but this work for me:
made 2 sfx, one to copy my fotns to the fonts directory, and another sfx with the fonts, fontsinst.exe, and fontsinst.inf to decompress to a temporary folder, and then run fontinst.exe /f fontinst.inf. All that in my RunOnceEx.cmd
thats it, and it work perfectly...
totoymola
Mar 15 2005, 01:03 AM
QUOTE
made 2 sfx, one to copy my fotns to the fonts directory, and another sfx with the fonts, fontsinst.exe, and fontsinst.inf to decompress to a temporary folder, and then run fontinst.exe /f fontinst.inf.
You dont need your first sfx. Your second one is enough.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.