4.6.1

Table Of Contents
ThinApp User’s Guide
60 VMware, Inc.
File and Registry Collisions in Linked Packages
Ifthebaseapplicationandadependentpackagelinkedtothebaseapplicationcontainfileorregistryentries
atthesamelocation,acollisionoccurs.Whenthishappens,theorderofimportoperationsdetermineswhich
packagehaspriority.Thelastpackageimportedhaspriorityinsuchcasesandthefileorregistrycontentsfro
m
thatpackagearevisibletotherunningapplications.
VBScript Collisions in Linked Packages
VBScriptnamecollisionsmightpreventscriptsinotherimportedpackagesfromrunning.Ifyoulinkpackages
withApplicationLinkandthosepackageshavescriptswiththesamename,ThinAppplacestheVBScripts
fromthelinkedpackagesintoasinglepool.Forscriptswiththesamename,ThinApprunsthescriptfromthe
las
timportedpackageanddisregardstheotherscript.
Forexample,abasepackagemightcontainthea.vbs andb.vbsfilesandadependentpackagemightcontain
theb.vbsandc.vbsfiles.Becauseafilenamecollisionexistsbetweentheb.vbsfiles,theVBScriptinthelast
importedpackagespecifiedinaRequiredAppLinksorOptiona
lAppLinksparameteroverridesany
previouslyimportedscriptswiththesamename.Inthiscase,ThinAppcondensesthepooloffour.vbsfiles
intoasinglepoolwiththea.vbsfilefromthebasepackageandb.vbsandc.vbsfilesfromthedependent
package.
VBScript Function Order in Linked Packages
InapoolofVBScriptsforpackageslinkedwithApplicationLink,functionsinthemainbodiesofthescripts
runinalphabeticalorderofthescriptnames.ThinAppcallbackfunctionsinthescriptsruninreverse
alphabeticalorderofthescriptnamesinthepool.
Storing Multiple Versions of a Linked Application in the Same Directory
Ifthedirectoryholdsalinkedpackage,andyouaddanupdatedversionofthelinkedpackageinthesame
directory,theApplicationLinkutilitydetectsandusestheupdatedversion.
Using Application Sync for a Base Application and Linked Packages
IfyouuseApplicationLinktolinkpackagestoabasepackage,andyoustartthebasepackage,Application
Synccanupdateonlythebasepackage.Forexample,ifyoubuildaMicrosoftOffice2007packagewith
ApplicationSyncentriesinthePackage.inifile,buildanAdobeReaderpackagewithApplicationSy
nc
entriesinthePackage.inifile,useApplicationLinktolinkthetwopackages,andstartMicrosoftOffice2007,
ApplicationSynconlyupdatesMicrosoftOffice2007.YoucanupdatebothMicrosoftOffice2007andAdobe
Readerbystartingeachapplicationseparately.
Ifyoudonotupdatealltheapplicationsandlinkaba
seapplicationtoanexpiredplugin,thebaseapplication
canstillloadandusetheplugin.
Application Updates That the Administrator Triggers
ThinAppprovidestheAppSync.exeandsbmerge.exeutilitiesforadministrators.
TheAppSync.exeutilityforcesanApplicationSyncupdateonaclientmachine.
Thesbmerge.exeutilitymakeincrementalupdatestoapplications.Forexample,anadministratormightuse
theutilitytoincorporateapluginforFirefoxortochangethehomepageofaWe
bsitetopointtoadifferent
defaultsite.