PDA

View Full Version : open a directory or install font properly


moxo
7th January 2004, 13:12
hello
i have a problem i create a installation for my application and this application create barcode. the application use font to create barcode so in my installation copy barcode fonts in windows font directory. But when i launch my application, i can't create barcode, i have letter or number in place of barcode. but if i open the windows font directory one time, the application create barcode correctly.
so i want to know if is possible open a directory during installation and close directory before the end of my installation. Perhaps theres is a command(dos) to install properly this fonts and not to make a simple copy in windows font directory.
thanks for your help.
Moxo
nb: os is win98

cchian
7th January 2004, 13:56
This thread should get you going, it is the printer-friendly link:

http://forums.winamp.com/printthread.php?threadid=137726

Vytautas
12th January 2004, 08:10
Check out my acrhive page on installing fonts.

Vytautas

ramon18
12th January 2004, 10:31
On latest NSIS you can use the constant $FONTS to retreive the correct path

Vytautas
12th January 2004, 11:07
ramon18 both of my archive pages mention that after the example. The reason I haven't changed the example code is to allow these scripts to work with older versions of NSIS.

Vytautas ;)

deguix
12th January 2004, 20:16
So put two examples codes, one explaining the older versions way, and the newest one.