View Full Version : icone
Anduriel
15th March 2004, 18:42
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...
Joost Verburg
15th March 2004, 19:45
Did you set it in the right place, before all page macros?
Anduriel
16th March 2004, 16:36
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
16th March 2004, 17:27
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
17th March 2004, 14:37
No i use not the modern UI, but i don't know what is "Icon command"
Joost Verburg
17th March 2004, 14:38
So why are you using Modern UI settings?
Use:
Icon myicon.ico
Anduriel
18th March 2004, 14:57
THX :D :D
Anduriel
18th March 2004, 15:19
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.
Joost Verburg
18th March 2004, 15:57
Use an icon editor. An icon is not a standard bitmap.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.