4.5

Table Of Contents
ThinApp User’s Guide
124 VMware, Inc.
Thecmd.exeutilityobtainsthefirstlocationbycallingGetCurrentDirectoryWandthesecondlocation
bycallingGetFullPathNameWwithʺ.ʺasthepathspecifies.Thesecallsreturnthepathforthecurrent
workingdirectory.Thelogfileshowsthatthecmd.exeutilitycreatestheC:\test\cmd_test\bin>
prompt.TheutilityqueriesthePROMPTenvironment
variablethatreturns$P$Gandusesthe
WriteConsoleWAPIfunctiontoprinttheprompttothescreenafterinternallyexpanding$P$Gto
C:\test\cmd_test\bin>.
Troubleshooting Specific Applications
TroubleshootingtipsareavailableforcapturingMicrosoftOutlook,Explorer.exe,andJavaRuntime
Environment.
Troubleshoot Registry Setup for Microsoft Outlook
MicrosoftOutlookstoresaccountsettingsinregistrykeysandfiles.WhenyoustartMicrosoftOutlookforthe
firsttime,itchecksthatthekeysexist.IfMicrosoftOutlookcannotlocatethekeys,itpromptsyoutocreatea
newaccount.
ThisprocessworksproperlyinthevirtualenvironmentwhenMicrosoftOutlook
isnotinstalledonthe
physicalsystem.IftheuseralreadyhasMicrosoftOutlookinstalledonthephysicalsystem,thecaptured
versionfindstheregistrykeysinthesystemregistryandusesthosesettings.YoumustuseFullisolationmode
fortheregistrykeysandfileswhereMicrosoftOutlookstores
itssettings.
To set up Full isolation mode for Microsoft Outlook registry keys
1AddthefollowingentriestotheHKEY_CURRENT_USER.txtfile:
isolation_full HKEY_CURRENT_USER\Identities
isolation_full HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Windows Messaging Subsystem\Profiles
2 Createa##Attributes.inifilewiththefollowingentries:
[Isolation]
DirectoryIsolationMode=Full
3Placethe##Attributes.inifileineachofthe followingsubdirectories.
%AppData%\Microsoft\AddIns
%AppData%\Microsoft\Office
%AppData%\Microsoft\Outlook
%Local AppData%\Microsoft\FORMS
%Local AppData%\Microsoft\Outlook
4 (Optional)Ifthesubdirectoriesdonotexist,createthedirectories.
Viewing Attachments in Microsoft Outlook
MicrosoftOutlookcreatesadefaultdirectorytostoreattachmentswhenyouopenanattachmentforviewing.
ThetypicallocationisC:\Documents and Settings\<user_name>\Local Settings\Temp\Temporary
Internet Files\OLK<xxxx>.Thelastxxxxisreplacedbyarandomentry.
YoucanviewattachmentswhentheviewingapplicationrunsinthesamevirtualsandboxasMicrosoft
Outlook.Externalapplicationsmight
notbeabletofindthefiletodisplaybecauseMicrosoftOutlookstores
thefileinthesandbox.YoumustusetheMergedisolationmodeforthedirectorythatstorestheattachments.
To set up Merged isolation mode to view Microsoft Outlook attachments
1AddavaluetotheHKEY_CURRENT_USER.txtfilethatsetsthenameoftheattachmentdirectory:
isolation_full
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security
Value=OutlookSecureTempFolder
REG_SZ~%Profile%\Local Settings\OutlookTempxxxx#2300
Inthisexample,11.0inthekeynameisforMicrosoftOutlook2003.