[Bug 30718] xna40 installation fails, needs sfc.LoadSfcDLL

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Mar 29 16:05:13 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=30718

Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xerox_xerox2000 at yahoo.co.uk

--- Comment #8 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk> ---
(In reply to Austin English from comment #6)
> (In reply to Dan Kegel from comment #0)
> > The next dialog was "DXSetup.exe - Unable to find a version of the runtime
> > to run this application".
> > (The DXSetup.exe that was running is the one bundled with the
> > xna40 redistributable, and you can also see this error with "winetricks
> > xna40".)
> 
> This was caused by using dotnet40 instead of dotnet45. I've fixed this in
> winetricks.


I did a +relay log with ``winetricks xna40``. The messagebox "DXSetup.exe -
Unable to find a version of the runtime to run this application" is not caused
by missing function from sfc.dll but rather is due to:

00cc:Call KERNEL32.GetEnvironmentVariableW(0033ea00
L"COMPlus_OnlyUseLatestCLR",00000000,00000000) ret=603b9729
00cc:Ret  KERNEL32.GetEnvironmentVariableW() retval=00000000 ret=603b9729
00cc:Call advapi32.RegOpenKeyExW(80000002,603bb958
L"Software\\Microsoft\\.NETFramework",00000000,00020019,0033eaa8) ret=603b9f59
00cc:Ret  advapi32.RegOpenKeyExW() retval=00000000 ret=603b9f59
00cc:Call advapi32.RegQueryValueExW(000000a0,603b7090
L"OnlyUseLatestCLR",00000000,0033eab8,0033eac0,0033eabc) ret=603b9f76
00cc:Ret  advapi32.RegQueryValueExW() retval=00000002 ret=603b9f76

If I do:

export COMPlus_OnlyUseLatestCLR=1

and then run the messagbox is gone. Adding the registrykey ``OnlyUseLatestCLR``
most likely will also do the trick. I`m not sure though if this registrykey
should be added by default in wine

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list