How to exclude or detach a process from the Container's redirection rules (Exclude Detach)
19/09/2018 Stuart Moore
Excludes
The Excludes feature is the preferred way to control the behaviour of the Container's redirection and virtualization engine, it will prevent child processes from being virtualized and redirected without affecting the virtualization of the parent processes.
This feature can be useful if the packaged application is spawning local processes, from locally installed applications, that you do not want redirected because the re-directions change the behaviour of the child processes.
- Open AppAcceleratorV.clc
- Add the executable name into the Exclude section.
<Excludes> <Exclude>Excel.exe</Exclude> <Exclude>Winword.exe</Exclude> </Excludes>
Detaches
The Detaches feature enables you to control the behaviour of the virtualization and redirection engine, after the application has started the virtualization engine will exit after the initial create process function has finished. All re-directions will and most virtualization features will be available to the parent process that was started. Detach can be helpful when child processes do not exit clearnly, and terminate with an exception.
- Open AppAcceleratorV.clc
- Add the executable name into the Detach section.
<Detaches> <Detach>Excel.exe</Detach> <Detach>Winword.exe</Detach> </Detaches>