Skip to content
⌘ NSIS Forum Archive

HEADERIMAGE_RIGHT Problem

5 posts

sLeX#

HEADERIMAGE_RIGHT Problem

Hi...

I´ve got a problem with my script and I really don´t know how to solve this problem.

/quote
!define MUI_ICON "P:\Icons\Kosy.ico"
!define MUI_ABORTWARNING
!define MUI_WELCOMEFINISHPAGE_BITMAP "D:\TempCK\image.bmp"
!define MUI_HEADERIMAGE_RIGHT
!define MUI_HEADERIMAGE_BITMAP "D:\TempCK\wintry.bmp"
/quote

When I leave out the _right everything´s doing fine and the bitmap wintry is shown on the left side. When I use the command _right the text moves to the left side and the icon instead of the pic is shown on the right side ... I don´t know why ... !
glory_man#
This variable allow you to change picture for header.
From MUI documentation
MUI_HEADERIMAGE
Display an image on the header of the page.
So if this variable not definied only icon will be displayed in header. Even if comment !define MUI_HEADERIMAGE_RIGHT.
So if you want to display headerimage on right you must insert
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_RIGHT
!define MUI_HEADERIMAGE_BITMAP D:\TempCK\wintry.bmp"