4.6

Table Of Contents
ThinApp User’s Guide
104 VMware, Inc.
ThinAppstartsthesandboxsearchbytryingtofindthefollowingenvironmentvariablesinthisorder:
%<sandbox_name>_SANDBOX_DIR%
Thisenvironmentvariablechangesthesandboxlocationforspecificapplicationsonthecomputer.
For example,iftheMozilla Firefox 3.0_SANDBOX_DIRenvironmentvariableexists,itsvalue
determinestheparentdirectorysandboxlocation.Ifthevalueisz:\FirefoxSandboxbeforeyourunthe
application,ThinAppstoresthesandboxinz:\FirefoxSandbox.JOHNDOE-COMPUTERifthedirectory
alreadyexists.If
thedirectorydoesnotexist,ThinAppcreatesasandboxinz:\FirefoxSandbox.
%THINSTALL_SANDBOX_DIR%
Thisenvironmentvariablechangesthelocationofallsandboxesonacomputer.Forexample,ifthe
THINSTALL_SANDBOX_DIRenvironmentvariableexists,itsvaluedeterminestheparentdirectorysandbox
location.Ifthevalueisz:\MySandboxesbeforeyouruntheapplication,ThinAppcreatesasandboxin
z:\MySandboxes.
IfThinAppdoesnotdetectthe
%<sandbox_name>_SANDBOX_DIR%or%THINSTALL_SANDBOX_DIR%
environmentvariable,ThinAppchecksforthefollowingfilesystemdirectoriesandcreatesasandboxinthe
firstdirectoryitdetects:
<exe_directory>\<sandbox_name>.<computer_name>
Forexample,C:\Program Files\Firefox\Mozilla Firefox 3.0.JOHNDOE-COMPUTER
<exe_directory>\<sandbox_name>
Forexample,C:\Program Files\Firefox\Mozilla Firefox 3.0
<exe_directory>\Thinstall\<sandbox_name>.<computer_name>
Forexample,C:\Program Files\Firefox\Thinstall\Mozilla Firefox 3.0.JOHNDOE-COMPUTER
<exe_directory>\Thinstall\<sandbox_name>
Forexample,C:\Program Files\Firefox\Thinstall\Mozilla Firefox 3.0
<sandbox_path>\<sandbox_name>.<computer_name>
Forexample,Z:\sandboxes\Mozilla Firefox 3.0.JOHNDOE-COMPUTER
<sandbox_path>\<sandbox_name>
Forexample,Z:\sandboxes\Mozilla Firefox 3.0
%AppData%\Thinstall\<sandbox_name>.<computer_name>
Forexample,C:\Documents and Settings\JohnDoe\Application Data\Thinstall\Mozilla
Firefox 3.0.JOHNDOE-COMPUTER
%AppData%\Thinstall\<sandbox_name>
Forexample,C:\Documents and Settings\JohnDoe\Application Data\Thinstall\Mozilla
Firefox 3.0
IfThinAppdoesnotdetectthe%<sandbox_name>_SANDBOX_DIR%or%THINSTALL_SANDBOX_DIR%
environmentvariable,anddoesnotdetectthespecifiedfilesystemdirectories,ThinAppcreatesasandbox
usingthefollowingguidelinesinthisorder:
IftheSANDBOXPATHPackage.iniparameterisset,thevaluedeterminesthesandboxlocation.
IfThinAppcompletesthesandboxsearchwithoutanyresults,ThinAppcreatesasandboxinthedefault
%AppData%\Thinstalldirectoryoftheuser.
N
OTEOnlyonecomputeratatimecanuseasharedsandbox.Ifacomputerisalreadyusingasandbox,
ThinAppcreatesanewsandboxtoallowyoutocontinueworkinguntilthepreviouscopyofthesandbox
closes.