Skip to content
⌘ NSIS Forum Archive

different headerimages in one installer

3 posts

Huette#

different headerimages in one installer

Hi!

I got another question: is it possible to have different headerimages in one installer? That means, that the headerimage changes between the directorypage and the instfilepage?
glory_man#
Try code something like this:

!define MUI_PAGE_CUSTOMFUNCTION_LEAVE "dir_leave"
!insertmacro MUI_PAGE_DIRECTORY
...
Function dir_leave
File "/oname=$PLUGINSDIR\modern-header.bmp" "your.bmp"
SetBrandingImage /IMGID=1046 /RESIZETOFIT "$PLUGINSDIR\modern-header.bmp"
FunctionEnd