The RetainAllIcons parameter keeps all of the original icons of the executable file listed in the Source parameter in the application.

Icons that are not assigned to application executable files reside in the virtual file system of the package. The RetainAllIcons parameter determines whether to copy the unused icons from the virtual file system to the executable file.

To save disk space, ThinApp sets an initial value that removes unused icons from the portion of the executable file that is visible to the physical environment.

Keeping All Original Icons of an Application

You can modify the RetainAllIcons parameter to keep all of the original icons of the application.

[app.exe]
Source=%ProgramFilesDir%\myapp\app.exe
RetainAllIcons=1