Archive: icone


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...


Did you set it in the right place, before all page macros?


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.


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.


No i use not the modern UI, but i don't know what is "Icon command"


So why are you using Modern UI settings?

Use:

Icon myicon.ico


THX :D :D


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.


Use an icon editor. An icon is not a standard bitmap.