Wine registry question

Damjan Jovanovic damjan.jov at gmail.com
Fri Apr 3 04:49:44 CDT 2009


On Fri, Apr 3, 2009 at 11:33 AM, Rob Shearman <robertshearman at gmail.com> wrote:
> 2009/4/2 Damjan Jovanovic <damjan.jov at gmail.com>:
>> Hi

Hello

>> I've noticed that Wine doesn't merge HKCU\Classes\Root into HKCR
>> (http://bugs.winehq.org/show_bug.cgi?id=17019).
>>
>> Is this for compatibility with older Windows versions, or is it a Wine bug?
>
> It's not a bug, it's just a missing feature and one that isn't trivial
> to implement. For example, in which component should this be done - in
> the server, in advapi32 code or when loading the user's registry hive
> (should be userenv, but actually done in the server)? What happens if
> there are two keys or values with the same name in both
> HKCU\Software\Classes and HKLM\Software\Classes? Does a delete from
> HKCR delete the key/value in the underlying view? If you add a
> key/value to a key that exists in HKCR and you don't have permission
> because it is from HKLM\Software\Classes if it added instead to
> HKCU\Software\Classes? How do you amalgamate change notification from
> both HKCU\Software\Classes and HKLM\Software\Classes?

Yes it's tricky, but the Windows behavior seems well documented
(http://msdn.microsoft.com/en-us/library/ms724498(VS.85).aspx).

> --
> Rob Shearman
>


Damjan Jovanovic



More information about the wine-devel mailing list