4.0.4

Table Of Contents
ThinApp User’s Guide
84 VMware, Inc.
Configuring Dependent Applications with Application Link
TheApplicationLinkutilitykeepssharedcomponentsordependentapplicationsinseparatepackages.Inthe
Package.inifile,youcanusetheOptionalAppLinks and RequiredAppLinks entriestodynamically
combineThinApppackagesatruntimeonendusercomputers.Thisprocessenablesyoutopackage,deploy,
andupdatecomponentpiecesseparatelyandretainthebenefits
ofapplicationvirtualization.
ThinAppsupportslinkingupto250packagesatatime.Eachpackagecanbeanysize.
Sandboxchangesfromlinkedpackagesarenotvisibletothebasepackage.Forexample,youcaninstall
AcrobatReaderasastandalonevirtualpackageandasalinkedpackagetothebaseFirefoxapplication.When
youstartAcrobatReaderasastandaloneapplicationbyrunningthevirtualpackageandyoumakechanges
tothepreferences,ThinAppstoresthechangesinthesandboxforAcrobatReader.WhenyoustartFirefox,
FirefoxcannotdetectthosechangesbecauseFirefoxhasitsownsandbox.Openinga.pdf
filewithFirefoxdoes
notreflectthepreferencechangesthatexistinthestandaloneAcrobatReaderapplication.
FormoreinformationabouttheApplicationLinkutility,see“A p p l i c a t i o n LinkUpdates”onpage 41,
“OptionalAppLinks”onpage 85,and“RequiredAppLinks”onpage 84.
Application Link Path Name Formats
TheApplicationLinkutilitysupportsthefollowingpathnameformats:
Pathnamescanberelativetothebaseexecutablefile.Forexample,
RequiredAppLinks=..\SomeDirectoryresultsinc:\MyDir\SomeDirectorywhenyoudeploythe
baseexecutablefiletoc:\MyDir\SubDir\ Dependency.exe.
Pathnamescanbeabsolutepathnames.AnexampleisRequiredAppLinks=c:\SomeDirectory.
PathnamescanuseanetworkshareoraUNCpath.Anexampleis
RequiredAppLinks=\\share\somedir\Dependency.exe.
Pathnamescancontainenvironmentvariablesanddynamicallyexpandtoanyoftheprecedingpath
names.AnexampleisRequiredAppLinks=%MYAPP_ADDONS%\Dependency.exe.
Pathnamescanspecifymultiplelinksordependencieswithasemicolonthatseparatesindividual
filenames.AnexampleisRequiredAppLinks=Dependency1.exe; Dependency2.exe;.
RequiredAppLinks
TheRequiredAppLinksparameterspecifiesalistofrequiredpackagestoimporttothebasepackageat
runtime.YoucanconfigurethisparameterinthePackage.inifileofthebasepackage.
Iftheimportoperationforanydependentpackagefails,anerrormessageappearsandthebaseexecutablefile
exits.Youcan
usetheOptionalAppLinksparameterinsteadtocontinueevenwhenloaderrorsoccur.Ifyou
useawildcardpatterntospecifyapackageandfilesdonotmatchthewildcardpattern,ThinAppdoesnot
generateanerrormessage.
Importingpackagesinvolvesthefollowingoperations:
RunningVBScriptsfromimportedpackages
Startingautostartservicesfromimportedpackages
Registeringfontsfromimportedpackages
RelocatingSxSDLLfilesfromWindowsXPtoWindowsVista
Youmustcreatealinktotheprimarydatacontainerofapackage.Youcannotlinktoothershortcutpackages.