Re: Side affects from running wineprefixcreate

2008-04-26 Thread Vitaliy Margolen
Chris Robinson wrote:
> On Saturday 26 April 2008 05:48:35 pm Vitaliy Margolen wrote:
>> At a minimum all the created
>> registry entries should not overwrite already existing ones.
> 
> Doesn't that kind of defeat the purpose of having wineprefixcreate executed, 
> which is to update the registry?
> 
> Not that I don't agree there could be a problem with just blindly 
> overwriting. 
> But blindly ignoring can be just as much of a problem.
> 

That's the problem of forcefully refreshing registry. If you don't do it - 
some old cruft will get in a way of new stiff. If you do - you removing 
perfectly good entries that user had there.

However things like file associations should not be overwritten. Especially 
that they don't work after that:

$ wine start image.jpg
wine: configuration in '/home/vitaliy/.wine' has been updated.
fixme:exec:SHELL_execute flags ignored: 0x0500
Application could not be started, or no application associated with the 
specified file.
ShellExecuteEx failed: Success

Vitaliy.




Re: Side affects from running wineprefixcreate

2008-04-26 Thread Chris Robinson
On Saturday 26 April 2008 05:48:35 pm Vitaliy Margolen wrote:
> At a minimum all the created
> registry entries should not overwrite already existing ones.

Doesn't that kind of defeat the purpose of having wineprefixcreate executed, 
which is to update the registry?

Not that I don't agree there could be a problem with just blindly overwriting. 
But blindly ignoring can be just as much of a problem.




Side affects from running wineprefixcreate

2008-04-26 Thread Vitaliy Margolen
So for one notable problems is some file types being reset by Wine. Looks 
like it comes from dlls/mshtml/mshtml.inf. At a minimum all the created 
registry entries should not overwrite already existing ones.


Vitaliy.