wine.inf: Windows 9x and Windows NT store the time zone data in different places.

Francois Gouget fgouget at codeweavers.com
Sun Aug 6 12:29:44 CDT 2006


Vitaliy Margolen wrote:
> Friday, August 4, 2006, 9:47:38 AM, Francois Gouget wrote:
>> So duplicate it so programs find it no matter where they look.
> 
>> Note:
> 
>> Another option would be to have a [Timezones9x] section that would set 
>> this data in the alternate location. But we would still need to 
>> duplicate all the data in the inf file anyway. This would also make 
>> checking the inf file consistency harder too. And finally, it would make 
>> it impossible to change the Windows version of a Wine environment after 
>> the fact. So I chose to just duplicate it all.
> 
> You missed one more option - use registry symlinks. The only problem is -
> win2k and winXP doesn't have those registry keys in win9x place.

That's an interesting option.
Unfortunately Wine does not seem to support the registry symlinks (and I 
don't feel like tackling them). Also, INF files don't seem to provide a 
way to create such symlinks so we would need to create it 
programmatically... but in which dlls? I'm not sure it would be ok to 
add a DllRegister to gdi or other such 'low level' dlls.

-- 
Francois Gouget
fgouget at codeweavers.com




More information about the wine-devel mailing list