ThinApp User’s Guide
78 VMware, Inc.
Examples
YoucanmodifytheSandboxCOMObjectsparametertomakevisibletheCOMobjectsthatthevirtual
applicationregistersoutsidethesandbox.Forexample,ifyouinstallnativeMicrosoftOffice2003andvirtual
MicrosoftOffice2007,andyourunacustommailmergeprograminthenativeenvironmentthatstarts
MicrosoftWordand
instructsittoopen,change,andsaveadocument,youcangenerateMicrosoftWord2007
documentswhenvirtualMicrosoftWordisrunning.ThenativeapplicationcanaccessCOMobjectsfromthe
virtualapplication.
SandboxCOMObjects=0
VirtualizeExternalOutOfProcessCOM
TheVirtualizeExternalOutOfProcessCOMparametercontrolswhetherout‐of‐processCOMobjectscan
runinthevirtualenvironment.COMobjectsthatareexternaltothevirtualenvironmentalwaysruninthe
physicalenvironment.
Thisparameteraddressedout‐of‐processCOMobjectsthatarenotpartofaThinApppackageandarenot
registered
inthevirtualregistry.ThinAppsetsaninitialvalueoftheVirtualizeExternalOutOfProcessCOM
parametertorunexternalout‐of‐processCOMobjectsinthevirtualenvironmenttoensurethatCOMobjects
cannotmodifythehostcomputer. IfacompatibilityproblemexistswithanexternalCOMobjectrunningin
thevirtualenvironment,you
cancreateandrunCOMobjectsonthehostsystem.TorunonlyspecificCOM
objectsoutsideofthevirtualenvironment,youcanusetheExternalCOMObjectsparametertolisttheCLSID
ofeachCOMobject.
Examples
YoucanmodifytheVirtualizeExternalOutOfProcessCOMparametertorunallexternalout‐of‐process
COMobjectsinthephysicalenvironmentratherthanthevirtualenvironment.Forexample,youmightuse
virtualMicrosoftAccess2003tosendemailthroughanativeIBMLotusNotessession.
[BuildOptions]
VirtualizeExternalOutOfProcessCOM=0
Configuring File Storage
YoucanmodifyThinAppparameterstoconfigurefilestorageandsetupvirtualdrives.
Forinformationaboutstoragerelatedtosandboxconfiguration,see“ConfiguringSandboxStorageand
InventoryNames”onpage 100.
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.