Alex Villacís Lasso a_villacis@palosanto.com writes:
Changelog:
- if windir or winsysdir environment vars are undefined, pull values
from config file before falling to hardcoded values
This of course defeats the whole purpose of the use of environment variables, which is to get rid of the config file. If the environment variables are not set it's because the user's config is wrong, they should be set in HKLM\System\CurrentControlSet\Control\SessionManager or (preferably) in HKCU\Environment. The code is supposed to migrate them automatically, but this may not always work if the registry already contains other values, in which case it needs to be fixed by hand. Going back to the config file is definitely not the right way.