Closed mastersign closed 8 years ago
The reason is the following:
When activating the configuration property RegisterInUserProfile
the variables BENCH_APPS
and BENCH_PATH
are set. BENCH_APPS
contains the root path of the Bench lib
directory and this variable is set as a simple string entry in the registry. BENCH_PATH
however, is set as an expanded string entry in the registry, and it refers to BENCH_APP
as path in front of every apps path directory. BENCH_PATH
is then refered by the expanded string entry PATH
.
It seems, that explorer.exe
does not resolve expanded string entries in the registry recursively.
A solution would be to use simple string entries for all environment variables, despite PATH
itself.
When using the configuration property
RegisterInUserProfile
, shells started as children ofexplorer.exe
do not have the Bench apps on thierPATH
. (not even after an logoff-login-cycle)