Chapter 10: Creating Customized Virtual Applications
Creating ThinApp Applications
926
ADS-0950-UG00
AdminStudio 9.5 User Guide
RetainAllIcons
By default, each application retains the main Group Icon from its
Source
executable and the individual icon resource pointed to by the Group Icon. Tlink will
strip out extra icons that cannot be used directly by the system shell. However, you
can force these extra icons to be included in the ThinApp executable by using the
RetainAllIcon=1
option. For example:
[myapp.exe]
Source=%ProgramFilesDir%\myapp\app.exe
RetainAllIcons=1
Instead of using the Source option to identify your application icon, you can also
use:
1.
The value NULL.
In this case, the application will not have an icon and
Windows will use the default application icon.
[myapp.exe}
Source=%ProgramFilesDir%\myapp\app.exe
Icon=NULL
2.
The path to another .exe file.
In this case, Tlink will load the icons from a
different .exe file. If a full path is not specified, the path is relative to the project
directory.
[myapp.exe]
Source=%ProgramFilesDir%\myapp\app.exe
Icon=%ProgramFilesDir%\myapp\app2.exe
Executable files can contain multiple icon sets. You can optionally specify
which set to use by appending ",1" ",2" to the end of the Icon path name like
this:
[myapp.exe]
Source=%ProgramFilesDir%\myapp\app.exe
Icon=%ProgramFilesDir%\myapp\app2.exe,1
3.
The path to an .ico icon file.
In this case, Tlink will load the icons from the
specified .ico file. If a full path is not specified, the path is relative to the project
directory.
[myapp.exe]
Source=%ProgramFilesDir%\myapp\app.exe
Icon=%ProgramFilesDir%\myapp\myicon.ico
Table 10-47 •
[MainApp.exe] Section of package.ini (cont.)
Option
Description
Summary of Contents for ADMINSTUDIO 9.5
Page 1: ...AdminStudio 9 5 User Guide Version 9 5...
Page 50: ...Contents 50 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 52: ...52 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 156: ...156 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 440: ...440 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1090: ...1090 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1426: ...1426 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1686: ...1686 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1794: ...Chapter 24 AdminStudio Public API Reference 1794 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1842: ...Index 1842 ADS 0950 UG00 AdminStudio 9 5 User Guide...