Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
Description
A message in the log of ReactOS caught my attention:
(dll/win32/userenv/environment.c:87) GetShortPathNameW() failed for C:\Documents and Settings\Administrator\Local Settings\Temp (Error 3)
This message appears several time and it shows a quite critical error that seems to make lot of things fail.
I have installed ReactOS and I selected ITALIAN language.
With ITALIAN, the TEMP directory should point to:
C:\Documents and Settings\Administrator\Impostazioni Locali\Temp
and NOT to:
C:\Documents and Settings\Administrator\Local Settings\Temp
(See ReactOS_0.png)
If you open the registry and look into the Environment, you will see that actually the TEMP and TMP are pointing to a directory that does not exist.
(See ReactOS_1.png)
I gave a look into dll/win32/userenv/setup.c, but the error is not here.
Here there is this line:
,
but as you can see, both 'bShellFolder' and 'bUserShellFolder' members of the structure are FALSE, so these wrong keys in the registry are set by someone else.
It's interesting to notice that CMD does not also use the correct path:
(See ReactOS_2.png)
Manually fixing the keys in the registry to the correct path, it fixes lot of troubles when the path is different than the English default, especially installer failures. The CMD also points to the correct TEMP path after you change those keys with regedit.
This is a bit blocker bug, friends.
Attachments
Issue Links
- blocks
-
CORE-12471 Installation of VBOX Guest Additions in ReactOS fails if it's compiled in single language mode.
- Resolved
- relates to
-
CORE-9656 [unattended setup] serious path localization issue
- Resolved