5.0

Table Of Contents
ThinApp User’s Guide
56 VMware, Inc.
File and Registry Collisions in Linked Packages
Ifthebaseapplicationandadependentpackagelinkedtothebaseapplicationcontainfileorregistryentries
atthesamelocation,acollisionoccurs.Whenthishappens,theorderofimportoperationsdetermineswhich
packagehaspriority.Thelastpackageimportedhaspriorityinsuchcasesandthefileor
registrycontentsfrom
thatpackagearevisibletotherunningapplications.
VBScript Collisions in Linked Packages
VBScriptnamecollisionsmightpreventscriptsinotherimportedpackagesfromrunning.Ifyoulinkpackages
withApplicationLinkandthosepackageshavescriptswiththesamename,ThinAppplacestheVBScripts
fromthelinkedpackagesintoasinglepool.Forscriptswiththesamename,ThinApprunsthescriptfrom
the
lastimportedpackageanddisregardstheotherscripts.
Forexample,abasepackage mightcontainthea.vbs andb.vbsfilesandadependentpackagemightcontain
theb.vbsandc.vbsfiles.Becauseafilenamecollisionexistsbetweentheb.vbsfiles,theVBScriptinthelast
importedpackagespecifiedina
RequiredAppLinksorOptionalAppLinksparameteroverridesany
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,buildanAdobeReaderpackagewithApplication
Sync
entriesinthePackage.inifile,useApplicationLinktolinkthetwopackages,andstartMicrosoftOffice2007,
ApplicationSynconlyupdatesMicrosoftOffice2007.YoucanupdatebothMicrosoftOffice2007andAdobe
Readerbystartingeachapplicationseparately.
Ifyoudonotupdatealltheapplicationsandlink
abaseapplicationtoanexpiredplugin,thebaseapplication
canstillloadandusetheplugin.
Application Updates That the Administrator Triggers
ThinAppprovidestheAppSync.exeandsbmerge.exeutilitiesforadministrators.
TheAppSync.exeutilityforcesanApplicationSyncupdateonaclientmachine.
Thesbmerge.exeutilitymakeincrementalupdatestoapplications.Forexample,anadministratormightuse
theutilitytoincorporateapluginforFirefoxortochangethehomepageofa
Websitetopointtoadifferent
defaultsite.