jrsoftware.org // Jordan Russell's Software
-Home

Products

-Inno Setup


-Toolbar2000

-Toolbar97

-StripReloc

-More...

Support

-Newsgroups

-Contact Me

#######
visitors since
Jan. 1998

Inno Setup Knowledge Base
Return to index

PRB: Wrong icon or missing version info when viewing setup.exe in Explorer

Article Created: 2005-01-06 00:10 GMT by Jordan Russell
Last Updated: 2007-02-05 19:21 GMT by Jordan Russell


If your compiled setup.exe file is more than several hundred megabytes in size, Windows Explorer may show a generic "Application" icon for the file in place of the usual Setup icon. In addition, when you view the Properties for the file, the Version tab may be missing.

This is not an Inno Setup bug. The problem actually lies in the APIs Explorer uses to extract icons and version info. They try to map entire files into memory; when there isn't a large enough contiguous block of address space available, they fail.

It is possible to work around this problem by enabling disk spanning (DiskSpanning=yes). This will move the compressed data into a separate file (or files, depending on what DiskSliceSize is set to), limiting setup.exe to a size Explorer can handle.


Site contents Copyright © 1997-2012 Jordan Russell. All rights reserved.