Archive: MUI_WELCOMEFINISHPAGE_BITMAP isn't displayed


MUI_WELCOMEFINISHPAGE_BITMAP isn't displayed
I use the later following code, anything works fine but the MUI_WELCOMEFINISHPAGE_BITMAP isn't displayed on the left side of the welcomepage. The icon and the header logo are displayed on license-, custom- and section pages very well. Any suggestions why the welcomefinishpage bitmap isnt displayed on the welcomepage?


Here is the code:

[...]
!define MUI_WELCOMEPAGE_TITLE_3LINES "$(MUI_TEXT_WELCOME_INFO_TITLE)"
!define MUI_ICON "images\inst-icon.ico"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "images\header_logo.bmp"
!define MUI_HEADERIMAGE_RIGHT
!define MUI_WELCOMEFINISHPAGE_BITMAP "images\welcome_img.bmp"
!define MUI_ABORTWARNING
!define MUI_LICENSEPAGE_CAPTION "$(MUI_TEXT_LICENSEPAGE_CAPTION)"
!define MUI_LICENSEPAGE_RADIOBUTTONS
!define MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_ACCEPT "$(MUI_INNERTEXT_LICENSE_ACCEPTTEXT)"
!define MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_DECLINE "$(MUI_INNERTEXT_LICENSE_DECLINETEXT)"
[...]
!include "MUI2.nsh"


[...]

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE $(license)

Page Custom ShowXYZ LeaveXYZ "$(CAPTION_XYZ)"

[...]

PageEx InstFiles
Caption "$(CAPTION_PROG)"
CompletedText "$(COMPLETED_PROG)"
PageCallbacks PROG_Package
PageExEnd

[...]

Page Custom ShowCustomFinishPage LeaveCustomFinishPage "$(CAPTION_FINISH)"

[...]


Thank you in advance for your help!


Try to specify that file with absolute path and tell us, if it shows or not.


Thx for your support, but unfortunately it didn't helped. It's still not displayed by using absolute path :(

Whem i'm testing it with a wrong path, the compiler stops with an error. So it seems like that he gets the correct bitmap.

But i wonder about a warning the compiler shows me:


1 warning:
install function "mui.WelcomePage.GUIInit" not referenced - zeroing code (575-579) out

I guess this might be the reason of the problem. What does that mean? I really have no clue.


No one has a solution for my problem? Please help me.


I'll bet that you haven't declared
!insertmacro MUI_LANGUAGE "English"
in your script ;)


Right i haven't. But even if i add !insertmacro MUI_LANGUAGE "English" to my script the image isn't displayed. After compiling there is still 1 warning "install function "mui.WelcomePage.GUIInit" not referenced - zeroing code (575-579) out" and alot of LangString warnings.


When i start the installer with Windows XP Prof (english version) all fields and labels are blank because multilanguage support is planed for a later version of the installer and currently only german LangStrings and !insertmacro MUI_LANGUAGE "German" are declared.


Try like this:

!include MUI2.nsh
...
!define MUI_HEADERIMAGE_RIGHT
!define MUI_WELCOMEFINISHPAGE_BITMAP "images\welcome_img.bmp"
!define MUI_ABORTWARNING
...
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE $(license)
!insertmacro MUI_PAGE_FINISH
...


Try this exactly as it is:

!include MUI2.nsh

!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\orange-install.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\orange-uninstall.ico"
!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange-uninstall.bmp"

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "license_file"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH

!insertmacro MUI_LANGUAGE "German"

Thank you, now it is displayed.

It seems that !insertmacro MUI_PAGE_WELCOME has to be implemented before
!insertmacro MUI_LANGUAGE "German"
;!insertmacro MUI_LANGUAGE "English"