4.6

Table Of Contents
VMware, Inc. 83
Chapter 5 Configuring Package Parameters
Examples
Ifyoudonotwantthechildprocesstooperateinorslowdownthevirtualenvironment,youcanmodifythe
ChildProcessEnvironmentDefaultparametertocreatechildprocessesinthephysicalenvironment.
[BuildOptions]
ChildProcessEnvironmentDefault=External
ChildProcessEnvironmentExceptions
TheChildProcessEnvironmentExceptionsparameternotesexceptionstothe
ChildProcessEnvironmentDefaultparameterwhenyouwanttospecifychildprocesses.
WhenyousettheChildProcessEnvironmentDefaultparametertoVirtual,the
ChildProcessEnvironmentExceptionsparameterliststheapplicationsthatrunoutsideofthevirtual
environment.WhenyousettheChildProcessEnvironmentDefaultparametertoExternal,the
ChildProcessEnvironmentExceptionsparameterliststhe
applicationsthatruninthevirtualenvironment.
Examples
Youcanspecifyexceptionstorunningchildprocessesinthevirtualenvironment.Whenthevirtualapplication
startsanotepad.exechildprocess,thechildprocessrunsoutsidethevirtualenvironment.
[BuildOptions]
ChildProcessEnvironmentExceptions=AcroRd.exe;notepad.exe
ChildProcessEnvironmentDefault=Virtual
Configuring Sizes
YoucanmodifyThinAppparameterstocompressfileandblocksizesforapplications.
BlockSize
TheBlockSizeparametercontrolsthesizeofcompressionblocksonlywhenThinAppcompressesfilesfora
build.
Alargerblocksizecanachievehighercompression.Largerblocksizesmightslowtheperformancebecause
ofthefollowingreasons:
Thebuildprocessslowsdownwithlargerblocksizes.
Thestartuptimeandreadoperationsforapplicationsslowdownwithlargeblocksizes.
Morememoryisrequiredatruntimewhenyouuselargerblocksizes.
YoucanspecifytheBlockSizeparameterinthePackage.inifileandinthe##Attributes.inifile.Youcan
usedifferentblocksizesfordifferentdirectorieswithinasingleproject.
Examples
Youcanincreasethedefaultsizeof64KBintheBlockSizeparametertoasupportedblocksizeof128KB,
256KB,512KB,or1MB.Youcanaddkafterthenumbertoindicatekilobytesormtoindicatemegabytes.
[Compression]
BlockSize=128k
CompressionType
TheCompressionTypeparametercancompressallfilesinapackageexceptforPortableExecutablefiles.
Youcancompressfileswhenyouhavealargepackageanddiskspaceisatoppriority.Compressionhasa
quickrateofdecompressionandlittleeffectonmostapplicationstartuptimesandmemoryconsumptionat
runtime.CompressionachievessimilarcompressionratiosastheZIPalgorithm.