Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Install font via login.bat

Posted on 2004-10-28
Medium Priority
Last Modified: 2013-12-03
We need to "roll out" a new font at our company. The best tool I can see is using the login.bat to call a program that would install the font. I need your help with the program to install the font. What would be the best way to do this using vb 5.0? I'm a novice at VB so be gentle.
Question by:csho
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
LVL 10

Accepted Solution

dis1931 earned 2000 total points
ID: 12434028
usually installing a font is simply nothing more than copying the font file into C:\windows\fonts or C:\winnt\fonts.  All you need is a simple login script to copy the appropriate font files from a network share onto the local drive nothing more than a copy or xcopy DOS command.

LVL 85
ID: 12434370
I'm not sure this works every time .. usually you need to register the font (note: this can be done pretty easily by doing as dis1931 suggests but you'll need to open the Fonts folder ... ).

Of course, you could use Inno Setup (a freely available and very nice install program) to install your font ... this will register it and all, just to be sure. YOu can get Inno setup here:


I used to use Inno, it's very simple to deal with and there are a lot of FAQs and such to walk you through things like this.

Author Comment

ID: 12435034
Can inno setup run this invisibly?
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

LVL 36

Expert Comment

ID: 12435077
have a look here on deployting fonts across a domain

LVL 85
ID: 12435160
If by "invisibly" you mean without user interaction, then no ... the user would have to run a basic "install" program.
LVL 10

Expert Comment

ID: 12438218
I have never had to register a font before normally copying them right into the folder works.  But then again this may not always be the case but in my experience it works.  You may want to try it on a test machine to see if it functions properly with just copying and if it does then just do the simple script.


Author Comment

ID: 12443305
Probably a naive question, but if 100 people are trying to copy the same font file, would I need to account for that?
LVL 85
ID: 12443601
No ... your OS will handle the request as it deems fit.

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question