[Bug 45449] Add diagnostic 'mscoree.dll.CorGetSvc' stub (NGEN client) to hint at broken Microsoft .NET Frameworks installation ( Wine-Mono not uninstalled and/or 'mscoree.dll' placeholders not removed prior install)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 9 02:21:44 CDT 2019


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Fixed by SHA1|                            |6e3d68b14120563fd584fe9c5a2
                   |                            |7885f51e7ae66
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

this is fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/6e3d68b14120563fd584fe9c5a27885f51e7ae66
("mscoree: Add diagnostic CorGetSvc stub.")

Thanks Vincent

Test with broken .NET install:

--- snip ---
$ wineserver -k
$ rm -rf .wine
$ export WINEARCH=win32
$ wineboot

$ wine uninstaller --list
{BB9BDB97-C247-4F20-B710-8B6765F67105}|||Wine Gecko (32-bit)
{95E1A5A7-9C47-5B8F-94C7-03C26A544072}|||Wine Mono Runtime
{C1E530E6-B87C-5982-8173-5417B92E5F56}|||Wine Mono Windows Support

$ wine uninstaller --remove {95E1A5A7-9C47-5B8F-94C7-03C26A544072}

$ winetricks win7

$ (cd .cache/winetricks/dotnet40 && wine ./dotNetFx40_Full_x86_x64.exe)

$ winedump .wine/drive_c/windows/system32/mscoree.dll
Contents of .wine/drive_c/windows/system32/mscoree.dll: 871574 bytes

*** This is a Wine builtin DLL ***

File Header
  Machine:                      014C (i386)
  Number of Sections:           16
  TimeDateStamp:                5D4D1CED (Fri Aug  9 09:12:45 2019) offset 136
  PointerToSymbolTable:         000B5600
  NumberOfSymbols:              00000EED
  SizeOfOptionalHeader:         00E0
  Characteristics:              2106
    EXECUTABLE_IMAGE
    LINE_NUMS_STRIPPED
    32BIT_MACHINE
    DLL
...

$ wine "c:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\ngen.exe" update
0009:err:winediag:CorGetSvc If this function is called, it is likely the result
of a broken .NET installation
Exception from HRESULT: 0x80004001 (E_NOTIMPL)
--- snip ---

$ wine --version
wine-4.13-109-g6e3d68b141

Regards

-- 
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