Customize Installer Icons with NSIS


soak

I am using NSIS to create an installer. The output file installer.exe now has a standard icon that can be found at:

{NSIS_Install_Dir}\Contrib\Graphics\Icons\classic-install.ico

I want to use custom mines to change it, so in the documentation I suggest adding the following line:

!include "MUI.nsh"
!define MUI_ICON "custominstaller.ico"
!define MUI_UNICON "custominstaller.ico"

It doesn't work, at the end of NSIS compilation I can read 2 warnings:

2 warnings:
  Variable "MUI_TEMP1" not referenced or never set, wasting memory!
  Variable "MUI_TEMP2" not referenced or never set, wasting memory!

I tried using MUI2.nsh but nothing changed (just new warnings). I also tried using the full path to the icon, but still nothing. I even copied one of the standard NSIS icons (arrow-install.ico) to C:\ and referenced it as

!define MUI_ICON "C:\arrow-install.ico"

Still not. Any tips?

I am using NSIS 3.01 on a Windows 7 computer.

soak

Answering my own question here, and finally I found the answer.
I am using MUI2.nsh and have to insert macros MUI_LANGUAGElike:

!insertmacro MUI_LANGUAGE "English"

Without it, the plugin will not work properly. It's ridiculous that it's not stated anywhere in the documentation, that's all.

Source: Bunch of warnings, no images on welcome/end pages

Related


Customize Installer Icons with NSIS

soak I am using NSIS to create an installer. The output file installer.exe now has a standard icon that can be found at: {NSIS_Install_Dir}\Contrib\Graphics\Icons\classic-install.ico I want to use custom mines to change it, so in the documentation I suggest a

Customize Installer Icons with NSIS

soak I am using NSIS to create an installer. The output file installer.exe now has a standard icon that can be found at: {NSIS_Install_Dir}\Contrib\Graphics\Icons\classic-install.ico I want to use custom mines to change it, so in the documentation I suggest a

Customize Installer Icons with NSIS

soak I am using NSIS to create an installer. The output file installer.exe now has a standard icon that can be found at: {NSIS_Install_Dir}\Contrib\Graphics\Icons\classic-install.ico I want to use custom mines to change it, so in the documentation I suggest a

Customize Installer Icons with NSIS

soak I am using NSIS to create an installer. The output file installer.exe now has a standard icon that can be found at: {NSIS_Install_Dir}\Contrib\Graphics\Icons\classic-install.ico I want to use custom mines to change it, so in the documentation I suggest a

Customize Installer Icons with NSIS

soak I am using NSIS to create an installer. The output file installer.exe now has a standard icon that can be found at: {NSIS_Install_Dir}\Contrib\Graphics\Icons\classic-install.ico I want to use custom mines to change it, so in the documentation I suggest a

Version Comparison in NSIS Installer

square kilometers I have to compare the version of the current file with the version already installed in the NSIS installer. I know version numbers are in strings, but I've read somewhere that NSIS automatically converts strings to integers if needed in logic

Version Comparison in NSIS Installer

square kilometers I have to compare the version of the current file with the version already installed in the NSIS installer. I know version numbers are in strings, but I've read somewhere that NSIS automatically converts strings to integers if needed in logic

Version Comparison in NSIS Installer

square kilometers I have to compare the version of the current file with the version already installed in the NSIS installer. I know version numbers are in strings, but I've read somewhere that NSIS automatically converts strings to integers if needed in logic

Version Comparison in NSIS Installer

square kilometers I have to compare the version of the current file with the version already installed in the NSIS installer. I know version numbers are in strings, but I've read somewhere that NSIS automatically converts strings to integers if needed in logic

NSIS installer in Russian

Baipu Currently working with NSIS to install the installer on my PC game, but I'm running into a weird issue: I have defined my language like this !insertmacro MUI_LANGUAGE "English" !insertmacro MUI_LANGUAGE "French" !insertmacro MUI_LANGUAGE "Portuguese" !in

Set the language of the NSIS installer

pointer I have an angular/electron application with NSIS installer. How do I set the language in which this installer window is displayed? For example, I want the installation directory window to be in German instead of English. I can't find any documentation

Version Comparison in NSIS Installer

square kilometers I have to compare the version of the current file with the version already installed in the NSIS installer. I know version numbers are in strings, but I've read somewhere that NSIS automatically converts strings to integers if needed in logic

Version Comparison in NSIS Installer

square kilometers I have to compare the version of the current file with the version already installed in the NSIS installer. I know version numbers are in strings, but I've read somewhere that NSIS automatically converts strings to integers if needed in logic

Remove header image in NSIS installer

Auberge I understand that NSIS uses the installer icon (or ) by MUI_ICONdefault as the header image. and use MUI_HEADERIMAGEunspecified MUI_HEADERIMAGE_BITMAPuse defaultContrib\Graphics\Header\nsis.bmp But is it possible that the header image isn't fully displ

Remove header image in NSIS installer

Auberge I understand that NSIS uses the installer icon (or ) by MUI_ICONdefault as the header image. and use MUI_HEADERIMAGEunspecified MUI_HEADERIMAGE_BITMAPuse defaultContrib\Graphics\Header\nsis.bmp But is it possible that the header image isn't fully displ

Answer user prompts in NSIS installer

Vicky I have a batch file that install_license.batinstalls a license for our software. The batch file just runs a Java class that does what it needs to do. The batch file requires two parameters, the path to the action installation and the license file, which

Remove header image in NSIS installer

Auberge I understand that NSIS uses the installer icon (or ) by MUI_ICONdefault as the header image. and use MUI_HEADERIMAGEunspecified MUI_HEADERIMAGE_BITMAPuse defaultContrib\Graphics\Header\nsis.bmp But is it possible that the header image isn't fully displ

Answer user prompts in NSIS installer

Vicky I have a batch file that install_license.batinstalls a license for our software. The batch file just runs a Java class that does what it needs to do. The batch file requires two parameters, the path to the action installation and the license file, which

Customize file types and icons

Becky: 我有一个用Java编写的游戏,它具有保存游戏并加载所有使用.txt文件的功能,但是我认为如果我可以拥有自己的文件类型,那就太酷了……我知道我可以将其设置为另存为尚未定义的类型,但随后我得到该文件的空白图标...是否可以在Java中为其提供自定义文件图标?我看过在线等,但我发现的只是Microsoft网站在c#和vb等中解释了其中的一些... 詹姆斯·坎贝尔: 我想,如果您在Windows中创建了文件类型(如果您在Windows中),则可以将文件类型添加到系统中。然后查看现有文件类型。现在,将您的图标关

Customize icons in grub theme

nt First of all, I don't know if this is the right place to post, so sorry if it's not. I have installed the theme ( tela ) in the grub bootloader and added the icon to the OS entry. Is there any way to manually assign icons to entries? For example, the Linux

How to customize location icons?

Emil Balley I'm trying to replace the location icon in the demo with my own, but I haven't figured out how to do it yet. I searched for its declaration in the .json file without success. { "class" : "map", "colortype" : "rgba", "columns

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea

How to Customize Special Icons

christian 007 I'm evaluating Install4j to see if I can replace InstallAnywhere. Custom Installer/Unistaller's icon [executable icon] is clear to me. The possibility to customize the image in the title bar is also evident. I'm asking if I also have customizatio

Customize file types and icons

Becky: I have a game written in Java that has the ability to save the game and load everything using a .txt file, but I thought it would be cool if I could have my own file type...I know I can set it as Save as a not yet defined type, but then I get a blank ic

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea

Customize icons in grub theme

nt First of all, I don't know if this is the right place to post, so sorry if it's not. I have installed the theme ( tela ) in the grub bootloader and added the icon to the OS entry. Is there any way to manually assign icons to entries? For example, the Linux

How to customize location icons?

Emil Balley I'm trying to replace the location icon in the demo with my own, but I haven't figured out how to do it yet. I searched for its declaration in the .json file without success. { "class" : "map", "colortype" : "rgba", "columns

Customize the icons on the js tree

friends I want to add a folder open close icon for closing and expanding, and a leaf icon for leaf nodes. please help Edit : Tried adding the type plugin, but it doesn't seem to work. var data = { 'core': { 'data': dataObj }, "sea