I have seen in all scripts when I have to change the image header that uses the ${NSISDIR}
like this:
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_RIGHT
!define MUI_HEADERIMAGE_BITMAP ${NSISDIR}\Contrib\Graphics\Header\nsis-r.bmp
But I need to put the image in other folder to not depending of NSIS dir.
Does anyone know how to do this?
I can not depend of /home/username
too.
I want that because the wizard can be compiled in any linux PC.
You can try a relative path...
Edit:
Use a relative path when the .bmp is in the same folder tree as your .nsi:
If you want to use one of the other NSIS images you should just use the NSISDIR define, the POSIX compiler will convert the path: