4.6

Table Of Contents
VMware, Inc. 85
Chapter 5 Configuring Package Parameters
Examples
Ifyouareworkingwithlargebuildsandperformanceisnotapriority,youcanmodifythe
MSICompressionTypeparametertopreventMSIfilecompression.
[Compression]
MSICompressionType=none
OptimizeFor
TheOptimizeForparametercontrolswhethertocompressexecutablefilesortoreducememoryconsumption
andpagefileusageontheharddrivetoimprovestartupperformance.Youcanusethisparameterwiththe
CompressionTypeparametertocustomizethepackagesize,memoryallocation,andapplicationstartuptime.
VMwarerecommendsl eavingthedefault
settingoftheOptimizeForparameterandtheCompressionType
parametertoimprovestartupperformanceandmemoryconsumption.Youcanchangetheparameterstofavor
smallerpackagesizeswhendisksizeisthepriorityconcern.ThinAppcompressesexecutable files onlywhen
yousettheOptimizeForparametertoDiskandtheCompressionTypeparameteris
Fast.Executablefiles
storedincompressedformatinsideapackagecanadv erselyaffect performanceandmemoryconsumption.
WhenThinApploadsexecutablefilesfromcompressedformat,ThinAppcannotsharethefilememoryacross
similarsuitesofapplicationsorwithotherusersinamultiuser environmentsuchasTerminalServer.
Whenyou
wanttocompressallthepackagefilesexceptforPortableExecutablefiles,youcanleavethedefault
OptimizeForparameterandonlysettheCompressionTypeparameterisFast.Whenyouwanttocompress
onlyMSIfiles,usetheMSICompressionTypeparameter.
Examples
VMwarerecommendsthedefaultconfigurationoftheOptimizeForparameterandtheCompressionType
parametertomaximizeperformance.ThinAppstoresalldatainuncompressedformat.TheOptimizeFor
parametercanbeineithertheCompressionsectionortheBuildOptionssectionofthe Package.inifile.
[Compression]
CompressionType=None
[BuildOptions]
OptimizeFor=Memory
VMwarerecommendsthisconfigurationwhendiskspaceismoderatelyimportant.Thinappstoresexecutable
filesinuncompressedformatbutcompressesalltheotherdata.
[Compression]
CompressionType=Fast
[BuildOptions]
OptimizeFor=Memory
VMwarerecommendsthisconfigurationwhendiskspaceisthetoppriority.ThinAppcompressesallfiles.
[Compression]
CompressionType=Fast
[BuildOptions]
OptimizeFor=Disk
Configuring Logging
YoucanmodifyThinAppparameterstopreventloggingactivityorcustomizethelocationofthelogfiles.
DisableTracing
TheDisableTracingparameterprevents.tracefilegenerationwhenyourunLogMonitorforsecurityand
resourcepurposes.
Youmightblockstandard.tracefilegenerationtohidetheapplicationhistoryfromauser.Inatesting
environment,youmightturnofftracingforapplicationsthatyouknowworkproperly.Producingextra
.trace
fileswastesdiskspaceandCPUtime.