hello!

i'm working on easier configuration of Wine and better integration into
most common desktop enviroments (like KDE, GNOME). as i'm tracing things
down, i'm running into some problems. what's going on:

one part of the integration is that icons should appear on your linux
desktop (and menu) after you run some installer under Wine. that
requires correctly set paths (like Desktop, StartUp) under
HKEY_CURRENT_USER key. the user who runs installer uses only the global
configuration files (like /etc/wine/wine.conf, system.reg,
wine.userreg). Wine is set to use fake windows installation (no real
windows installed, but it's not really important in this case). 

the problem is that there is no way how to set something under
HKEY_CURRENT_USER registry key in global configuration files. that's
probably right, becouse information under this key are related to
concrete user, and therefore should be stored in users home directory.
but this causes there is no way how to properly configure GLOBAL Wine
configuration - i mean superuser runs configuration once, and all other
users have Wine ready to use. in fact all users are supposed to run
"regapi setValue < winedefault.reg" command before they run their first
application (this translates the HKEY_CURRENT_USER key to real user name
and writes this translated keys to ~/.wine/user.reg file).

i would like to solve it somehow, but before i do that i need the
answers for a few questions:

1) let's say superuser configured system for all users at once, so Wine
is ready-to-use for all normal users. is that scenario what we want?

if yes, then:
2) how to manage that users will have correctly set paths under
HKEY_CURRENT_USER key? one solution is to allow something like
H_KEY_CURRENT_USER in /etc/wine/wine.userreg file. is that the right
solution?

martin



Reply via email to