4.0.4

Table Of Contents
ThinApp User’s Guide
64 VMware, Inc.
Whenyouspecifyanenvironmentvariable,thevaluereturnedisthevalueoftheenvironmentvariable.Ifthe
valueoftheVirtualComputerNameparameteris%VCOMPNAME%,andthe%VCOMPNAME%
environmentvariableissettoEnvCompName,theGetComputerNameAPIreturnsEnvCompName.
Wow64
TheWow64parametersimulatesa32bitenvironmentfor32bitapplicationsthatcannotrunona64bit
Windowsoperatingsystem.Ifa32bitapplicationtriestohandleitsown64bitregistryredirection,youcan
enablethisparameterbeforebuildingaproject.
Examples
YoucanleavetheparametercommentedouttopreventWindowsonWindows64bit(WOW64)emulation.
[BuildOptions]
;Wow64=0
Youcansimulatea32bitenvironmentfor32bitapplicationsona64bitoperatingsystem.Forexample,a
virtualized32bitOracleapplicationmightnotworkona64bitoperatingsystem.
[BuildOptions]
Wow64=0
Configuring File System and Registry Isolation
Isolationmodeparametersdeterminethewriteaccesstothefilesystemandregistrykeys.
DirectoryIsolationMode
TheDirectoryIsolationModeparameterspecifiesthelevelofwriteaccessfordirectoriestothephysicalfile
system.ThinAppprovidestheMerged,WriteCopy,andFullisolationmodes.Thisparametercontrolsthe
defaultisolationmodeforapplicationpackagedirectoriesthatdonothavespecificsettings.Thedefaultsetting
dependsontheapplicationcaptureprocess.
ThePackage.inifilesetsthedefaultisolationmodefortheproject.Individual##Attributes.inifiles
overridethePackage.inifileandspecifytheisolationmodeforspecificdirectoriesandchilddirectories.
Any unspecifieddirectories,suchasC:\myfolder,inherittheisolationmodefromthePackage.inifile.
You mustaddthe[Isolation]headingbeforethisparameterentry.
Do
notusetheFullisolationmodeinthePackage.inifilebecausethatmodeblockstheabilitytodetectand
loadsystemDLLs.YoucanuseFullisolationmodeasanoverridemechanisminthe##Attributes.inifiles.
Forinformationaboutthedefinitionsandeffectofisolationmodes,see“SpecifyFileSystemAccess”
on
page 18.
Examples
WriteCopyisolationmodeallowstheapplicationtoreadresourcesonthelocalmachinebutnotwritetothe
hostcomputer.Thisisthedefaultsettingforthesnapshot.exeutility.
[Isolation]
DirectoryIsolationMode=WriteCopy
Mergedisolationmodeallowstheapplicationtoreadresourcesonandwritetoanylocationonthecomputer
exceptwherethepackagespecifiesotherwise.ThisisthedefaultsettingfortheSetupCapturewizard.
[Isolation]
DirectoryIsolationMode=Merged