Archive: Error With Font instalation FontName plugIn


Error With Font instalation FontName plugIn
  Hi
i want to install some fonts in windows so
i found this:
http://nsis.sourceforge.net/FontName_plug-in

i try the sample but got error during compiling (using latest NSIS)
error in macro
aborting
and ....

please take a look at this code...

which part is incorrect!!?





nsh

>!include FontName.nsh

Section "Fonts"

StrCpy $FONT_DIR $FONTS

!insertmacro InstallTTF 'BDavat.ttf'

SendMessage ${HWND_BROADCAST} ${WM_FONTCHANGE} 0 0 /TIMEOUT=5000
SectionEnd

Section "un.Fonts"

StrCpy $FONT_DIR $FONTS

!insertmacro RemoveTTF 'BDavat.ttf'

SendMessage ${HWND_BROADCAST} ${WM_FONTCHANGE} 0 0 /TIMEOUT=5000
SectionEnd
>
i attached my instalation some one please help me and note me

i must add i can install font correct but when i use Section "un.Fonts"

i cant compile the script!
i think all of error is about uninstall section g any ideas?


off finally i found the problem:

http://forums.winamp.com/showthread....ight=RemoveTTF

this is exactly i got in un istalation section
but there is no update and fix for it ...

can some one improve this?!