Registering the dlls? Is this the same as loading them?
How would we know which dll was responsible for creating which registry entries? Is it that clear which one should do it?
Would the code called during registration check to see if the default keys existed and if it didn't install the default values?
Would the inf file be mostly keys we've added for workarounds with apps like installshield installers?
I'm asking because I'd really like to have wine create its own default config to simplify the users life and wineinstall, and I'd also like to simplify package managers lives so they don't need to many special scripts. I'm also interested in integrating the ~/.wine/config file into the registry. So feel free to suggest places to look, work and what direction to head.
Chris
From: Alexandre Julliard julliard@winehq.com Date: 2004/01/05 Mon PM 04:46:59 EST To: cmorgan@alum.WPI.EDU CC: wine-devel@winehq.com Subject: Re: install default config files to $PREFIX/share/wine
chmorgan@charter.net writes:
How do we plan to get rid of having default config files? Where would the default registry go?
It will be created on the fly by registering the various dlls and creating the remaining needed keys, most likely through a setupapi .inf script.
-- Alexandre Julliard julliard@winehq.com
chmorgan@charter.net writes:
Registering the dlls? Is this the same as loading them?
No, it's running regsvr32 on them, which calls the DllRegisterServer entry point.
How would we know which dll was responsible for creating which registry entries? Is it that clear which one should do it?
Usually it's clear yes.
Would the code called during registration check to see if the default keys existed and if it didn't install the default values?
Normally it just sets the keys, no need to check anything. That code already exists in many cases, check the various regsvr.c files.
Would the inf file be mostly keys we've added for workarounds with apps like installshield installers?
Yes, it would be everyything that cannot be done by registering the dlls (which shouldn't be too much hopefully).