Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to replace the default logo in NSIS installer?

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

like image 850
laurent Avatar asked Sep 15 '11 12:09

laurent


People also ask

How do you write a NSIS script?

NSIS Setup You can use the NSIS Menu and under the Compiler section click Compile NSI scripts to start MakeNSISW. The makensisw.exe in the NSIS installation folder is the actual compiler. It has a graphical front end that explains three ways to load scripts, so it's very easy to use.

How do you compile NSIS?

NSIS installers are generated by using the 'MakeNSIS' program to compile a NSIS script (. NSI) into an installer executable. The NSIS development kit installer sets up your computer so that you can compile a . nsi file by simply right-clicking on it in Explorer and selecting 'compile'.

What are NSIS files?

Text file written using NSIS (Nullsoft Scriptable Install System) script, a language used for declaring the logic and tasks for software installers; often references files and folders to install as well as Windows registry actions.


1 Answers

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 
like image 84
laurent Avatar answered Sep 28 '22 09:09

laurent