[AccessD] Auto install fonts

John Clark John.Clark at niagaracounty.com
Wed Nov 19 12:39:19 CST 2003


Thanks for the tip Gustav! Sorry for the delayed response...I've been
off quite a bit lately and, when I have been here, there has been many
diversions...today it is a 'toasted' server.
 
I not only downloaded Inno Setup, but I also downloaded IS Tool, which
is an interface designed for Inno, but created by another developer. It
seems like it is exactly what I need, but it also looks like it is going
to take some learning. 
 
Where did you get the <snip> that you sent me? I would like to
investigate it more. I actually have it working except for the font...I
don't know where to put it.
 
Thanks again. I believe this will save my department hours of work, in
the long run.
 
John W Clark


>>> gustav at cactus.dk 11/14/03 11:04AM >>>
Hi John

You can use the free Inno Setup for this:

  http://www.jrsoftware.org/isinfo.php 


<snip>

FontInstall

  Description:
Tells Setup the file is a font that needs to be installed. The value
of this parameter is the name of the font as stored in the registry or
WIN.INI. This must be exactly the same name as you see when you
double-click the font file in Explorer. Note that Setup will
automatically append " (TrueType)" to the end of the name.    

If the file is not a TrueType font, you must specify the flag
fontisnttruetype in the Flags parameter.

It's recommended that you use the flags onlyifdoesntexist and
uninsneveruninstall when installing fonts to the {fonts} directory. 
To successfully install a font on Windows 2000/XP, the user must be a
member of the Power Users or Administrators groups. On Windows NT 4.0
and earlier, anyone can install a font.

  Example:
Source: "OZHANDIN.TTF"; DestDir: "{fonts}"; FontInstall: "Oz Handicraft
BT"; Flags: onlyifdoesntexist uninsneveruninstall 

</snip>

/gustav


> I use basically the same 'look' for all (or most) of the programs
that I
> write for my employer. This 'look' includes two fonts that are not
> standard (airfoil.ttf and motley.ttf). When I install these programs
to
> a new computer, it is necessary for me to copy these ttf files and
then
> install them via 'control panel' and 'fonts'.

> This was all fine for a while, but now the number of programs is
> growing, as is the amount of users and the physical area that they
are
> spread over. Now I cannot always be the one who does the actual
> installation, so I have been trying to create an automated process
for
> the install of these programs. I currently use a batch file that
creates
> a directory in 'Program Files' on their root drive, copies the files
> into this directory, and copies a shortcut onto their desktop. The
> remaining problem is that the fonts need to be installed, and I
don't
> know how to get around having them install the font--I don't want
them
> to touch anything they don't need to touch.

> Is there a way to do this? I have never used any of the 'installer'
> programs that I have read about, on this list--is this what I need to
be
> looking at? And, if so, which ones? I think I have noticed 'Install
> Shield' (?) the most.

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com 
http://databaseadvisors.com/mailman/listinfo/accessd 
Website: http://www.databaseadvisors.com 



More information about the AccessD mailing list