4.6

Table Of Contents
VMware, Inc. 69
Chapter 5 Configuring Package Parameters
WithFullisolationmode,ThinAppblocksvisibilitytosystemelementsoutsidethevirtualapplication
package.Thismoderestrictsanychangestofilesorregistrykeystothesandboxandensuresthatno
interactionexistswiththeenvironmentoutsidethevirtualapplicationpackage.Fullisolationprevents
applicationconflictbetweenthevirtualapplication
andapplicationsinstalledonthephysicalsystem.Donot
usetheFullisolationmodeinthePackage.inifilebecausethatmodeblockstheabilitytodetectandload
systemDLLs.YoucanuseFullisolationmodeasanoverridemechanisminthe##Attributes.inifiles.
ThinAppcachestheisolationmodesforthe
registryandthefilesystematruntimeinthesandbox.Ifyou
changetheisolationmodefortheprojectandrebuildtheexecutablefile,youmightdeletethesandboxforthe
changetotakeeffect.
Formoreinformationaboutthedefinitionsandeffectofisolationmodes,see“DefiningIsolationModesfor
thePhysicalFileSystem”onpage 18.
Examples
YoucanmodifytheDirectoryIsolationModeparameterwithWriteCopyisolationtoensurethatthe
applicationcanreadresourcesonthelocalmachine,butnotwritetothehostcomputer.Thisisthedefault
settingforthesnapshot.exeutility.Youmustplacetheparameterunderan[Isolation]heading.
[Isolation]
DirectoryIsolationMode=WriteCopy
YoucanassignMergedisolationmodetoensurethattheapplicationcanreadresourcesonandwritetoany
locationonthecomputerexceptwherethepackagespecifiesotherwise.ThisisthedefaultsettingfortheSetup
Capturewizard.
[Isolation]
DirectoryIsolationMode=Merged
RegistryIsolationMode
TheRegistryIsolationModeparametercontrolstheisolationmodeforregistrykeysinthepackage.This
settingappliestotheregistrykeysthatdonothaveexplicitsettings.
Thecaptureprocessdoesnotsetthevalueofthisparameter.Youcanconfiguretheregistryisolationmode
onlyinthePackage.inifile.ThinAppsets
theinitialregistryisolationmodetoWriteCopy.Forinformation
aboutisolationmodeoptions,see“DirectoryIsolationMode”onpage 68.
DonotusetheFullisolationmodeinthePackage.inifilebecausethatmodeblockstheabilitytodetectand
loadsystemDLLs.YoucanuseFullisolationmodeasanoverridemechanism.You
canplaceexceptionstothe
configuredRegistryIsolationModeparameterintheregistrykeytextfilesintheprojectdirectory.An
exceptionmightappearinafile,suchasHKEY_CURRENT_USER.txt,asisolation_full
HKEY_CURRENT_USER\Software\Macromedia.
Allruntimemodificationstovirtualfilesinthecapturedapplicationarestoredinthesandbox,regardlessof
theisolationmode
setting.Atruntime,virtualandphysicalregistryfilesareindistinguishabletoan
application,butvirtualregistryfilesalwayssupersedephysicalregistryfileswhenbothexistinthesame
location.Ifvirtualandphysicalentriesexistatthesamelocation,isolationmodesdonotaffectaccesstothese
entriesbecausethe
applicationalwaysinteractswithvirtualelements.
Ifexternalgrouppolicyupdatesoccurseparatelyfromthepackagethroughthephysicalregistry,youmight
removevirtualregistryfilesfromapackageandverifythattheparentfileofthesevirtualregistryfilesdoes
notuseFullisolation.Becausechildfilesinheritisolationmodes
fromparentelements,Fullisolationina
parentfilecanblockthevisibilityofphysicalchildfilestoanapplication.
Examples
YoucanmodifytheRegistryIsolationModeparametertoensurethattheapplicationcanreadkeysfromthe
hostcomputer,butnotwritetothehostcomputer.
[Isolation]
RegistryIsolationMode=WriteCopy