4.6

Table Of Contents
ThinApp User’s Guide
54 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 93.
Update Firefox 2.0.0.3 to Firefox 3
1CaptureFirefox2.0.0.3and
Firefox3intoseparatepackages.
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.
YoumustuncommenttheAppSyncURLparametertoenablethe
utility.
c Changethevalueoftheparametersandsavethefile.
Forexample,youcancopyanexecutablefileofthelatestFirefoxversiontoamappednetworkdrive
andtypeapathtothatlocationasthevalueoftheAppSyncURLparameter.IfZ:isthemappeddrive
andFirefox
isthenameofthedirectorythatstorestheexecutablefile,asamplepathis
file:///Z:/Firefox/Firefox.exe.
MakesurethattheAppSyncURLpathisthesameinbothPackage.inifilesandpointstotheupdated
version.
4Inthecapturedapplicationfolder,doubleclickthebuild.batfiletorebuildtheapplicationpackage.
Forexample,
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,ThinAppdownloadsthe
updateinthebackgroundasyouworkwiththe
application.Thenexttimeyoustarttheapplication,youcanseetheupdatedversion.
Whenyoustarttheapplicationafterthepackageexpires,ThinAppdownloadstheupdateinthe
foregroundandpreventsyoufromworkingwiththeapplication.Whenthedownloadis
ready,ThinApp
restartstheapplicationwiththenewversion.
Fix an Incorrect Update with Application Sync
IfyouhavemultipleApplicationSyncdownloadupdates,suchasmultipleMicrosoftOfficeupdates,anda
certainupdatehasanadverseaffectorneedstobewithdrawn,youcanaddresstheproblem.
Fix an incorrect update
PlacethecorrectupdateontheserverthatThinAppcanaccess.
Theupdateisappliedthenexttimethe
applicationisstartedonaclientmachine.