4.5

Table Of Contents
ThinApp User’s Guide
68 VMware, Inc.
Examples
YoucanmodifytheSandboxCOMObjectsparametertomakevisibletheCOMobjectsthatthevirtual
applicationregistersoutsidethesandbox.Forexample,ifyouinstallnativeMicrosoftOffice2003andvirtual
MicrosoftOffice2007,andyourunacustommailmergeprograminthenativeenvironmentthatstarts
MicrosoftWordand
instructsittoopen,change,andsaveadocument,youcangenerateMicrosoftWord2007
documentswhenvirtualMicrosoftWordisrunning.ThenativeapplicationcanaccessCOMobjectsfromthe
virtualapplication.
SandboxCOMObjects=0
VirtualizeExternalOutOfProcessCOM
TheVirtualizeExternalOutOfProcessCOMparametercontrolswhetheroutofprocessCOMobjectscan
runinthevirtualenvironment.COMobjectsthatareexternaltothevirtualenvironmentalwaysruninthe
physicalenvironment.
ThisparameteraddressedoutofprocessCOMobjectsthatarenotpartofaThinApppackageandarenot
registered
inthevirtualregistry.ThinAppsetsaninitialvalueoftheVirtualizeExternalOutOfProcessCOM
parametertorunexternaloutofprocessCOMobjectsinthevirtualenvironmenttoensurethatCOMobjects
cannotmodifythehostcomputer. IfacompatibilityproblemexistswithanexternalCOMobjectrunningin
thevirtualenvironment,you
cancreateandrunCOMobjectsonthehostsystem.TorunonlyspecificCOM
objectsoutsideofthevirtualenvironment,youcanusetheExternalCOMObjectsparametertolisttheCLSID
ofeachCOMobject.
Examples
YoucanmodifytheVirtualizeExternalOutOfProcessCOMparametertorunallexternaloutofprocess
COMobjectsinthephysicalenvironmentratherthanthevirtualenvironment.Forexample,youmightuse
virtualMicrosoftAccess2003tosendemailthroughanativeIBMLotusNotessession.
[BuildOptions]
VirtualizeExternalOutOfProcessCOM=0
Configuring File Storage
YoucanmodifyThinAppparameterstoconfigurefilestorageandsetupvirtualdrives.
Forinformationaboutstoragerelatedtosandboxconfiguration,see“ConfiguringSandboxStorageand
InventoryNames”onpage 90.
CachePath
TheCachePathparametersetsthedeploymentsystempathtoacachedirectoryforfontfilesandstub
executablefiles.
Becauseofthefrequentuseoffontandstubexecutablefiles,ThinAppmustextractfilesinthecachequickly
andplacethemonthephysicaldisk.Ifyoudeletethecache,ThinApp
canreconstructthecache.
YoucanusetheTHINSTALL_CACHE_DIRenvironmentvariabletooverridetheCachePathparameterat
runtime.IfyoudonotsettheTHINSTALL_CACHE_DIRenvironmentvariableortheCachePathparameter,
ThinAppsetsaninitialvalueoftheCachePathparameterbasedontheSandboxPathparameteraccordingto
thefollowingrules:
IftheSandboxPathparameterispresentinthePackage.inifileandusesarelativepath,theCachePath
parameterusesthesandboxpathandstoresthecacheatthesamedirectorylevelasthesandbox.
IftheSandboxPathparameterispresentinthePackage.inifileandusesanabsolutepath,orifthe
SandboxPathparameterdoesnotexistinthePackage.inifile,theCachePathparameterusesthe
%Local AppData%\Thinstall\Cachelocation.Thisplacesthecachedirectoryonthelocalmachine,
regardlessoftherethe usertravelswiththe
sandbox.ThinAppcreatesaStubsdirectorywithinthecache.