4.5

Table Of Contents
VMware, Inc. 69
Chapter 5 Configuring Package Parameters
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
TheUpgradePathparameterspecifiesthelocationofinformationandfilesforApplicationSyncandinteger
updates.
ThinAppsetsaninitialvaluethatcausestheApplicationSyncutilitytoplacelogandcachefilesinthesame
locationastheapplicationexecutablefileonthelocalmachine.Integerupdatesoperateinthe
samewaywith
files.
WhentheApplicationSyncutilitydownloadsanupdatefromaserver,itstorestheupdatewithatemporary
nameintheUpgradePathlocation.Thenexttimetheapplicationstarts,ThinApprenamesthetemporaryfile
witha.1extensionora.2 extensiondependingonwhether.1alreadyexists.
ThinAppattemptstochangethe
namewiththe.1extensiontotheoriginalnameofthefilethatmightresideinanotherdirectory.IfThinApp
cannotmakethischange,thefilekeepsthe.1extensionintheUpgradePathlocation.Runningtheoriginal
applicationaccessesthatfile.
ForinformationabouttheApplication
Syncutility,seeApplicationSyncUpdatesonpage 43.
Examples
Whenthedefaultlocationhaslimitedspace,suchasaUSBdevice,oryouwanttoisolateupgradesfromthe
applicationexecutablefile,youcanmodifytheUpgradePathparametertospecifyanotherlocationtodetect
updatefiles.Theparametercanincludeenvironmentvariablesinthepathbutcannotsupportfoldermacros.
[BuildOptions]
UpgradePath=C:\Program Files\<my_app_upgrades>
VirtualDrives
TheVirtualDrivesparameterspecifiesadditionaldrivelettersthatareavailabletotheapplicationat
runtime.
ThinAppmakesthevirtualenvironmentresemblethephysicalcaptureenvironmentandmimicsthephysical
drivesthatareavailableonthecapturesystem.ThinApprepresentsvirtualdrivesthroughthe
VirtualDrivesparameterandaprojectfolder,suchas
%drive_<drive_letter>%,thatcontainsthevirtual
filesonthedrive.Thisprojectfoldercanresideinthereadonlyfilesystemofthepackageandinthesandbox
whenwriteoperationscannotoccuronthephysicaldrive.
TheVirtualDrivesparameterpresentsthedriv estotheapplicationatruntime.TheVirtualDrives
parameterdisplays
metadataaboutthedrive,suchasatheserialnumberandtypeofdrive.Forexample,
ThinAppdetectsthephysicalC:driveonthecapturesystemandentersitintotheparameterasaFIXEDtype
ofdrivewiththeserialnumber.
TheVirtualDrivesparameterincludesthefollowinginformation:
DriveSinglecharacterbetweenAandZ.
Serial8digithexnumber.