4.6.1

Table Of Contents
VMware, Inc. 79
Chapter 5 Configuring Package Parameters
YoucanusetheTHINSTALL_CACHE_DIRenvironmentvariabletooverridetheCachePathparameterat
runtime.IfyoudonotsettheTHINSTALL_CACHE_DIRenvironmentvariableortheCachePathparameter,
ThinAppsetsaninitialvalueoftheCachePathparameterbasedontheSandboxPathparameteraccordingto
thefollowingrules:
IftheSandboxPathparameterispresentinthePackage.inifileandusesarelativepath,theCachePath
parameterusesthesandboxpathandstoresthecacheatthesamedirectorylevelasthesandbox.
IftheSandboxPathparameterispresentinthePackage.inifileandusesanabsolutepath,orifthe
SandboxPathparameterdoesnotexistinthePackage.inifile,theCachePathparameterusesthe
%Local AppData%\Thinstall\Cachelocation.Thisplacesthecachedirectoryonthelocalmachine,
regardlessoftheretheusertravelswiththesand
box.ThinAppcreatesaStubsdirectorywithinthecache.
Examples
YoucanmodifytheCachePathparametertouseanabsolutepath.
CachePath=C:\VirtCache
YoucansetarelativepaththatThinAppdetectsasthepathrelativetothedirectorywheretheapplication
executablefileresides.IfthepackageresidesinC:\VirtAppsandtheCachePathparameterhasavalueof
Cache,thecachedirectoryisC:\VirtApps\Cache.
CachePath=Cache
WhenyouuseaUSBdeviceandmovethesandboxontotheUSBdevice,youmightmovethecachetotheUSB
devicetoavoidinterferingwiththelocalmachine.Inthisexample,thecacheandsandboxexistinthesame
directorylevel.
CachePath=<sandbox_path>
UpgradePath
TheUpgradePathparameterspecifiesthelocationofinformationandfilesforApplicationSyncand
sidebysideintegerupdates.
ThedefaultUpgradePathlocationisthesamedirectoryasthatinwhichtheapplicationexecutablefileis
locatedonthelocalmachine.
TheApplicationSyncutilityaccumulateslogandcachefilesandconstructstheupdatedexecutabl
efileinthe
UpgradePathlocation.ForinformationabouttheApplicationSyncutility,seeApplicationSyncUpdates”on
page 53.
SidebysideintegerupdatinglooksforupdatedversionsoftheapplicationintheUpgradePathlocation.For
informationaboutsidebysideupgrading,see“SidebySideUpgradingofRunningA
pplicationsona
NetworkShare”onpage 63.
Examples
Whenthedefaultlocationhaslimitedspace,suchasaUSBdevice,oryouwanttoisolateupgradesfromthe
applicationexecutablefile,youcanmodifytheUpgradePathparametertospecifyanalternativelocationfor
storageofsidebysideupdates.Theparametercanincludeenvironmentvariablesinthepathbutdoe
snot
supportfoldermacros.
[BuildOptions]
UpgradePath=C:\Program Files\<my_app_upgrades>