[Bug 39613] Dot.NET redistributable Package 1.1 no longer works beginning in wine-1.3.2

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 18 19:03:58 CST 2015


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

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

out of curiosity I wasted some time on this.

Wine 1.3.2 installer fails (known problem):

--- snip ---
$ wine ./dotnetfx.exe 
...
fixme:advapi:LookupAccountNameW (null) L"focht" (nil) 0x33e5b8 (nil) 0x33e5b4
0x33e5c0 - stub
...
fixme:msi:ACTION_CustomAction Rollback only action... rollbacks not supported
yet
fixme:msi:msi_unimplemented_action_stub MsiUnpublishAssemblies -> 66 ignored
L"MsiAssembly" table values
fixme:msi:msi_unimplemented_action_stub BindImage -> 3 ignored L"BindImage"
table values
fixme:msi:ACTION_CustomAction Rollback only action... rollbacks not supported
yet
fixme:msi:ACTION_CustomAction Rollback only action... rollbacks not supported
yet
err:rpc:I_RpcGetBuffer no binding
...
err:msi:ITERATE_Actions Execution halted, action L"MsiPublishAssemblies"
returned 1627
err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1627
--- snip ---

Leaving incomplete/broken .NET Framework in the WINEPREFIX (msi problem was
fixed in the end but not before bug 25120).

==== Your claim about resource load failure.

I installed .NET Framework SDK 1.1 which ships various WinForms example apps in
that (half broken) WINEPREFIX

https://www.microsoft.com/en-us/download/confirmation.aspx?id=16217

The SDK installer doesn't finish fully (hangs in the end) which is a known but
harmless problem (self registration of Microsoft CLR Debugger for first time,
workaround -> unattended install).
Also documented in appdb entry for .NET Framework SDK.

Building Windows Forms based example for test:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program
Files/Microsoft.NET/SDK/v1.1/Samples/Applications/Wintalk/cs

$ wine "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe"  /out:wintalk.exe
WinTalk.cs
--- snip ---

Running it:

--- snip ---
$ WINEDEBUG=+tid,+msgbox wine ./wintalk.exe 
0028:fixme:sync:CreateMemoryResourceNotification (0) stub
0028:fixme:shell:URL_ParseUrl failed to parse L"System"
0029:trace:msgbox:MSGBOX_OnInit L"Failed to load resources from resource
file\nPlease check your Setup"
--- snip ---

I gave an explanation for this error here:

https://bugs.winehq.org/show_bug.cgi?id=10134#c20

Although the bug is about a different issue, the manifestation is the same:
NGENed assemblies not found in GAC

--- quote ---
Registering assemblies into GAC and pre JIT-ing (ngen tool) doesn't work right
now due to a bug in shlwapi's UrlCombineW().

Because of this bug, .NET 1.x fusion loader won't find any referenced
assemblies on app startup, leading to rather cryptic "resource not found" error
message.

...

Fusion internally re-verifies paths before mapping dlls and rejects it.

--- quote ---

As earlier said, if the .NET Framework 1.1 install didn't finish for whatever
reason you can't just continue as if nothing happened and install/run .NET
apps!

Since the core assemblies were not properly registered in GAC and no NGEN image
of those exist you get all kinds of different problems resulting from that.
All "follow-up" issues are automatically invalid.

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