Ove Kaaven wrote:
> On Fri, 21 Jul 2000, Juergen Schmied wrote:
>
> > Yes. The HKEY_USERS\.Default keys are _not_ default keys used in your way.
> > The hive is copyed once when you create a new user.
>
> Why is this feature of Windows so important to preserve? Isn't one desired
> purpose of Wine to be a *better* Windows than Windows? OK, granted, we can
> compare this behaviour to /etc/skel, but is the content comparable?
Actually, I think that it should remain like windows behavior for exactly that
reason. It is supposed to be the equivilant of an /etc/skel directory. If you
want to do system-wide configuration you do it in HKLM (or in /etc on UNIX).
You can write a shell script to export HKEY_USERS\.Default and then sed it to
HKEY_USERS\username and then import it. Of course that will clobber any
settings the user has changed (just as cp -a /etc/skel/* /home/username would
do).
I understand your argument that this is stupid, but that is how it is supposed
to work. Also, you shouldn't absolutely NEED a setting in HKEY_CURRENT_USER to
run a program. Although Corel Wordperfect 7 was a notable exception to this
IIRC. If you installed it in NT as one user then tried running it as another
it would refuse unless you copied some regkeys over. Of course that is broken
on Windows so I don't see the need to try to fix it. If the program worked
correctly it would do something like copy the default keys from the .Default
account if it noticed they were missing. I believe the .Default is supposed to
be world-readable, so it shouldn't be a problem.
It would be usefull, IMHO, to have a tool that would copy the whole .Default
into a specific users tree without overwriting keys which already exist.
-Dave