4.6.1

Table Of Contents
VMware, Inc. 101
Chapter 5 Configuring Package Parameters
Ifyouhaveapackagethatincludesotherapplications,youmightupdatetheinventorynamemanuallyto
reflectthetruecontentsofthepackage.Forexample,ifyoucapturetheSuperAppapplicationandthepackage
includesJavaRuntime,theInventoryNamevaluemightappearasJava Runtime Environment 1.5instead
ofSuperApp.TheAddorRem
oveProgramslistdisplaysthefirstapplicationinstalledwithinthepackage.
Examples
YoucanmodifytheInventoryNameparametertoMicrosoftOffice2003.
[BuildOptions]
InventoryName=Microsoft Office 2003
RemoveSandboxOnExit
TheRemoveSandboxOnExitparameterdeletesthesandboxandresetstheapplicationwhenthelastchild
processexits.
ThinAppstoresallapplicationchangestotheregistryandfilesystemlocationswithWriteCopyorFull
isolationmodeinthesandbox.ThinAppsetsaninitialvalueoftheRemoveSandboxOnExitparameterthat
maintainsconsistentsettingsforthesand
boxdirectoryacrossmultipleapplicationruns.
Iftheapplicationcreateschildprocesses,ThinAppdoesnotdeletethesandboxuntilallchildprocessesexit.
Applicationsmightbedesignedtoleavechildprocessesinplacethatcanblockthecleanupoperation.
For example,MicrosoftOffice2003leavesthectfmon.exeprocess.Youcanuseasc
ripttoendthe
ctfmon.exeprocessandchildprocessestoforcethecleanupoperationtooccur.
YoucandecideatruntimewhethertousetheRemoveSandboxOnExitscriptAPIfunctiontodeletethe
sandboxonexit.
Examples
YoucanmodifytheRemoveSandboxOnExitparametertodeletethesandboxwhentheapplicationexits.When
multipleusersshareanapplicationunderoneusername,youcandeletethesandboxtoeliminatetheprevious
usersregistryandfilesystemchanges.
[BuildOptions]
RemoveSandboxOnExit=1
SandboxName
TheSandboxNameparameterspecifiesthenameofthedirectorythatstoresthesandbox.
Thinappsetsaninitialvaluethatusestheinventorynameasthesandboxname.
Whenyouupgradeanapplication,thesandboxnamehelpsdeterminewhetheruserskeeppreviouspersonal
settingsorrequirenewsettings.Changingthesandboxnamewithnewde
ploymentsaffectstheneedtocreate
asandboxwithdifferentsettingsorkeepthesamesandbox.
Examples
Whenyouupdateanapplicationandwanttousenewuserpreferencesfortheapplication,youcanmodifythe
SandboxNameparametertoreflecttheupdatedversion.
[BuildOptions]
SandboxName=My Application 2.0
SandboxNetworkDrives
TheSandboxNetworkDrivesparameterdetermineswhetherThinAppdirectswriteoperationstoanetwork
driveortothesandbox,regardlessofisolationmodesettings.
Whenyouusethisparametertodirectwriteoperationstonetworkdrives,theresultisthesameassettingthe
isolationmodeforthedrivetoMergedmode.