How to replace the default logo in NSIS installer?

laurent picture laurent · Sep 15, 2011 · Viewed 26.9k times · Source

I would like to replace the default logo in my NSIS installer (see image below), but I cannot find anything about this on the internet. Can it be done?

enter image description here

Answer

laurent picture laurent · Sep 15, 2011

For the sake of completion, this is the full code I used to change the logo (using Anders method) and the executable icon (using CharlesB method). Also included MUI2.nsh as mentioned by Yuri Korolov.

!include "MUI2.nsh"

!define MUI_ICON "path\to\icon.ico"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "path\to\InstallerLogo.bmp"
!define MUI_HEADERIMAGE_RIGHT