DirectoryIsolationMode
Previous  Top  Next

DirectoryIsolationMode - Controls default isolation mode for directories in package

DirectoryIsolationMode controls the default isolation mode for the package. This setting will apply to any directories that do not have an explicitly specified setting.

For example, consider a package that looks like the following:

ThinstallProject
   Package.ini
   %ProgramFilesDir%\MyApp\##Attributes.ini

Here Package.ini sets the default isolation mode for the project, but individual ##Attributes.ini may change the isolation mode for specific directories and their children. Any directories that have not been specified, such as C:\myfolder will inherit the isolation mode from the package.ini file. Directories that are created under C:\Program Files\myapp will inherit the isolation mode from the ##Attributes.ini file.

Examples

WriteCopy isolation allows the application to read from the host PC but not write to it (default) 
[Isolation]  
DirectoryIsolationMode=WriteCopy  
 
Merged isolation allows the application to write to any location on the PC, except where the package specifies otherwise 
[Isolation]  
DirectoryIsolationMode=Merged