4.0.4

Table Of Contents
ThinApp User’s Guide
48 VMware, Inc.
Youcanupdatethepackageonacentralcomputerandpushthechangestoclientmachinesorcentralnetwork
sharesasanewcapturedexecutablefile.Useoneofthefollowingoptionsforapplyingupdates:
Duringthesetupcaptureprocess.
Insidethevirtualenvironment.
Applicationswithautoupdatecapabilitiescanundergoupdates.Iftheupdateisapatch.exefile,the
patchprogramcanruninthevirtualenvironmentandrunfromacmd.exefileentrypoint.Changesoccur
inthesandboxduringautomaticupdatesormanualupdatestoallowyouto
reverttotheoriginalversion
bydeletingthesandbox.
Ifyouapplypatchesinthevirtualenvironmentonacentralpackagingmachine,youcanusethe
sbmerge.exeutilitytomergesandboxchangesmadebytheupdatewiththeapplication.See
ApplicationUpdatesThattheAdministratorTriggersonpage 45.
Inthecapturedproject.
Ifyoumustupdateasmallsetoffilesorregistrykeys,replacethefilesinthecapturedproject.
This approachisusefulforsoftwaredeveloperswhointegrateThinAppbuildswiththeirworkflow.
Upgrading Running Applications on a Network Share
ThinAppallowsyoutoupgradeorrollbackanapplicationthatisrunningonanetworkshareformultiple
users.Theupgradeprocessoccurswhentheuserquitstheapplicationandstartsitasecondtime.InTerminal
Serverenvironments,youcanhavemultipleusersexecutingdifferentversionsatthesame
timeduringthe
transitionperiod.
File Locks
Startinganapplicationlockstheexecutablefilepackage.Youcannotreplace,delete,ormovetheapplication.
Thisfilelockensuresthatanycomputeroruserwhoaccessesaspecificversionofanapplicationcontinuesto
havethatversionavailableaslongastheapplicationprocessesandsubprocessesarerunning.
Ifyou
storeanapplicationinacentrallocationformanyusers,thisfilelockpreventsadministratorsfrom
replacingapackagedexecutablefilewithanewversionuntilallusersexittheapplicationandreleasetheir
locks.
Upgrade a Running Application
Youcancopyanewversionofanapplicationintoanexistingdeploymentdirectorywithahigherfilename
extension,suchas.1or.2.ThisprocedureusesFirefoxasasampleapplication.
Youdonotneedtoupdateshortcuts.
To upgrade a running application
1Deploytheoriginalversionoftheapplication,suchasFirefox.exe.
2Copythe
applicationtoacentralshareat\\<server>\<share>\Firefox.exe.
AsamplelocationisC:\Program Files\Firefox\Firefox.exe.
3 CreateadesktoporStartmenushortcuttotheusersdesktopthatpointstoasharedexecutablefile
locationat\\<server>\<share>\Firefox.exe.
AssumetwousersstartFirefox.exeandlocktheapplication.
4CopytheupdatedversionofFirefox.exetothecentralshareat\\<server>\<share>\Firefox.1.
Ifyouareanewuser,ThinApplaunchestheapplicationwiththenewpackagedatainFirefox.1.Ifyou
areauserworkingwiththeoriginalversion,youcanseethenewversionafteryouexittheapplication
andrestarttheapplication.