Skip to content
⌘ NSIS Forum Archive

FontReg.nsh error

3 posts

yacob#

FontReg.nsh error

Greetings,

I'm using NSIS 2.0 Final, with FontName-0.6 and the FontReg script at:



I checked that FontName.dll is under the NSIS\Plugins directory and has the ".dll" extension in lowercase. It does appear to load properly in MakeNSISW.

The compilation dies with:

Invalid command: System::Call
Error in macro InstallTTF on macroline 49

I've used the FontReg.nsh as is and don't see a System::Call on line 49. FontName.nsh and FontReg.nsh are in the "Include" directory and also appear to load properly. My own script is under C:\Temp.

Am I missing anything??

thanks!!
yacob#
That did it! I've tested and verified, it works perfectly now. I had no clue that bits of the NSIS install were missing.

thanks!