4.0.4

Table Of Contents
ThinApp User’s Guide
44 VMware, Inc.
Affecting Isolation Modes with Application Link
ThinApploadsanApplicationLinklayerduringapplicationstartupandmergesregistryentriesandfile
systemdirectories.IfThinAppfindsaregistrysubkeyorfilesystemdirectorythatdidnotpreviouslyexistin
themainpackageorlayerthatisalreadymerged,ThinAppusestheisolationmodespecifiedinthelayer
being
loaded.If theregistrysubkeyorfilesystemdirectoryexistsinthemainpackageandalayerthatisalready
merged,ThinAppusesthemostrestrictiveisolationmodespecifiedinanyofthelayersormainpackage.
The orderofmostrestrictivetoleastrestrictiveisolationmodesisFull,WriteCopy,and
Merged.
PermittedGroups Effect on Linked Packages
IfyoulinktwoapplicationsandyouspecifyavalueforthePermittedGroupsparameter,theuseraccount
usedforstartingtheapplicationmustbeamemberofatleastoneoftheActiveDirectorygroupsforthis
parameterinthePackage.inifilesofbothapplications.ForinformationaboutthePermittedGroups
parameter,
see“ConfiguringPermissionsandSecurity”onpage 66.
Sandbox Changes for Standalone and Linked Packages
Sandboxchangesfromlinkedpackagesarenotvisibletothebaseexecutablefile.Forexample,youcaninstall
AcrobatReaderasastandalonevirtualpackageandasalinkedpackagetothebaseFirefoxapplication.When
youstartAcrobatReaderasastandaloneapplicationbyrunningthevirtualpackageandyou
makechanges
tothepreferences,ThinAppstoresthechangesinthesandboxforAcrobatReader.WhenyoustartFirefox,
FirefoxcannotdetectthosechangesbecauseFirefoxhasitsownsandbox.Openinga.pdffilewithFirefoxdoes
notreflectthepreferencechangesthatexistinthestandaloneAcrobatReaderapplication.
Import Order for Linked Packages
ThinAppimportslinkedapplicationsaccordingtotheorderofapplicationsintheRequiredAppLinksor
OptionalAppLinksparameter.Ifeitherparameterspecifiesawildcardcharacterthattriggerstheimportof
morethanonefile,alphabeticalorderdetermineswhichpackageisimportedfirst.
TheOptionalAppLinksparametermightappearasOptionalAppLinks=a.exe;b.exe;plugins\*.exe.
Usinga.exeandb.exe
assampleexecutablefiles,ThinAppimportslinkedpackagesinthefollowingorder:
Baseapplication
a.exe
b.exe
Pluginsloadedinalphabeticalorder
Nestedpluginsfora.exe
Nestedpluginsforb.exe
Nestedpluginsforthefirstsetofpluginsinthislist
Forinformationaboutnestedlinks,see“SetupNestedLinkswithApplicationLink”onpage 43.
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
lastimportedpackageanddisregardstheotherscript.