4.6.1

Table Of Contents
VMware, Inc. 85
Chapter 5 Configuring Package Parameters
MSICompressionType
TheMSICompressionTypeparameterdetermineswhethertocompressMSIfilesforpackagedistribution.
CompressionimprovesperformancewhenopeningMSIfilesandusingtheThinAppSDK.
IfyoucreateanMSIfileduringthecaptureprocess,ThinAppaddstheMSICompressionTypeparameterto
thePackage.inifileandsetstheinitialvalueofFasttocompressthefile
.Decompressionoccursatthetime
ofinstallation.
YoudonothavetosettheMSICompressionTypeparametertoFastwhenyousettheCompressionType
parametertoFast.Settingbothparametersdoesnotincreasetheamountofcompression.
Examples
Ifyouareworkingwithlargebuildsandperformanceisnotapriority,youcanmodifythe
MSICompressionTypeparametertopreventMSIfilecompression.
[Compression]
MSICompressionType=none
OptimizeFor
TheOptimizeForparametercontrolswhethertocompressexecutablefilesortoreducememoryconsumption
andpagefileusageon theharddrivetoimprovestartupperformance.Youcanusethisparameterwiththe
CompressionTypeparametertocus tomizethepackagesize,memoryallocation, andapplicationstartuptime.
VMwarerecommendsleavingthedefaultsettingoftheOpti
mizeForparameterandtheCompressionType
parametertoimprovestartupperformanceandmemoryconsumption.Youcanchangetheparameterstofav or
smallerpackagesizeswhendisksizeisthepriorityconcern.ThinAppcompressesexecutable files onlywhen
yousettheOptimizeForparametertoDiskandtheCompressionTypeparameterisFast.Ex
ecutablefiles
storedincompressedformatinsideapackagecanadverselyaffectperformanceandmemoryconsumption.
WhenThinApploadsexecutablefilesfromcompressedformat,ThinAppcannotsharethefile memoryacross
similarsuitesofapplicationsorwithotherusersinamultiuserenvironmentsuchasTerminalServer.
Whenyouwanttocom
pressallthepa ckagefilesexceptforPortableExecutablefiles,youcanleavethe default
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