> Wine's registry is stored per user Windows registry is stored per machine.
???
Windows: the HKLM is per machine, the HKCU is per user. (NT and a properly configured 
win95)
Wine:
- the windows registrys are loaded from the windows directory (HKCU depending on the 
user name)
- the wine registrys are completely configurable


> The following example will show some of the ramifications of this accident of Wine's 
>current implementation. 
> A common setup in schools (elementary through university level) is a computer lab 
>where
> people can log on to any machine and their home directory is mounted from a file 
>server.
And? Why not putting the user.reg on the users home drive on the network server?

> In this situation the machine name in the registry should _not_ be constant because 
>they may be logged in to 
machine foo one hour and bar the next.
The computername in the registry is set at every start of wine, isn't it?

> This suggests that the registry storage could be split up yet further to handle 
>machine specific and static entries.  GACK.
I think the current implemantation can handle this. We have already a couple of 
registry files loaded on after
another with configurable paths. 

; alternate registry file name: HKCU
AltCurrentUserFile=
; alternate registry file name: HKU
AltUserFile=
; alternate registry file name: HKLM
AltLocalMachineFile=
; Global registries (stored in /usr/local/etc)
LoadGlobalRegistryFiles=Y
; Home registries (stored in ~user/.wine/)
LoadHomeRegistryFiles=Y
; Load above registries.
LoadAltRegistryFiles=Y
; TRY to write all changes to home registries
WritetoHomeRegistryFiles=Y
; TRY to write all changes to alt registries
WritetoAltRegistryFiles=Y

These are already 3 sets of files. What can't you handle with this?


> The .winerc file (or our per Corel application version) suffers from the same 
>problems because mount points are 
not reuired to be common across machines or even distributions :(
Then use LoadHomeRegistryFiles=Y and put the stuff into $HOME.


juergen

---
[EMAIL PROTECTED]

... from sunny Berlin

Reply via email to