Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Can't install .NET 4.5 in 64-bit prefix ?


  • Please log in to reply
8 replies to this topic

#1 gbsaab

gbsaab

    Novice Member

  • Members
  • 8 posts
  • Graphics Card:ATI Radeon HD 4850 512 MB graphics
  • Operating System:OS X 10.8 (Mountain Lion)

Posted 26 February 2017 - 01:15 AM

Using WineSkin Winery, I've created a vanilla 64-bit prefix using a custom engine WS9Wine64Bit2.2.  I then installed msxml3.dll using WineTricks.  That worked.  But, again with WineTricks, tried to install .NET 4.5 and got an error with installing .NET 2.0 which cannot be installed on a 64-bit system.

I must have a 64-bit prefix as my software will not run in a 32-bit prefix (tried and failed many times).

So, how can I get any .NET working in a 64-bit prefix ?


Garry
iMac, macOS 10.12.3.

#2 gbsaab

gbsaab

    Novice Member

  • Members
  • 8 posts
  • Graphics Card:ATI Radeon HD 4850 512 MB graphics
  • Operating System:OS X 10.8 (Mountain Lion)

Posted 26 February 2017 - 04:12 AM

OK, I found a way to install .NET 4.5.2.  I found the installer EXE file and ran it from within WineSkin.

So, then I tried to run my software and it doesn't start.  I've been running it as a "Test Run" so I can see the LastRunWine.log.  But, the test run never finishes.  Nevertheless, the LastRunWine.log says amongst lots of other stuff:

err:module:import_dll Library MSVCR110_CLR0400.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe") not found

Is this real ? Or, do I need to use an override ?

Thanks.


Garry

#3 dankoB

dankoB

    Legendary Member

  • Super Moderators
  • 2,935 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MacBook Pro Core i7 16GB
    AMD Radeon HD 6750M 512MB

    MacBook Core2Duo 4GB
    nVidia 9400M 256MB
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 27 February 2017 - 03:45 AM

I've received that err in log reports even after I've successfully used a program and closed the wrapper. I'm not sure if it is anything intrusive. What are the other contents of the log report? I've updated my database entry for the .Net 4.6.2. Maybe it has a dependency installed that your app requires.

http://portingteam.c...rosoft-net-462/
Posted Image

#4 gbsaab

gbsaab

    Novice Member

  • Members
  • 8 posts
  • Graphics Card:ATI Radeon HD 4850 512 MB graphics
  • Operating System:OS X 10.8 (Mountain Lion)

Posted 27 February 2017 - 03:57 AM

Thanks.  I think I've made some progress.  It seems that my app is looking for that dll in the System32 folder and in 32-bit (not 64).  I'll have to let the author know.

I downloaded a copy of the 32-bit version of that dll and re-ran my app.  It still failed but it no longer had the error about MSVCR110_CLR0400.dll.  This might be because you don't have .NET 3.0 or 3.5 installed.  You also don't have the .NET 2.0 service packs.

I had a similar problem with another dll - mscoree.dll.  I added an override for that dll and the error went away.

I also have suspected that Wine 2.2 might be better so, I downloaded a copy from the Custom Engines Repository.  It did help a lot, reducing the pile of messages in LastRunWine but I still can't get my app to run.  LastRunWine now looks like this:

fixme:wer:WerSetFlags (2) stub!
fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 0x961925, 0x9adbd0, 0x9adbe8) stub.
fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x942f3d, 28) stub
fixme:wer:WerSetFlags (2) stub!
fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
fixme:ntdll:EtwEventUnregister (deadbeef) stub.


The second last line is very odd - why does it want Mono ?  Also interesting is the first line in mscoree.dll.  It has this: "Wine placeholder DLL".  So, I guess it's not from MS !


Cheers.

#5 dankoB

dankoB

    Legendary Member

  • Super Moderators
  • 2,935 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MacBook Pro Core i7 16GB
    AMD Radeon HD 6750M 512MB

    MacBook Core2Duo 4GB
    nVidia 9400M 256MB
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 27 February 2017 - 10:27 PM

The only .NET versions that aren't included in the update for the wrapper was .Net 1.0 and .Net 1.1 because they are a part of the .NET 2.0 bundles included all the way up to .NET 2.0sp2. I did however upload a backed up wrapper so my most recent update doesn't actually include .NET 4.6.2 but I intend to fix that very shortly with the correct wrapper.

Maybe these links will give you a bit more insight to verifying and identifying what versions are actually installed into your wrappers.

https://msdn.microso...ibrary/hh925568

https://msdn.microso...ibrary/bb822049

If you are still skeptical then compare these two setup_verifier log files:

Native Windows 10 (through Bootcamp)
Spoiler

Wineskin 2.6.2 wrapper on MacOSX 10.11.6
Spoiler

Posted Image

#6 gbsaab

gbsaab

    Novice Member

  • Members
  • 8 posts
  • Graphics Card:ATI Radeon HD 4850 512 MB graphics
  • Operating System:OS X 10.8 (Mountain Lion)

Posted 28 February 2017 - 04:27 AM

My apologies.  I don't know what's happened.  The Verifier tool log said:

[02/27/17,16:11:22] Install state for .NET Framework 1.0: not installed.
[02/27/17,16:11:22] Install state for .NET Framework 1.1: not installed.
[02/27/17,16:11:22] Install state for .NET Framework 2.0: installed with no service packs.
[02/27/17,16:11:22] Install state for .NET Framework 3.0: not installed.
[02/27/17,16:11:22] Install state for .NET Framework 3.5: not installed.
[02/27/17,16:11:22] Install state for .NET Framework 4 Client: installed with no service packs.
[02/27/17,16:11:22] Install state for .NET Framework 4 Full: installed with no service packs.
[02/27/17,16:11:22] Install state for .NET Framework 4.5: installed with no service packs.
[02/27/17,16:11:22] Install state for .NET Framework 4.5.1: installed with no service packs.
[02/27/17,16:11:22] Install state for .NET Framework 4.5.2: installed with no service packs.
[02/27/17,16:11:22] Install state for .NET Framework 4.6: installed with no service packs.
[02/27/17,16:11:22] Install state for .NET Framework 4.6.1: not installed.
[02/27/17,16:11:22] Install state for .NET Framework 4.6.2: not installed.

I must have mucked up something.  I've noticed that different tools say .NET is installed or is not.  That's probably because they report different things (e.g. 32-bit being present or 64-bit).  Also, I suspect that changing the Registry can confuse such tools.

I'm going to revert to the download copy and try again.

By the way, after unzipping the download, I had a file called "_NET Framework.app.app".  I double-clicked on it but, nothing happened.  So, I opened its contents and manually extracted "Tome.7z" which I unzipped to "DOTNET Framework".  Can you see any problem with that approach ?

Many thanks for all your work on this.

Cheers.


Garry

#7 dankoB

dankoB

    Legendary Member

  • Super Moderators
  • 2,935 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MacBook Pro Core i7 16GB
    AMD Radeon HD 6750M 512MB

    MacBook Core2Duo 4GB
    nVidia 9400M 256MB
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 02 March 2017 - 11:02 PM

That wasn't one of my files. My wrappers are all mounted on to a disc image so it's a simple drag and drop.
Posted Image

#8 ScoPezz

ScoPezz

    Professional Member

  • Members
  • PipPipPipPip
  • 141 posts
  • LocationBelgium
  • Graphics Card:Intel GMA X3100
  • Operating System:Mac OS X 10.7 (Lion)

Posted 26 April 2017 - 08:38 AM

Winetricks was updated to add a lot more support for 64bit stuff, including dotnet.

#9 gbsaab

gbsaab

    Novice Member

  • Members
  • 8 posts
  • Graphics Card:ATI Radeon HD 4850 512 MB graphics
  • Operating System:OS X 10.8 (Mountain Lion)

Posted 28 April 2017 - 06:37 AM

Have tried to create a vanilla prefix with .Net 4.5.2 and a 64-bit WINE.  WineTricks failed to install .NET.  It just sat there until I killed Wine processes.

So, I installed .NET 4.5.2 manually.  Then installed my 64-bit app and tried to run it.  It popped the same errors as before:

wine: Call from 0x7b434bef to unimplemented function mscoree.dll.CorIsLatestSvc, aborting

wine: Unimplemented function mscoree.dll.CorIsLatestSvc called at address 0x7b434bef (thread 001b), starting debugger...

err:module:import_dll Loading library MSVCR120_CLR0400.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe") failed (error c000007b).

err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe" failed, status c0000135

err:service:process_send_command service protocol error - failed to write pipe!

fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v4.0.30319_64" failed to start: 1053

err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed


I have 64-bit copies of MSVCR120_CLR0400.dll in both system32 and in syswow64.  I haven't tried manual alterations to the Registry yet as I'm uncertain about how.

I suspect pure 64-bit apps in WINE are still for the future.


Garry




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users