Archive: Different image on welcome and finish page MUI


Different image on welcome and finish page MUI
Hi,

Is there are way to use a different image on the left hand side of the welcome and finish page using MUI.

MUI_WELCOMEFINISHPAGE_BITMAP obviously applies to both.

I tried this technique :
---------------------------------
!define MUI_PAGE_CUSTOMFUNCTION_PRE changeFinishBmp

!insertmacro MUI_PAGE_FINISH

Function changeFinishBmp
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Text" "finishimg.bmp"
FunctionEnd
---------------------------------

Which actually works on my build machine, but doesn't work if i copy the installer to another machine.

I believe that the finishimg.bmp file is being loaded at run time not script compile time. And so on other computers it can't be found.

All help appreciated.


use the MUI function to init the plugins dir, then use "SetOutPath $PluginsDir" and "File finishimg.bmp" to 1. include finishimg.bmp into your installer and 2. have it extracted to the PluginsDir (where the MUI ui bits live) when run.


Thanks a lot Animaether,

I modified my function to be :
Function changeFinishBmp
InitPluginsDir
SetOutPath $PluginsDir
File toolbar.bmp
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Text" "toolbar.bmp"
FunctionEnd

and it worked!

Cheers
Sam H