Archive: open a directory or install font properly


open a directory or install font properly
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


This thread should get you going, it is the printer-friendly link:

http://forums.winamp.com/printthread...hreadid=137726


Check out my acrhive page on installing fonts.

Vytautas


On latest NSIS you can use the constant $FONTS to retreive the correct path


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 ;)


So put two examples codes, one explaining the older versions way, and the newest one.