Archive: different headerimages in one installer


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?


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

Works!

Thanks!


This forum rules =)