4.5

Table Of Contents
VMware, Inc. 95
Chapter 6 Locating the ThinApp Sandbox
Controlling the Sandbox Location
ThesetupcaptureprocessaddstheSandboxNameparametertothePackage.inifile.IfyoucaptureFirefox
andMozilla Firefox 3.0isthevalueofthisparameter,thedefaultlocationofthesandboxforthe
applicationis%AppData%\Thinstall\Mozilla Firefox 3.0.Thetypical%AppData%locationis
C:\Documents and Settings\<user_name>\Application Data.%AppData%isoftenmappedtoashared
networkdrive.
Store the Sandbox on the Network
YoucanusetheSandboxPathparametertostorethesandboxonamappeddrive.Anetworklocationisuseful
forbackingupthesandboxandforuserswhologintoanymachineandretaintheirapplicationsettings.For
moreinformationabouttheSandboxPathparameter,see“SandboxPath”onpage 91.
To store the sandbox on a mapped drive
1Openthe
Package.inifile.
2UndertheSandboxNameparameter,settheSandboxPathparametertothenetworklocation.
SandboxName=Mozilla Firefox 3.0
SandboxPath=Z:\Sandbox
Forexample,ifMozilla Firefox 3.0isthevalueoftheSandboxNameparameter,thecapturedFirefox
applicationcreatesthesandboxinZ:\Sandbox\Mozilla Firefox 3.0.
Store the Sandbox on a Portable Device
YoucanusetheSandboxPathparametertosetaportabledevicelocationforthesandbox.Youcanuseany
portabledevice,suchasaUSBdrive,thatappearsasadiskdriveintheMy Computersystemfolder.Aportable
devicelocationisusefultokeepthesandboxdataonthedevice
wheretheapplicationresides.
FormoreinformationabouttheSandboxPathparameter,see“SandboxPath”onpage 91.
To store the sandbox in the same directory on a USB drive where the executable file resides
1OpenthePackage.inifile.
2UndertheSandboxNameparameter,settheSandboxPathparametertothisvalue.
SandboxName=Mozilla Firefox 3.0
SandboxPath=.
Forexample,ifMozilla Firefox 3.0isthevalueoftheSandboxNameparameter,thecapturedFirefox
applicationcreatestheMozilla Firefox 3.0sandboxinthesamedirectorythatFirefoxrunsfrom.
To store the sandbox in a Thinstall directory on a USB drive at the same level as the executable file
1Ifthe%THINSTALL_SANDBOX_DIR%or%<sandbox_name>_SANDBOX_DIR% environmentvariablesareset,
unsetthevariables.
2Ontheportabledevice,createaThinstalldirectoryinthesamedirectory
asyourcapturedapplication.
Thenexttimethepackagedapplicationstartsfromtheportabledevice,theapplicationcreatesasandbox
intheThinstalldirectory.
3Iftheapplicationandsandboxoriginallyranfromanotherlocation,suchasacomputer,andyouneedthe
samesandboxonaportabledevice,copytheThinstalldirectory
from%AppData%tothedirectorywhere
theexecutablefileresidesonthedevice.
ThinAppnolongerusesthesandboxintheoriginallocation.