5.0

Table Of Contents
VMware, Inc. 57
Chapter 4 Updating and Linking Applications
Forcing an Application Sync Update on Client Machines
YoucanusetheAppSynccommandtoforceanApplicationSyncupdateonaclientmachine.Youmightwant
toupdateapackagestoredinalocationwherestandardusersdonothavewriteaccess.Inthissituation,you
cannotuseApplicationSyncparameterstocheckforupdateswhenanapplication
startsbecauseusersdonot
havetherequiredrightstoupdatethepackage.YoucanscheduleadailyAppSync.exerununderanaccount
withsufficientprivileges.TheApplicationSyncparameters,suchasAppSyncUpdateFrequency,inthe
Package.inifiledonotaffecttheAppSynccommand.
ToforceanApplicationSyncupdate,use
theAppSync <Application_Sync_URL>
<executable_file_path>command.ThevalueoftheURListhesameastheApplicationSyncURLinthe
Package.inifileandtheexecutablefilepathisthepathtotheexecutablefilethatrequirestheupdate.
Updating Applications with Runtime Changes
Thesbmerge.exeutilitymergesruntimechangesrecordedintheapplicationsandboxbackintoaThinApp
project.Atypicalworkflowforthisutilityinvolvesthefollowingtasks:
Capturinganapplication.
Buildingtheapplicationwiththebuild.batfile.
Runningacapturedapplicationandcustomizingthesettingsandvirtualenvironment.ThinAppstores
thechangesinthesandbox.
Runningthesbmerge.exeutilitytomergeregistryandfilesystemchangesfromthesandboxintothe
ThinAppproject.
Rebuildingthecapturedapplicationwiththebuild.batfile
Deployingtheupdatedapplication.
Merge Sandbox Changes with Firefox
Thisprocedureforthesbmerge.exeutilityusesFirefox2.0.0.3asanexampleofacapturedapplication.
Merge sandbox changes with Firefox 2.0.0.3
1CaptureFirefox2.0.0.3.
2Doubleclickthebuild.batfileinthecapturedapplicationfoldertorebuildtheapplicationpackage.
Forexample,aFirefox2.0.0.3pathtothebuild.batfilemightbeC:\Program Files\VMware\VMware
ThinApp\Captures\Mozilla Firefox 2.0.0.3\build.bat.
3 CreateaThinstalldirectory
inthebindirectoryforthesandboxlocation.
4StartFirefoxandmakeachangetothesettings.
Forexample,changethehomepage.
5Fromthecommandline,navigatetothedirectorywheretheThinAppprojectfolderresides.
Forexample,navigatetoC:\Program Files\VMware\VMware ThinApp\Captures\Mozilla
Firefox 2.0.0.3.
6Fromthecommandline,typethe"C:\Program Files\VMware\VMware ThinApp\sbmerge" Print
command.
ThinAppprints
thechangesthataffectedthesandboxfolderwhenusingthecapturedapplication.
7Fromthecommandline,typethe"C:\Program Files\VMware\VMware ThinApp\sbmerge" Apply
command.
ThinAppemptiestheThinstallfolderandmergesthesandboxchangeswiththeapplication.