I took the Pharo 1.3 one-click package from Pharo-project then I
replaced the image with a Pharo 1.4 image.
It looks like the code from DosFileDirectory>>preferencesRootPath is
broken or the the used VM does not return the expected value (Smalltalk
vm getSystemAttribute: 1002)
I tested with the COG VM for Windows from Pharo web site, the problem is
the same.
Fix may be easy but I don't know exactly the extent of the problem.
I have tested under Wine as I don't have windows.
Hilaire
preferencesRootPath
| list rootPath osMajorVer |
"First try to adhere to hardcoded Microsoft conventions - though we
really should be reading environment variables since %SYSTEMDRIVE% might
not be C: "
"Windows OS Version numbers from
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx"
osMajorVer := Smalltalk os osVersion first.
osMajorVer = $5 ifTrue: [ rootPath := 'C:\Documents and Settings\All
Users\Pharo\'].
osMajorVer = $6 ifTrue: [ rootPath := 'C:\ProgramData\Pharo\'].
--
Dr. Geo -- http://www.drgeo.eu