ThinApp User’s Guide
80 VMware, Inc.
TheVirtualDrivesparameterincludesthefollowinginformation:
Drive–SinglecharacterbetweenAandZ.
Serial–8digithexnumber.
Type–FIXED,REMOVABLE,CD‐ROM,orRAMDISK.
FIXED–Indicatesfixedmedia.
Forexample,aharddriveorinternalFlashdrive.
REMOVABLE–Indicatesremovablemedia.
Forexample,adiskdrive,thumbdrive,orflashcardreader.
CD‐ROM–IndicatesaCD‐ROMdrive.
RAMDISK—IndicatesaRAMdisk.
Virtualdrivesareusefulwhenapplicationsrelyonhard‐codedpathstodrivelettersthatmightnotbe
availableonthedeploymentsystems.Forexample,legacyapplicationsmightexpectthattheD:driveisa
CD‐ROMandthatthedatafilesareavailableatD:\media.
Virtualdrivesettingsoverridethephysicalpropertiesofthedriveonthephysicaldeploymentsystem.Ifthe
VirtualDrivesparameterdefinesadrivetypeasCD‐ROM,andthephysicaldriveisaharddisk,the
applicationonthedeploymentsystemdetectsthatdriveasaCD‐ROMdrive.
Isolation Modes for Virtual Drives
Virtualdrivesarevisibleonlytoapplicationsrunninginthevirtualenvironment.Virtualdrivesdonotaffect
thephysicalWindowsenvironment.Virtualdrivesinheritisolationmodesfromthedefaultisolationmodeof
theprojectunlessyouoverridethemodewitha##Attributes.inifileinthedrivefolderwithintheproject
directory.
Ifyoucopyfilestothe%drive_D%folderbeforebuildingtheapplication,youcanuseFullisolationmodefor
thisdrive.Theapplicationalwaysreadsfromthevirtualdriveanddoesnottrytoreadfromany
correspondingphysicalCD‐ROMdriveonthedeploymentsystem.
Ifyoudonotcopy
filestothe%drive_D%folderbeforebuildingtheapplication,youcanuseMergedor
WriteCopyisolationmodesforvirtualdrivefoldersdependingonwhetheryouwanttoreadfromandwrite
tothephysicaldriveonthedeploymentsystem.
IfyouassignMergedisolationmodetoyourvirtualdrive,anywrite
operationstothatdrivefailifthatdrive
doesnotexistonthephysicaldeploymentsystem.ThinAppdoesnotdirectchangestothesandboxbecause
MergedisolationmodeinstructsThinApptowritetothephysicaldrive.Whentheapplicationcannotwriteto
thephysicaldriveasdirected,thewriteoperations
fail.
TheVirtualDrivesparameterdoesnotoverrideisolationmodesettings.Avirtualapplicationmightnot
detectfilesonaphysicaldrivebecauseofisolationmodesettings.
Modify Virtual Drive Isolation Modes
Youmightmodifyisolationmodesforvirtualdriveswhenyouwanttooverridethedefaultisolationmodeof
theproject.
Modify virtual drive isolation modes
1Addthe%Drive_<letter>%directorytoyourThinAppproject.
2 Createa##Attributes.inifilethatincludesanisolationmodeentryforthedriveletter.
[Isolation]
DirectoryIsolationMode=<isolation_mode>
3Placethe##Attributes.inifileinthe%Drive_<letter>%directory.