Old 4th June 2007, 16:36   #1
Linguica
Junior Member
 
Join Date: Jun 2007
Posts: 2
Broken icon on large installer?

I am in the process of creating a huge installer exe (about 900 megabytes) and every time I compile, the icon on the installer is broken and defaults to the standard "unknown EXE" icon. This is weird because I have
code:

!define INSTALL_ICON "${NSISDIR}\Contrib\Graphics\Icons\win-install.ico"
[...]
!define MUI_ICON "${INSTALL_ICON}"


Which has worked perfectly fine on every other installer I've made (quite a few), but all of which were much smaller than 900 megs. So all I can think is that the large filesize is somehow causing NSIS to screw up and not create the icon correctly.

I suppose I could try using another program to set the icon, but that will change the file's checksum and presumably cause the installer to exit with an error message.
Linguica is offline   Reply With Quote
Old 4th June 2007, 17:05   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
This is standard Windows behavior. Icons for large files are not displayed to speed up displaying the contents of a folder.
Joost Verburg is offline   Reply With Quote
Old 4th June 2007, 17:19   #3
Linguica
Junior Member
 
Join Date: Jun 2007
Posts: 2
Really? Because I feel like I've downloaded large EXEs that had working icons before. What is the size limit before Windows gives up and doesn't look for an icon?
Linguica is offline   Reply With Quote
Old 4th June 2007, 21:49   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
http://forums.winamp.com/showthread.php?threadid=156086

Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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