Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 4th April 2005, 11:34   #1
aj kwak
Member
 
Join Date: Mar 2005
Posts: 57
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???
aj kwak is offline   Reply With Quote
Old 4th April 2005, 11:56   #2
aj kwak
Member
 
Join Date: Mar 2005
Posts: 57
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 ???
aj kwak is offline   Reply With Quote
Old 4th April 2005, 12:07   #3
aj kwak
Member
 
Join Date: Mar 2005
Posts: 57
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
aj kwak is offline   Reply With Quote
Old 5th April 2005, 17:34   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump