RetainAllIcons
Previous  Top  Next

RetainAllIcons - Indicates all of the Source EXEs' original icons should be retained in the generated Thinstalled EXE file

By default TLink will construct a new EXE using a source executable. To reduce disk space, the new EXE image will contain only icons viewable from the system shell, while all other icons are stored inside of the package and are still accessable to the application while it is running. The icons that are accessible by the system cannot be compressed, so their disk size is larger. In some cases it may be desirable to have all of the appication's original icons visible to the system shell.

Examples

Instruct Tlink to retain all of the application's original icons 
[app.exe]  
Source=%ProgramFilesDir%\myapp\app.exe  
RetainAllIcons=1  

Instruct Tlink to strip out unused icons from the system visible portion of the EXE file (default) 
[app.exe]  
Source=%ProgramFilesDir%\myapp\app.exe  
RetainAllIcons=0  

See also: Icon