Hi, I get a strange error on several machines in the nsis installer during installation. It provides an "Invalid win32 file descriptor" when installing fonts using fontreg.nsh
I tried Google but did not get an answer to this problem. now Im thinking to suppress this message, is there any way to suppress the message or, if possible, offer me a solution to the problem.
heres my code
! enable "FontReg.nsh" enable "FontName.nsh" enable "WinMessages.nsh"
StrCpy $ FONT_DIR $ FONTS
! insertmacro InstallTTFFont 'calibri_0.TTF'! insertmacro InstallTTFFont 'calibrib.TTF'! insertmacro InstallTTFFont 'calibriz.TTF'! insertmacro InstallTTFFont 'calibrii.TTF'
SendMessage $ {HWND_BROADCAST} $ {WM_FONTCHANGE} 0 0 / TIMEOUT = 5000
please help him urgently
source
share