Export to GitHub

winezeug - issue #229

directx9 clobbers dotnet20 (mscoree)


Posted on Feb 17, 2011 by Helpful Ox

What steps will reproduce the problem?

Start with an empty WinePrefix...

export WINEPREFIX=$HOME/.wine-directx9

Install .NET Framework 2.0

winetricks -q dotnet20

Regedit starts normally

wine regedit

Install directx9 (NOTE: -q, quiet mode, not implemented?)

winetricks -q directx9

NOTE: You need a delay here so that winedevice shuts down. A wineboot does the job, too.

sleep 10

Running regedit this time you'll get the error:

The program mscorsvw.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience.

wine regedit

What is the expected output? What do you see instead?

Would expect wine regedit to start without error dialogs. (Note that the error dialog is coming from wine startup, not from regedit.)

What version of the product are you using? On what operating system?

Ubuntu 10.10 Maverick Meerkat
wine-1.3.13
winetricks 20110123

Please provide any additional information below.

The last couple of lines of winetricks' load_directx9() function are: # reenable mscoree, or other installs may fail, see issue 25 w_override_dlls builtin,native mscoree

Doing this, however, clobbers mscoree as used by .NET Framework 2.0. Whenever you try to start Wine (even for something like winecfg) the ".NET Runtime Optimization Service v2.0.50727_X86" service fails to start with the following error message: The program mscorsvw.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience.

Working around the problem:

Start winecfg, go to the Libraries tab and change the override from "*mscoree (builtin, native)" to "*mscoree (native)". The error message goes away.

Comment #1

Posted on Mar 5, 2011 by Happy Giraffe

Looks like the fix for bug 25 was wrong. I checked in a simpler one, please try http://winetricks.googlecode.com/svn/trunk/src/winetricks-alpha

Comment #2

Posted on Mar 16, 2011 by Helpful Ox

This problem no longer occurs when using wine (1.3.15) with either winetricks (20110312) or winetricks-alpha (20110312).

Thanks and kind regards.

Comment #3

Posted on Mar 16, 2011 by Helpful Ox

PS: The URI http://winetricks.googlecode.com/svn/trunk/src/winetricks-alpha gives a 404 not found.

Status: Fixed

Labels:
Type-Defect Priority-Medium