https://bugs.winehq.org/show_bug.cgi?id=37779
Bug ID: 37779 Summary: .Net 4.5 installation faulty on 64 bit Product: Wine Version: 1.7.33 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: t0mcat@gmx.de Distribution: ---
Created attachment 50320 --> https://bugs.winehq.org/attachment.cgi?id=50320 .Net 4.5 Installation Warning
Installation of .Net 4.5 on 64 bit systems completes seemingly successfully. However, applications cannot use mscoree.dll and maybe other components, too. This might be related to the warning during installation (see attached screenshots).
https://bugs.winehq.org/show_bug.cgi?id=37779
--- Comment #1 from Michael t0mcat@gmx.de --- Created attachment 50321 --> https://bugs.winehq.org/attachment.cgi?id=50321 .Net 4.5 Installation Success
https://bugs.winehq.org/show_bug.cgi?id=37779
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download, Installer Status|UNCONFIRMED |RESOLVED URL| |http://download.microsoft.c | |om/download/1/6/7/167F0D79- | |9317-48AE-AEDB-17120579F8E2 | |/NDP451-KB2858728-x86-x64-A | |llOS-ENU.exe CC| |focht@gmx.net Resolution|--- |DUPLICATE Summary|.Net 4.5 installation |MS .Net Framework 4.5 |faulty on 64 bit |installation incomplete | |('mscoree.dll' only | |provided by | |'Windows6.1-KB958488-${winv | |er}-${arch}.msu')
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
missing 'mscoree.dll' and friends is not a 64-bit issue but the result of Wine lacking .MSU support.
I mentioned it here: https://bugs.winehq.org/show_bug.cgi?id=30074#c0
Also in appdb entry: https://appdb.winehq.org/objectManager.php?sClass=version&iId=25478
Wine appdb has solutions/workarounds to many apps/games. I suggest studying .NET appdb entries *before* creating bug reports.
Regards
*** This bug has been marked as a duplicate of bug 26757 ***
https://bugs.winehq.org/show_bug.cgi?id=37779
--- Comment #3 from Michael t0mcat@gmx.de --- Really? The entries (yours?) are confusing and obviously didn't help me moving forward installing .Net. Why don't you explain how to install .Net 4.5 using current Wine in 64 bit prefix (original title of this bug before you changed it)?
https://bugs.winehq.org/show_bug.cgi?id=37779
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello,
--- quote --- Really? The entries (yours?) are confusing and obviously didn't help me moving forward installing .Net. --- quote ---
Confusing?
Tenths of thousands of people had no problems following Wine appdb .NET HOWTOs to install various .NET versions with Wine for several years now.
I even put additional information/tidbits in notes to explain common error messages/pitfalls to avoid people reporting (invalid/known) issues over and over again.
Yes, sometimes HOWTOs become partly superfluous as Wine and winetricks evolve.
I could have just written "use 'winetricks -q dotnet45'" instead of multiple steps but alas this *is* the essence of the recipe in 'winetricks'. Look at the source since I am the originator of various .NET recipes in 'winetricks'.
Anyway, I reworked the appdb .NET 4.5 install recipe, dumbing it down to a two-liner, assuming people really download the up-to-date 'winetricks' with the first line instead of using a broken/outdated distro provided 'winetricks'.
--- quote --- Why don't you explain how to install .Net 4.5 using current Wine in 64 bit prefix --- quote ---
What part of "Make sure you operate on a clean 32-bit WINEPREFIX (~/.wine)!" is unclear here?
It's written in every .NET appdb entry - even 'winetricks' warns users when encountering 64-bit WINEPREFIX.
--- quote --- (original title of this bug before you changed it)? --- quote ---
I changed it to highlight the actual problem.
The old summary ".Net 4.5 installation faulty on 64 bit" could result in another guy creating another bug, stating ".Net 4.5 installation faulty on 32-bit", wasting my time again.
Regards
https://bugs.winehq.org/show_bug.cgi?id=37779
Simon swdevelop1981@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |swdevelop1981@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=37779
Michael t0mcat@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|DUPLICATE |---
--- Comment #5 from Michael t0mcat@gmx.de --- Amazing!
Do you actually read other people's comments? I didn't refer to 32 bit. In 32 bit winetricks does the job. Again, we're talking about 64 bit here. Do you really think people pick 64 bit over 32 bit versions and ignore the 64 bit WINEPREFIX message on purpose? The world has evolved and certain Windows applications are 64 bit only.
If you don't want to waste your time helping to solve this bug, leave it to someone else with better communication skills.
https://bugs.winehq.org/show_bug.cgi?id=37779
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello,
--- quote --- do you actually read other people's comments? I didn't refer to 32 bit. In 32 bit winetricks does the job. Again, we're talking about 64 bit here. Do you really think people pick 64 bit over 32 bit versions and ignore the 64 bit WINEPREFIX message on purpose? The world has evolved and certain Windows applications are 64 bit only. --- quote ---
Although I think further communication with you is a waste of time, I state it again: this particular problem has *nothing* to do with 64-bit and the technical reason is well understood (at least by me).
But yes, manage this bug on your own and keep waiting for "someone else with better communication skills". Good luck! :)
Regards
https://bugs.winehq.org/show_bug.cgi?id=37779
Tom Brazier tom_bugzilla@firstsolo.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tom_bugzilla@firstsolo.net
--- Comment #7 from Tom Brazier tom_bugzilla@firstsolo.net ---
Although I think further communication with you is a waste of time, I state it again: this particular problem has *nothing* to do with 64-bit and the technical reason is well understood (at least by me).
I think what Anastasius is implying is that .NET 4.5 does not install fully on 32 bit wine either. The winetricks install is subject to the same silent ignoring of .msu files. The real problem in both cases is that wine has no ability to install .msu files because no one has yet managed to reverse engineer what MS does with these files. So the issue is about .msu files, not about 64 bit wine.
Is this correct Anastasius?
https://bugs.winehq.org/show_bug.cgi?id=37779
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello Tom,
--- quote --- I think what Anastasius is implying is that .NET 4.5 does not install fully on 32 bit wine either. The winetricks install is subject to the same silent ignoring of .msu files. The real problem in both cases is that wine has no ability to install .msu files because no one has yet managed to reverse engineer what MS does with these files. So the issue is about .msu files, not about 64 bit wine.
Is this correct Anastasius? --- quote ---
Mostly yes :)
The 'winetricks' recipe for 32-bit .NET 4.5 basically "cheats" by pre-installing .NET 3.x and .NET 4.0 in the WINEPREFIX hence an earlier version of 'mscoree' will be present before the .NET 4.5 installer is run.
Hence comparing 32-bit 'winetricks dotnet45' vs. running .NET Framework 4.5 installer stand-alone is kind of pointless - regardless if it's 32-bit or 64-bit.
Technically even the 32-bit .NET Framework 4.5 'winetricks' based installation is kind of broken since the old 3.x/4.0 .NET bootstrapper which ought to be upgraded by the .MSU package is now mixed with newer parts of the CLR.
--- quote --- because no one has yet managed to reverse engineer what MS does with these files. --- quote ---
MSU files are not complex/hard to understand. In general it's not really worth the effort to add MSU support just for the few exceptions like this one.
Installation of most MSU packages provided by Windows Update API infrastructure will not work by design since they expect to replace/patch *original* MS components. Only full component replacements or Wine cheating with version resources might work (tricking the component version checks into success). In the end you might still end up with a broken/damaged WINEPREFIX.
Regards
https://bugs.winehq.org/show_bug.cgi?id=37779
--- Comment #9 from Tom Brazier tom_bugzilla@firstsolo.net --- (In reply to Michael from comment #5)
So, for the record, I have figured out how to do it manually (at least well enough to get Canon's Digital Photo Professional 4 appearing to work).
Here's what I did:
winecfg (I picked Windows 7)
wine dotnetfx45_full_x86_x64.exe (I got this .exe from the same place winetricks gets it)
Before clicking "Exit" at the end of the .NET4.5 install, find the install temp folder in the wine c:\ folder. It will have a long name of letters and numbers. Copy Windows6.1-KB958488-v6001-x64.msu from this folder into a safe place.
Windows6.1-KB958488-v6001-x64.msu is actually a CAB file. Use the linux cabextract utility to unpack it. Inside is Windows6.1-KB958488-x64.cab.
Use cabextract to unpack Windows6.1-KB958488-x64.cab. Inside are a bunch of subdirectories named amd64_* and x86_*. Each contains a DLL. Copy all the amd64_* DLLs to c:\windows\system32. Copy all the x86_* DLLs to c:\windows\syswow64.
winecfg (Under the Libraries tab set mscoree.dll to Native).
Done. (Although running DPP4 needed extra work as it's mostly 32 bit .exe and .dll files in the 64 c:\Program Files\ directory - which doesn't work).
https://bugs.winehq.org/show_bug.cgi?id=37779
--- Comment #10 from Ken Sharp imwellcushtymelike@gmail.com --- Is this definitely a duplicate then?
https://bugs.winehq.org/show_bug.cgi?id=37779
Marc Silberkleit mws6908@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mws6908@gmail.com
--- Comment #11 from Marc Silberkleit mws6908@gmail.com --- Im using a MAC how do I use wine tricks to do this or is there another method to install .net framework 4.5 as Im trying to get Toad for SQL server to install.
thanks
https://bugs.winehq.org/show_bug.cgi?id=37779
--- Comment #12 from Anastasius Focht focht@gmx.net --- Hello Ken,
--- quote --- Is this definitely a duplicate then? --- quote ---
of course but I don't care here anymore. It's a waste of time to explain things to a certain kind of people.
@Marc
Wine Bugzilla is not meant for end-user support. Please use WineHQ forums for that -> https://forum.winehq.org/
Regards
https://bugs.winehq.org/show_bug.cgi?id=37779
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |sebastian@fds-team.de Resolution|--- |DUPLICATE
--- Comment #13 from Sebastian Lackner sebastian@fds-team.de --- As already stated in comment 2, this is a duplicate of bug 26757, which now contains a STAGED patchset for testing. Please give it a try and report any problems to the patch author.
Since its pointless to have multiple bug reports about the same issue, I'm marking this one as duplicate again. Please note that the purpose of this bugtracker is NOT to document installation instructions - those should go to the Wine wiki, the Appdb, or also can be contributed to the Winetricks project. If someone is still interested in manual installation instructions, please move them to one of the places above. From a technical point of view, both bugs are really about the same issue.
*** This bug has been marked as a duplicate of bug 26757 ***
https://bugs.winehq.org/show_bug.cgi?id=37779
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=37779
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/1/6/7/167F0D79- |/20131208225610/http://down |9317-48AE-AEDB-17120579F8E2 |load.microsoft.com/download |/NDP451-KB2858728-x86-x64-A |/1/6/7/167F0D79-9317-48AE-A |llOS-ENU.exe |EDB-17120579F8E2/NDP451-KB2 | |858728-x86-x64-AllOS-ENU.ex | |e Component|-unknown |wuapi