Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 15th March 2004, 18:42   #1
Anduriel
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...
Anduriel is offline   Reply With Quote
Old 15th March 2004, 19:45   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Did you set it in the right place, before all page macros?
Joost Verburg is offline   Reply With Quote
Old 16th March 2004, 16:36   #3
Anduriel
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.
Anduriel is offline   Reply With Quote
Old 16th March 2004, 17:27   #4
Joost Verburg
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.
Joost Verburg is offline   Reply With Quote
Old 17th March 2004, 14:37   #5
Anduriel
Junior Member
 
Join Date: Mar 2004
Posts: 29
No i use not the modern UI, but i don't know what is "Icon command"
Anduriel is offline   Reply With Quote
Old 17th March 2004, 14:38   #6
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
So why are you using Modern UI settings?

Use:

Icon myicon.ico
Joost Verburg is offline   Reply With Quote
Old 18th March 2004, 14:57   #7
Anduriel
Junior Member
 
Join Date: Mar 2004
Posts: 29
THX
Anduriel is offline   Reply With Quote
Old 18th March 2004, 15:19   #8
Anduriel
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.
Anduriel is offline   Reply With Quote
Old 18th March 2004, 15:57   #9
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Use an icon editor. An icon is not a standard bitmap.
Joost Verburg is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump