https://bugs.winehq.org/show_bug.cgi?id=46893
Bug ID: 46893 Summary: Error while installing .NET Framework 1.0 Product: Wine Version: 3.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sk9258user@mail.ru Distribution: ---
Created attachment 63973 --> https://bugs.winehq.org/attachment.cgi?id=63973 Log
Link: https://www.microsoft.com/en-us/download/confirmation.aspx?id=96
CLR Error: 80004001.
On any wine Windows version
On wine stable 3.0.
Need to fix this without changing wine version.
https://bugs.winehq.org/show_bug.cgi?id=46893
--- Comment #1 from masteruser82841 sk9258user@mail.ru --- Created attachment 63974 --> https://bugs.winehq.org/attachment.cgi?id=63974 Screenshot
This error shows near to end of installing, clicking ok and install failed.
https://bugs.winehq.org/show_bug.cgi?id=46893
masteruser82841 sk9258user@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet URL| |https://www.microsoft.com/e | |n-us/download/confirmation. | |aspx?id=96
https://bugs.winehq.org/show_bug.cgi?id=46893
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- It should install on current Wine if you make sure wine-mono is not installed (wine uninstaller) and mscoree and fusion are set to native-only (libraries tab in winecfg).
https://bugs.winehq.org/show_bug.cgi?id=46893
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |fusion
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- The 80004001 error appears to come from CreateApplicationContext, which is unimplemented in builtin fusion.
https://bugs.winehq.org/show_bug.cgi?id=46893
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Summary|Error while installing .NET |MS .NET Framework 1.0 |Framework 1.0 |installer reports failure | |'CLR error: 80004001. The | |program will now | |terminate.' | |(fusion.CreateApplicationCo | |ntext is a stub) URL|https://www.microsoft.com/e |https://download.microsoft. |n-us/download/confirmation. |com/download/e/b/2/eb247c2a |aspx?id=96 |-e6b3-4694-98a2-b27111d233d | |d/dotnetredist.exe CC| |focht@gmx.net Keywords| |download, Installer Resolution|--- |DUPLICATE
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
old known issue. Dupe of bug 25120
See also my comment: https://bugs.winehq.org/show_bug.cgi?id=25120#c5
--- snip --- $ WINEDEBUG=+seh,+relay,+msi,+fusion wine ./install.exe >>log.txt 2>&1 ... 004b:Call msi.MsiRecordSetStringA(00000002,00000001,0055f894 "C:\windows\Microsoft.NET\Framework\v1.0.3705\RegAsm.exe C:\windows\Microsoft.NET\Framework\v1.0.3705\System.Data.dll") ret=6038353e ... 004f:Call advapi32.RegOpenKeyExW(80000002,79239198 L"Software\Microsoft\.NETFramework\Security\Policy",00000000,00020019,0032fde4) ret=791b7de8 004f:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=791b7de8 ... 004f:Call fusion.CreateAssemblyNameObject(0032fd84,004415ea L"",00000000,00000000) ret=791c346b 004f:trace:fusion:CreateAssemblyNameObject (0x32fd84, L"", 00000000, (nil)) ... 004f:Ret fusion.CreateAssemblyNameObject() retval=00000000 ret=791c346b 004f:Call fusion.CreateApplicationContext(0015e9a8,793abf98) ret=791c347d 004f:fixme:fusion:CreateApplicationContext 0x15e9a8, 0x793abf98 004f:Ret fusion.CreateApplicationContext() retval=80004001 ret=791c347d 004f:trace:fusion:IAssemblyNameImpl_Release (0x15e9a8)->(ref before = 1) ... 004f:Call oleaut32.SysAllocString(0015fa48 L"Failed to delay load library mscorlib.dll (Win32 error: 0).\n\nThis program can no longer run and will now terminate.") ret=7d918ba3 ... 004f:Call user32.MessageBoxW(00000000,00160c40 L"CLR error: 80004001.\n The program will now terminate.",00161448 L"RegAsm.exe - Fatal error",00000030) ret=792781f2 ... 004b:Call msi.MsiRecordSetStringA(00000003,00000001,00570cc8 "ERROR: Process returned non-0 value! CMDLINE: C:\windows\Microsoft.NET\Framework\v1.0.3705\RegAsm.exe C:\windows\Microsoft.NET\Framework\v1.0.3705\System.Data.dll") ret=6038326f ... 0009:err:msi:execute_script Execution of script 0 halted; action L"[C:\windows\Microsoft.NET\Framework\v1.0.3705\RegAsm.exe C:\windows\Microsoft.NET\Framework\v1.0.3705\System.Data.dll;System.Data.dll;C:\windows\Microsoft.NET\Framework\v1.0.3705\<=>S-1-5-21-0-0-0-1000<=>{B43357AA-3A6D-4D94-B56E-43C44D09E548}]CA_ComRegSystemData.3643236F_FC70_11D3_A536"... returned 1603 --- snip ---
Use the following workaround:
--- snip --- $ WINEDLLOVERRIDES=fusion=n wine ./dotnetredist.exe --- snip ---
$ sha1sum dotnetredist.exe 5bebe55271463658d97bc053ca1b7db6a4896a92 dotnetredist.exe
$ du -sh dotnetredist.exe 20M dotnetredist.exe
$ wine --version wine-4.4-188-gc988910cae
Regards
*** This bug has been marked as a duplicate of bug 25120 ***
https://bugs.winehq.org/show_bug.cgi?id=46893
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.