Skip to content
⌘ NSIS Forum Archive

icone

9 posts

Anduriel#

icone

I do not really arrive has to change the icone of the installation. Nevertheless I put:

!include "MUI.nsh"

and

!define MUI_ICON " myico.ico "

But the icone does not change...
Anduriel#
the right place? Yes i think...

!define PRODUCT_WEB_SITE "http://www.killtrees.fr.st"
!include "C:\Program Files\NSIS\Include\MUI.nsh"
!define MUI_ICON "llama-blue.ico"

!macro BIMAGE IMAGE PARMS
Push $0
GetTempFileName $0
File /oname=$0 "${IMAGE}"
SetBrandingImage ${PARMS} $0
Delete $0
Pop $0
!macroend



Name "Extraction T.D. Killtrees"

OutFile "killtrees_v1.exe"

this is my code, i don't know were is the bug.
Joost Verburg#
Are you using the Modern UI?

If not, use the Icon command.

If you are using the Modern UI make sure you are using NSIS 2.0 and define MUI_ICON before the page macros.
Anduriel#
I have another concern.... I have create my icone with photoshop, 32 x 32, then registered there .bmp. Then I reappointed it .ico but when I converts my script, it puts me that:

File doesn't exist or is invalid .ico file.

Nevertheless it is in the check repertoire and named well.