http://bugs.winehq.org/show_bug.cgi?id=11228
Summary: .NET Framework 2.0 Registry Bug Product: Wine Version: 0.9.53. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: n.tessore@gmail.com
When installing the .NET Framework 2.0, the installer creates a registry key
HKEY_LOCAL_MACHINE\Software\Microsoft.NETFramework\Policy\AppPatch\v[RTM_ProductVersion].00000
---
The correct key would be
HKEY_LOCAL_MACHINE\Software\Microsoft.NETFramework\Policy\AppPatch\v2.0.50727.00000
---
This leads to seemingly meaningless errors in a number of unexpected places (ie. normal non-.NET applications), like this one here:
fixme:advapi:RegisterEventSourceA ((null),".NET Runtime"): stub fixme:advapi:RegisterEventSourceW (L"",L".NET Runtime"): stub fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000000,0x33e64c,(nil)): stub err:eventlog:ReportEventW L"Error enumerating shim databases - 234" fixme:advapi:DeregisterEventSource (0xcafe4242) stub
http://bugs.winehq.org/show_bug.cgi?id=11228
--- Comment #1 from James Hawkins truiken@gmail.com 2008-01-16 16:55:17 --- Probably in msi..I'll look into it.
http://bugs.winehq.org/show_bug.cgi?id=11228
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net 2008-01-17 03:24:07 --- Hello,
--- quote --- Probably in msi..I'll look into it. --- quote ---
While you're at fixing .NET registry issues, please have a look at http://bugs.winehq.org/show_bug.cgi?id=3972#c19 too (msi service install strings deformat bug). The attached patch there might serve as guide.
Regards
http://bugs.winehq.org/show_bug.cgi?id=11228
--- Comment #3 from Anastasius Focht focht@gmx.net 2008-01-25 13:58:04 --- Created an attachment (id=10440) --> (http://bugs.winehq.org/attachment.cgi?id=10440) trace snippet which shows msi deformat_string_internal is bugged
Hello,
I attached the relevant snippet for your pleasure ...
Try MSI_FormatRecordW/deformat_string_internal on this key:
L"Software\Microsoft\.NETFramework\Policy\AppPatch\v[RTM_ProductVersion].00000\XSharpP.EXE\{BDC69590-00EE-408A-B21F-58D9EF182CF6}"
Makes a nice test case ;-)
Hint: "[RTM_ProductVersion]" is a valid msi key but "{BDC69590-00EE-408A-B21F-58D9EF182CF6}" is *not* a valid msi group (it's app data CLSID mistreated as group)
Problem: groups are resolved first - so first iteration ends up at "{BDC69590-00EE-408A-B21F-58D9EF182CF6}" Although it captures the data before the group "{" marker it doesn't process the new capture again because the "progress" pointer is advanced forward with the group marker - completely skipping any deformattable chunks (newdata) before ...
You need to make it multi-pass to resolve both, groups and keys, regardless of order of appearance.
Well, if you get the fix for this bug and the other one mentioned here (msi service install) into GIT, i'll give you additional infos and (msi) patches to let VS.NET 2005 Enterprise Edition successfully install in wine ;-)
Regards
http://bugs.winehq.org/show_bug.cgi?id=11228
--- Comment #4 from James Hawkins truiken@gmail.com 2008-01-25 14:10:34 --- I already reimplemented MsiFormatRecord, so this will be fixed when the patch goes in.
http://bugs.winehq.org/show_bug.cgi?id=11228
James McKenzie jjmckenzie51@sprintpcs.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jjmckenzie51@sprintpcs.com
--- Comment #5 from James McKenzie jjmckenzie51@sprintpcs.com 2008-01-29 20:13:39 --- James Hawkins: Is this patch available? Thank you.
http://bugs.winehq.org/show_bug.cgi?id=11228
--- Comment #6 from James Hawkins truiken@gmail.com 2008-01-29 20:16:01 --- It will be available when I send it to wine-patches. Julliard is on vacation.
http://bugs.winehq.org/show_bug.cgi?id=11228
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msi
--- Comment #7 from James Hawkins truiken@gmail.com 2008-02-04 16:01:35 --- Patch sent:
http://winehq.org/pipermail/wine-patches/2008-February/049602.html
http://bugs.winehq.org/show_bug.cgi?id=11228
--- Comment #8 from James Hawkins truiken@gmail.com 2008-02-05 10:51:33 --- Patch committed:
http://winehq.org/pipermail/wine-cvs/2008-February/039999.html
Please retest and close if it's fixed.
http://bugs.winehq.org/show_bug.cgi?id=11228
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from James Hawkins truiken@gmail.com 2008-02-06 14:22:00 --- Didn't feel like waiting, tested myself and it's fixed.
http://bugs.winehq.org/show_bug.cgi?id=11228
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Dan Kegel dank@kegel.com 2008-02-12 00:06:56 --- All bugs in state FIXED should be closed each time we do a release to mark the fact that the fix is now released. If the bug is somehow not really fixed, the individual bug should be reopened.
http://bugs.winehq.org/show_bug.cgi?id=11228
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5a0d459cc4fe6315d63ab5f2707 | |72d2793c8e0a2
http://bugs.winehq.org/show_bug.cgi?id=11228
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download, Installer URL| |http://download.microsoft.c | |om/download/5/6/7/567758a3- | |759e-473e-bf8f-52154438565a | |/dotnetfx.exe Hardware|Other |x86 OS|other |Linux Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=11228
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/5/6/7/567758a3- |/20051029064215/http://down |759e-473e-bf8f-52154438565a |load.microsoft.com/download |/dotnetfx.exe |/5/6/7/567758a3-759e-473e-b | |f8f-52154438565a/dotnetfx.e | |xe Summary|.NET Framework 2.0 Registry |.NET Framework 2.0 |Bug |installer creates | |non-deformatted registry | |keys