|
|
#1 |
|
Junior Member
Join Date: Mar 2004
Posts: 29
|
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... |
|
|
|
|
|
#2 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Did you set it in the right place, before all page macros?
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2004
Posts: 29
|
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. |
|
|
|
|
|
#4 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
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. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2004
Posts: 29
|
No i use not the modern UI, but i don't know what is "Icon command"
|
|
|
|
|
|
#6 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
So why are you using Modern UI settings?
Use: Icon myicon.ico |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Mar 2004
Posts: 29
|
THX
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Mar 2004
Posts: 29
|
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. |
|
|
|
|
|
#9 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Use an icon editor. An icon is not a standard bitmap.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|