+ Reply to Thread
Results 1 to 9 of 9

Thread: Installer icon

  1. #1

    Default Installer icon

    When I build a monolithic or web installer, the .exe has a nice looking icon with a disc in front of a monitor with an open box off to the side.

    When I build the same project as distributed across CD-ROMs, the .exe has the default blank white window icon.

    Ideally, I would like to specify which icon the generated installer .exe uses. But at least the CD-ROM installer should get the same pretty icon as a monolithic installer.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Installer icon

    Tim,

    This is not a SetupBuilder problem ;-)

    It's caused by Windows Explorer. The Explorer does not display the icon in large .exe files and displays the white one instead. This is a "problem" with ALL Win32 and Win64 executables.

    Does this help?

  3. #3

    Default Re: Installer icon

    Quote Originally Posted by linder
    Does this help?
    Nope, but it explains.

    Do you happen to know the cutoff value where this becomes an issue? I can easily span across images just under that size, as I'm actually distributing all these files on a single DVD.

    The CD-spanning is a workaround for some version of Windows Defender, which continually crashes when we run the monolithic installer (I'm guessing a signed int issue since our compressed image is just over 2GB).

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Installer icon

    Tim,

    If the Win32 or Win64 executable is more than several hundred megabytes in size, Windows Explorer shows the generic "Application" icon for the file in place of the default executable icon. In addition, when you view the Properties for the executable, the Version tab may be missing.

    This is true for all native Win32 and Win64 executables and not a bug in the development environment. The problem is caused by the Windows APIs used by Explorer to extract icons and version info. Explorer tries to map the entire file into memory and this fails if there is not a large enough contiguous block of address space available.

  5. #5

    Default Re: Installer icon

    Fascinating. So as I understand it, there's no set limit: it's based on available memory, past usage and memory fragmentation.

    Given that, is there any way to tell SetupBuilder "Make the .exe as small as possible; split the compressed data into files of size X", or something similar to work around this? I bet that most people rarely have 650 MB of contiguous memory available, and as such this will consistently be a problem.

    On another note, any thoughts on allowing the installer icon to be changed?

  6. #6
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Installer icon

    Tim,

    Yes, it's based on the available memory.

    To split your setup into multiple images:

    General Information -> Generator Settings -> Set "Media Type" to "Custom" and set "Media Size" to, say, 100 (means 100 MB).

    BTW, as recommended by Microsoft, we are using the standard installer icon. There are no plans to allow the installer icon to be changed.

  7. #7

    Default Re: Installer icon

    I hope you reconsider the ability to change the icon installer or at least improve the icon itself.

    Under Higher Resolution pc's, when one looks at the icon of the installer, it is jagged and fuzzy. This is probably because the ico file SetupBuilder is using does not have a 48x48 icon to show when looking at the file in Explorer with thumbnail view.
    The OS is blowing up the 32x32 image instead.

    I know this is trivial, but Windows Vista is a lot more graphically visual and every little bit of professionalism helps.

    Later,
    Doug

  8. #8
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Installer icon

    Tim,

    SetupBuilder 6 makes use of the "standard" Windows installer icon. The problem is that this standard icon itself is only provided as 32x32 (256 colors).

    Friedrich

  9. #9

    Default Re: Installer icon

    Hi Friedrich,

    Again, let me emphasize that I am not making a big deal over this. It's hard to find anything to complain about with SB6 actually.

    But since we are on the subject...
    The problem with Microsoft "Standards" is that they really don't exist. Following their standards, is as good as worthless. Their standards change as the wind blows. Just look at Vista and see how standards from just a few years back have been eliminated or changed dramatically.

    Obviously, allowing us devs to make a decision on our own belief of standards is the best approach. Don't let MS standards dictate the flexibility of your product. Let SB become a product that is thinking ahead of MS standards.

    Just my .02 cents,
    Doug

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Product Icon
    By LoboMgr in forum SetupBuilder 'How Do I' Questions
    Replies: 1
    Last Post: 09-05-2006, 05:45 AM
  2. Wrong Icon Displayed
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 0
    Last Post: 05-18-2006, 12:16 AM
  3. Problem with Icon Index
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 0
    Last Post: 02-21-2005, 04:41 AM
  4. Big problem with Run Windows Installer
    By sphair in forum SetupBuilder
    Replies: 1
    Last Post: 01-28-2005, 07:08 AM
  5. SB5 installer size / InstallShield X replacement
    By Unregistered in forum SetupBuilder
    Replies: 6
    Last Post: 08-27-2004, 06:32 AM

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •