Distribute & register fonts
I'm trying to crank out a handful of fonts to a few hundred workstations. My batch file seems to work as expected; it copies the fonts to the workstation, and registers them without complaint. However, the fonts are still not usable until the user opens their fonts folder, which is exactly what I'm trying to avoid - any user interaction whatsoever.
Can someone tell me what I'm missing? Here's my bat file
PsExec \\<WORKSTATION> -u <> -p <> xcopy /y \\server\share\folderwithfonts\*.* c:\windows\fonts
REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts" /v "font name (TrueType)" /t REG_SZ /d "%windir%\fonts\fontname.ttf" /f
How can I get these fonts registered without requiring any action on the part of the user?
Can someone tell me what I'm missing? Here's my bat file
PsExec \\<WORKSTATION> -u <> -p <> xcopy /y \\server\share\folderwithfonts\*.* c:\windows\fonts
REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts" /v "font name (TrueType)" /t REG_SZ /d "%windir%\fonts\fontname.ttf" /f
How can I get these fonts registered without requiring any action on the part of the user?
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
MicrosoftBob
15 years ago
No problem....just reboot the computers. [:D]
Seriously, this is a problem I've had in the past and I believe a compiled the fonts into an MSI using Wise Package Studio and ran the MSI using the /quiet parameter. If you don't have any way to create an MSI file, you can look at the link below for a vbscript solution.
http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr08/hey0425.mspx
Seriously, this is a problem I've had in the past and I believe a compiled the fonts into an MSI using Wise Package Studio and ran the MSI using the /quiet parameter. If you don't have any way to create an MSI file, you can look at the link below for a vbscript solution.
http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr08/hey0425.mspx
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.