4.0.4

Table Of Contents
VMware, Inc. 77
Appendix A Configuring Package Parameters
YoucanspecifytheCompressionTypeparameterinthePackage.inifile,wherethecompressiontype
becomesthedefaultforallfilesintheprojectunlessotherwisespecified,andthe##Attributes.inifile,
wherethecompressiontypeoverridesthecompressionalgorithmforthepresentdirectoryandall
subdirectories.Youcanusedifferentcompressionalgorithms
fordifferentdirectorieswithinasingleproject.
Examples
Youcanpreventcompressiontofacilitatefastbuildandloadtime.Thisisthedefaultbehavior.
[Compression]
CompressionType=None
Youcanusefastcompressionforaslowbuildtimeandfastloadtime.
[Compression]
CompressionType=Fast
Configuring Icons
YoucanuseThinAppparameterstoaddorremoveicons.
Icon
TheIconparameterspecifiestheiconfiletouseforthegeneratedexecutablefile.
Bydefault,eachgeneratedapplicationusesthemaingroupiconfromitssourceexecutablefileandthe
individualiconresourcethatthegroupiconpointsto.Youcanspecifya.icofileorexecutablefiletouse
an
alternativeicon.
Examples
YoucanspecifyaNULLvaluetogenerateanexecutablefilewithouticons.DonotuseaNULLvaluewhenyou
usethefiletypesdirective.Theexecutablefileimageallocatesoneiconforeachfiletype.
[myapp.exe]
Source=%ProgramFilesDir%\myapp\app.exe
Icon=NULL
YoucanspecifytheapplicationiconbyusinganexecutablefilethatisdifferentfromtheSourceexecutable
file.
[myapp.exe]
Source=%ProgramFilesDir%\myapp\app.exe
Icon=%ProgramFilesDir%\myapp\app2.exe
Youcanspecifythesettousebyappending,1 ,2totheendoftheiconpath.
[myapp.exe]
Source=%ProgramFilesDir%\myapp\app.exe
Icon=%ProgramFilesDir%\myapp\app2.exe,1
Youcanusea.ico filetospecifytheapplicationicon.
Table A-1. Sample Compression Ratios and Startup Times
Compression Type None Fast
Size 448,616KB 257,373KB
Compressionratio 100% 57%
Startuptime(firstrun) 6seconds 6seconds
Startuptime(secondrun) 0.1seconds 1seconds
Buildtime(firstbuild) 3minutes 19minutes
Buildtime(secondbuild) 2minutes 1.2minutes