Skip to content
⌘ NSIS Forum Archive

Show banner/top logo in installer window?

9 posts

Elmi#

Show banner/top logo in installer window?

Hi,

as marked by the red frame in this image:



Is there a possibility to show a banner/custom image in this whole area?

Thanks!

Elmi
Anders#
Edit modern_headerbmp with Resource Hacker and use
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "path\to\InstallerLogo.bmp"
Stackoverflow might also be useful...
Elmi#
Does not work. So what image size do I have to set there? Or even more simple: where is a documentation for the MUI-functions? Even at http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html MUI_HEADERIMAGE_BITMAP is not mentioned.
Nutzzz#
Originally Posted by Elmi View Post
So what image size do I have to set there?
150x57

Originally Posted by Elmi View Post
Even at http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html MUI_HEADERIMAGE_BITMAP is not mentioned.
Hit Expand All at the top before you try your search. It's there.
Elmi#
Originally Posted by Anders View Post
Edit modern_headerbmp with Resource Hacker
OK, I have overseen this. I definitely do not want to hack an EXE every time I create an installer (which seems to be necessary when I want to use different images in different installers).

So it seems, the correct answer is, it is not possible to change this image?
JasonFriday13#
You only have to edit it once, then it will appear in every installer you compile with that header. You can set a different image for each script you write.