4.5

Table Of Contents
ThinApp User’s Guide
44 VMware, Inc.
Update Firefox 2.0.0.3 to Firefox 3 with Application Sync
ThisexampleshowstheApplicationSyncupdateprocessforFirefox.
TheupdateprocessinvolvesmodifyingthePackage.inifile.The AppSyncURLparameterrequiresaURL
path.ThinAppsupportsHTTP,HTTPS,andfileprotocols.ForinformationaboutallApplicationSync
parameters,see“ConfiguringApplicationUpdateswithApplicationSync”onpage 83.
To update Firefox 2.0.0.3 to Firefox 3
1CaptureFirefox2.0.0.3
andFirefox3intoseparatepackages.
2Verifythattheprimarydatacontainernameisthesameforbothpackages.
Theprimarydatacontainer,determinedduringthesetupcaptureprocess,isthefilethatcontainsthevirtual
filesystemandvirtualregistry.IfyouhaveaFirefox2.0.0.3packagethathasMozilla Firefox 2.0.0.3.exe
as
thenameoftheprimarydatacontainer,andyouhaveaFirefox3packagethathasMozilla Firefox 3.dat
asthenameoftheprimarydatacontainer,changethenameintheShortcutparametertoacommon
name.Forexample,youcanuseFirefox.exeasaname.
3ModifythePackage.inifileineach
package.
aOpenthePackage.inifilelocatedinthecapturedapplicationfolder.
Forexample,aFirefox2.0.0.3pathtothePackage.inifilemightbeC:\Program
Files\VMware\VMware ThinApp\Captures\Mozilla Firefox 2.0.0.3\Package.ini.
b UncommenttheApplicationSyncparametersyouwanttoeditbyremovingthesemicolonatthe
beginningoftheline.
YoumustuncommenttheAppSyncURLparametertoenable
theutility.
c Changethevalueoftheparametersandsavethefile.
Forexample,youcancopyanexecutablefileofthelatestFirefoxversiontoamappednetworkdrive
andtypeapathtothatlocationasthevalueoftheAppSyncURLparameter.IfZ:isthemappeddrive
andFirefox
isthenameofthedirectorythatstorestheexecutablefile,asamplepathis
file:///Z:/Firefox/Firefox.exe.
MakesurethattheAppSyncURLpathisthesameinbothPackage.inifilesandpointstotheupdated
version.
4Inthecapturedapplicationfolder,doubleclickthebuild.batfiletorebuildtheapplicationpackage.
For
example,aFirefox2.0.0.3pathtothebuild.batfilemightbeC:\Program Files\VMware\VMware
ThinApp\Captures\Mozilla Firefox 2.0.0.3\build.bat.
5ToupdateFirefox2.0.0.3toFirefox3,starttheexecutablefile,suchasMozilla Firefox 2.0.0.3.exe,
inthe\bindirectory.
WhenyoustarttheapplicationbeforetheexpirationtimesetintheAppSyncExpirePeriodparameterof
thePackage.inifile,ThinAppdownloads
theupdateinthebackgroundasyouworkwiththe
application.Thenexttimeyoustarttheapplication,youcanseetheupdatedversion.
Whenyoustarttheapplicationafterthepackageexpires,ThinAppdownloadstheupdateinthe
foregroundandpreventsyoufromworkingwiththeapplication.Whenthedownload
isready,ThinApp
restartstheapplicationwiththenewversion.
Fix an Incorrect Update with Application Sync
IfyouhavemultipleApplicationSyncdownloadupdates,suchasmultipleMicrosoftOfficeupdates,anda
certainupdatehasanadverseaffectorneedstobewithdrawn,youcanaddresstheproblem.
To fix an incorrect update
PlacethecorrectupdateontheserverthatThinAppcanaccess.
Theupdateisappliedthenexttimethe
applicationisstartedonaclientmachine.