Archive: what's wrong? - (makensis linux)


what's wrong? - (makensis linux)
SetDatablockOptimize: on
CRCCheck: on
SilentInstall: normal
BGGradient: 0x15477C->0xB8B8B8 (text=0xFFFFFF)
BGFont: "verdana" height=25
Invalid command: MUI_HEADERIMAGE_UNBITMAP
Error in script "installer.nsi" on line 89 -- aborting creation process

the command MUI_HEADERIMAGE_UNBITMAP is invalid???


line 89
MUI_HEADERIMAGE_UNBITMAP "Nomadiskfiles/Graphics/Uninstaller/top_left_uninstall.bmp"


do someone see the problem???


I have changed de directory
to
MUI_HEADERIMAGE_UNBITMAP "top_left_uninstall.bmp"

and i get the same fould :


BGFont: "verdana" height=25
!define: "MUI_ABORTWARNING"=""
Invalid command: MUI_HEADERIMAGE_UNBITMAP
Error in script "installer.nsi" on line 90 -- aborting creation process


After that, i have removed MUI_HEADERIMAGE_UNBITMAP

and then he gives me this fould :


!define: "MUI_ABORTWARNING"=""
!define: "MUI_HEADERIMAGE_BITMAP"="top_left_install.bmp"
!define: "MUI_WELCOMEFINISHPAGE_BITMAP"="main_install.bmp"
!define: "MUI_UNWELCOMEFINISHPAGE_BITMAP"="main_uninstall.bmp"
!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: can't find bitmap
Error in macro MUI_INTERFACE on macroline 70
Error in macro MUI_PAGE_INIT on macroline 3
Error in macro MUI_PAGE_WELCOME on macroline 5

So you can see that the MUI_HEADERIMAGE_BITMAP are compiled correctly..
why not MUI_HEADERIMAGE_UNBITMAP ???
:hang:


pffffffffff...

i have replaced "MUI_HEADERIMAGE_UNBITMAP"
and now i get another fould :


!define: "MUI_ABORTWARNING"=""
!define: "MUI_HEADERIMAGE_BITMAP"="top_left_install.bmp"
!define: "MUI_WELCOMEFINISHPAGE_BITMAP"="main_install.bmp"
!define: "MUI_HEADERIMAGE_UNBITMAP"="top_left_uninstall.bmp"
!define: "MUI_UNWELCOMEFINISHPAGE_BITMAP"="main_uninstall.bmp"
!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: can't find bitmap
Error in macro MUI_INTERFACE on macroline 70
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 123 -- aborting creation process

What do i wrong??? I come crazzy


The error "can't find bitmap' comes from CheckBitmap which, using the Modern UI, is set using MUI_COMPONENTSPAGE_CHECKBITMAP. If you haven't defined MUI_COMPONENTSPAGE_CHECKBITMAP in your script, make sure the default (${NSISDIR}\Contrib\Graphics\Checks\modern.bmp) exists.