4.5

Table Of Contents
VMware, Inc. 91
Chapter 5 Configuring Package Parameters
YoucandecideatruntimewhethertousetheRemoveSandboxOnExitscriptAPIfunctiontodeletethe
sandboxonexit.
Examples
YoucanmodifytheRemoveSandboxOnExitparametertodeletethesandboxwhentheapplicationexits.When
multipleusersshareanapplicationunderoneusername,youcandeletethesandboxtoeliminatetheprevious
usersregistryandfilesystemchanges.
[BuildOptions]
RemoveSandboxOnExit=1
SandboxName
TheSandboxNameparameterspecifiesthenameofthedirectorythatstoresthesandbox.
Thinappsetsaninitialvaluethatusestheinventorynameasthesandboxname.
Whenyouupgradeanapplication,thesandboxnamehelpsdeterminewhetherusersretainpreviouspersonal
settingsorrequirenewsettings.Changingthesandboxnamewith
newdeploymentsaffectstheneedtocreate
anewsandboxwithdifferentsettingsorretainthesamesandbox.
Examples
Whenyouupdateanapplicationandwanttousenewuserpreferencesfortheapplication,youcanmodifythe
SandboxNameparametertoreflecttheupdatedversion.
[BuildOptions]
SandboxName=My Application 2.0
SandboxNetworkDrives
TheSandboxNetworkDrivesparameterdetermineswhetherThinAppdirectswriteoperationstoanetwork
driveortothesandbox,regardlessofisolationmodesettings.
Whenyouusethisparametertodirectwriteoperationstonetworkdrives,theresultisthesameassettingthe
isolationmodeforthedrivetoMergedmode.
Examples
Whenyouwanttosavespaceorsharefilesforcollaborativework,leavethedefaultsettingofthe
SandboxNetworkDrivesparametertodirectwriteoperationstonetworkdriveswithoutstoringchangesina
sandbox.
[BuildOptions]
SandboxNetworkDrives=0
Youcanstorechangesinthesandboxandpreventtheuserfrommakingchangestonetworkdrives.
[BuildOptions]
SandboxNetworkDrives=1
SandboxPath
TheSandboxPathparameterdeterminesthepathtothesandbox.
Thepathtothesandboxcanberelativeorabsolute,canincludefoldermacrosorenvironmentvariables,and
canexistonanetworkdrive.ForadvancedinformationabouthowThinAppsetsaninitialsandboxlocation
orsearchesforthesandbox,see“Search
OrderfortheSandbox”onpage 93.
YoumightworkwiththeSandboxPathparametertoaddresslocal,USBdrive,ornetworkneeds,toaddress
spacelimitationsintheinitialsandboxlocation,ortomovethesandboxtothedesktopfortroubleshooting
purposes.
Thesandboxpathdoesnotincludethesandboxnamebecausethe
SandboxNameparameterdeterminesthat
name.