Archive: File doesn't exist or is an invalid icon file (linux-server)


File doesn't exist or is an invalid icon file (linux-server)
I have copied al my files to my linux server...
I have also downloaded somewere a linux makensis versie and it runs... but i get some errors. My last error :

!define: "MUI_HEADERIMAGE"=""
!define: "MUI_ICON"="Nomadiskfiles\Graphics\Icons\ND_installer.ico"
!define: "MUI_UNICON"="Nomadiskfiles\Graphics\Icons\ND_installer.ico"
!define: "MUI_LANGDLL_REGISTRY_ROOT"="HKLM"
!define: "MUI_LANGDLL_REGISTRY_KEY" = "Software\Microsoft\Windows\CurrentVersion\Uninstall\Nomadisk®"
!define: "MUI_LANGDLL_REGISTRY_VALUENAME"="NSIS:Language"
!insertmacro: MUI_PAGE_WELCOME
Error: File doesn't exist or is an invalid icon file
Error in macro MUI_INTERFACE on macroline 67
Error in macro MUI_PAGE_INIT on macroline 3
Error in macro MUI_PAGE_WELCOME on macroline 5
Error in script "installer.nsi" on line 113 -- aborting creation process


I thought it was the ND_installer.ico - file. But these file is still present

[tvercaemst@gimli makensis]$ cd Nomadiskfiles
[tvercaemst@gimli Nomadiskfiles]$ cd Graphics
[tvercaemst@gimli Graphics]$ cd Icons
[tvercaemst@gimli Icons]$ dir
ND_folder.ico ND_installer.ico ND_profile.ico setup.ico Thumbs.db
Here you see the ND_installer is present on the correct directory. is it maybe the MUI_PAGE_WELCOME :-s

(line 113 : !insertmacro MUI_PAGE_WELCOME)

Have you copied the entire directory structure as-is, or did you move some things around? Specifically, the script should be located in the makensis folder.

As for that uninformative error message, I've opened a bug report about it.


Originally posted by kichik
Have you copied the entire directory structure as-is, or did you move some things around? Specifically, the script should be located in the makensis folder.

As for that uninformative error message, I've opened a bug report about it.
I have copied entire directory as-is.
The script i have copied in the makensis folder.
I also copied my files(.dll,.exe,.txt for the programm) in a subfolder of makensis.

Can you compile makensis with debugging symbols, run it in gdb, put a breakpoint on utils.cpp:replace_icon and see where exactly it fails?


Originally posted by kichik
Can you compile makensis with debugging symbols, run it in gdb, put a breakpoint on utils.cpp:replace_icon and see where exactly it fails?
sorry, but what is gdb ?
(is it possible to run 'gdb' in linux whithout X)

gdb is the GNU debugger. It is a command line utility, it works without X.