[Bug 46893] MS .NET Framework 1.0 installer reports failure 'CLR error: 80004001. The program will now terminate.' ( fusion.CreateApplicationContext is a stub)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 24 06:11:24 CDT 2019


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

Anastasius Focht <focht at 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 at gmx.net
           Keywords|                            |download, Installer
         Resolution|---                         |DUPLICATE

--- Comment #4 from Anastasius Focht <focht at 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 ***

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