https://bugs.winehq.org/show_bug.cgi?id=42170
Bug ID: 42170 Summary: Microsoft .NET Framework 4.6.2 offline installer does not complete Product: Wine Version: 2.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jasminsehic@gmail.com Distribution: ---
Created attachment 56771 --> https://bugs.winehq.org/attachment.cgi?id=56771 Wine console output
Microsoft .NET Framework 4.6.2 offline installer setup seems to crash shortly after starting to install so it doesn't finish.
URL to download the setup is https://download.microsoft.com/download/F/9/4/F942F07D-F26F-4F30-B4E3-EBD54F...
$ sha1sum NDP462-KB3151800-x86-x64-AllOS-ENU.exe a70f856bda33d45ad0a8ad035f73092441715431 NDP462-KB3151800-x86-x64-AllOS-ENU.exe
I am using wine-staging 2.0-rc3 with a clear win32 prefix on a 64-bit Ubuntu 16.04 LTS
Trace is attached.
https://bugs.winehq.org/show_bug.cgi?id=42170
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Created attachment 56772 --> https://bugs.winehq.org/attachment.cgi?id=56772 stub for EtwNext
Does this patch help anything? (stub for EtvNext)
https://bugs.winehq.org/show_bug.cgi?id=42170
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #56772|0 |1 is obsolete| |
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Created attachment 56773 --> https://bugs.winehq.org/attachment.cgi?id=56773 stub for EvtNext, correct version
There was a mistake in previous patch, forgot to change stub into stdcall. Corrected in this patch. I can also confirm this bug
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #3 from Jasmin Sehic jasminsehic@gmail.com --- I've just tried it and it got only as far as next step then it failed. See attached screenshot and trace
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #4 from Jasmin Sehic jasminsehic@gmail.com --- Created attachment 56785 --> https://bugs.winehq.org/attachment.cgi?id=56785 Setup Failure
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #5 from Jasmin Sehic jasminsehic@gmail.com --- Created attachment 56786 --> https://bugs.winehq.org/attachment.cgi?id=56786 Trace after patch
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #6 from Jasmin Sehic jasminsehic@gmail.com --- As a workaround I have used an un-official repacked version of .NET Framework v4.6.2 Offline Installer called "Slim" which doesn't seem to crash.
I have added this pull request as a workaround in winetricks now https://github.com/Winetricks/winetricks/pull/714
https://bugs.winehq.org/show_bug.cgi?id=42170
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=42170
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |STAGED CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Ever confirmed|0 |1 Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/wevtapi-EvtNex | |t
https://bugs.winehq.org/show_bug.cgi?id=42170
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #7 from winetest@luukku.com --- (In reply to Jasmin Sehic from comment #4)
Created attachment 56785 [details] Setup Failure
I get the same picture with wine-staging 2.1. Wine-staging includes the patch from Lenders.
As a workaround I have used an un-official repacked version of .NET Framework v4.6.2 Offline Installer called "Slim" which doesn't seem to crash.
I have added this pull request as a workaround in winetricks now https://github.com/Winetricks/winetricks/pull/714
The patch got committed and I am just testing winetricks -q dotnet462.
The winetricks recipe seems to complete, I couldnt see any failure message. It took really long to install.
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #8 from Michael Müller michael@fds-team.de --- The remaining problem is that the installer expects the new Microsoft Root CAs to be available while most linux distros only ship the old one. After installing "Microsoft Root Certificate Authority 2010" and "Microsoft Root Certificate Authority 2011" as trusted root certificates, the installation finishes successfully for me.
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #9 from Jasmin Sehic jasminsehic@gmail.com --- (In reply to Michael Müller from comment #8)
The remaining problem is that the installer expects the new Microsoft Root CAs to be available while most linux distros only ship the old one. After installing "Microsoft Root Certificate Authority 2010" and "Microsoft Root Certificate Authority 2011" as trusted root certificates, the installation finishes successfully for me.
Are you saying the official .NET 4.6.2 offline setup works once the 2011 root CA's are installed?
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #10 from Michael Müller michael@fds-team.de --- You still need the EvtNext patch (see staged patch) otherwise you run into the problem reported at the beginning. I just tested it again using Wine Staging 2.1 and I had to install .NET 4.0 first to get mscoree.dll (is this still part of 4.6.2 or maybe handled by windows update on windows 7?) but otherwise the installation finishes successfully and the .NET verifier reports .NET 4.6.2 as correctly installed.
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #11 from Jasmin Sehic jasminsehic@gmail.com --- (In reply to Michael Müller from comment #10)
You still need the EvtNext patch (see staged patch) otherwise you run into the problem reported at the beginning. I just tested it again using Wine Staging 2.1 and I had to install .NET 4.0 first to get mscoree.dll (is this still part of 4.6.2 or maybe handled by windows update on windows 7?) but otherwise the installation finishes successfully and the .NET verifier reports .NET 4.6.2 as correctly installed.
Yep you will need to install all previous framewoks to install 4.6.2. This isnwhat winetricks does anyway. How do you solve this in wine, the issue of outdated Root CAs that is? Can they be shipped with Wine?
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #12 from Michael Müller michael@fds-team.de ---
Yep you will need to install all previous framewoks to install 4.6.2. This isnwhat winetricks does anyway.
This is not 100% correct. The .NET 4.5 installer contains some files in an .msu package. Wine Staging provides a basic WUSA implementation than can handle those files and you can install 4.5 directly without first installing any older .NET versions. The only problem is that .NET 4.5 does not support XP any more. If you install 4.0 first in XP mode, you get some additional libraries that are only used for XP, while installing .NET 4.5 directly with Wine Staging will only provide the windows 7 libraries. You will for example notice that .NET 4.5 starts using UIAutomationCore.dll when installing it directly with Wine Staging. On the other hand, running 4.5 with XP libraries from 4.0 is not supported by MS and might introduce new bugs. When the windows 7 support of Wine is getting better, using the windows 7 dlls should be the better choice.
How do you solve this in wine, the issue of outdated Root CAs that is? Can they be shipped with Wine?
So far Wine does not contain any CAs and expects the host system to provide them.
https://bugs.winehq.org/show_bug.cgi?id=42170
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #13 from Jacek Caban jacek@codeweavers.com --- (In reply to Michael Müller from comment #12)
So far Wine does not contain any CAs and expects the host system to provide them.
That's not exactly true: http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/crypt32/rootstore.c#l6...
https://bugs.winehq.org/show_bug.cgi?id=42170
--- Comment #14 from Michael Müller michael@fds-team.de --- (In reply to Jacek Caban from comment #13)
That's not exactly true: http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/crypt32/rootstore. c#l679
Good to know. I would have expected them to be part of wine.inf.in and was not able to find anything. Seems like we can easily fix this by adding two new hardcoded entries.
https://bugs.winehq.org/show_bug.cgi?id=42170
Pim van Nierop pim.van.nierop@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pim.van.nierop@gmail.com
--- Comment #15 from Pim van Nierop pim.van.nierop@gmail.com --- Created attachment 57451 --> https://bugs.winehq.org/attachment.cgi?id=57451 Installation .NET 4.6.2 64-bit prefix
https://bugs.winehq.org/show_bug.cgi?id=42170
Konstantin Kondratyuk kondratyuk@etersoft.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kondratyuk@etersoft.ru
https://bugs.winehq.org/show_bug.cgi?id=42170
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=42170
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |38959
https://bugs.winehq.org/show_bug.cgi?id=42170
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://download.microsoft. | |com/download/F/9/4/F942F07D | |-F26F-4F30-B4E3-EBD54FABA37 | |7/NDP462-KB3151800-x86-x64- | |AllOS-ENU.exe CC| |focht@gmx.net Summary|Microsoft .NET Framework |Microsoft .NET Framework |4.6.2 offline installer |4.6.2 offline installer |does not complete |does not complete, needs | |wevtapi.EvtNext stub Keywords| |download, Installer Component|-unknown |wevtapi
https://bugs.winehq.org/show_bug.cgi?id=42170
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |aaf4e1d93d9c25273a1d5af2be8 | |ab7f41f418cdc Resolution|--- |FIXED Status|STAGED |RESOLVED
--- Comment #16 from Nikolay Sivov bunglehead@gmail.com --- Marking fixed, https://source.winehq.org/git/wine.git/?a=commit;h=aaf4e1d93d9c25273a1d5af2b....
https://bugs.winehq.org/show_bug.cgi?id=42170
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.1.
https://bugs.winehq.org/show_bug.cgi?id=42170
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=42170 Bug 42170 depends on bug 38959, which changed state.
Bug 38959 Summary: Microsoft .NET Framework 4.6 web installer fails silently (unable to load series of compressed PNG icon images from ICO files) https://bugs.winehq.org/show_bug.cgi?id=38959
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=42170
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #18 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.1.
https://bugs.winehq.org/show_bug.cgi?id=42170
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://download.microsoft. |https://web.archive.org/web |com/download/F/9/4/F942F07D |/20170303120634/https://dow |-F26F-4F30-B4E3-EBD54FABA37 |nload.microsoft.com/downloa |7/NDP462-KB3151800-x86-x64- |d/F/9/4/F942F07D-F26F-4F30- |AllOS-ENU.exe |B4E3-EBD54FABA377/NDP462-KB | |3151800-x86-x64-AllOS-ENU.e | |xe Keywords| |dotnet