Installing dotnet48 on wine64

Questions about Wine on Linux
Post Reply
winrick88
Newbie
Newbie
Posts: 2
Joined: Thu May 22, 2025 2:11 pm

Installing dotnet48 on wine64

Post by winrick88 »

Trying to install .NET framework 4.8 on wine64. I am seeing this error:

Code: Select all

0110:err:environ:init_peb starting L"Y:\\dotnet40\\dotNetFx40_Full_x86_x64.exe" in experimental wow64 mode
0110:err:module:load_wow64_ntdll failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
0110:err:virtual:virtual_setup_exception stack overflow 1808 bytes addr 0x170025c09 stack 0x4408f0 (0x440000-0x441000-0x53fd20)
Some Google search indicates it's because of an error starting WOW64 presumabley to load dotNetFx40_Full_x86_x64.exe, which is actually a 32-bit binary:

Code: Select all

#:/$ file /home/user/.cache/winetricks/dotnet40/dotNetFx40_Full_x86_x64.exe
#: PE32 executable (GUI) Intel 80386, for MS Windows, 5 sections
So firstly the issue is why is it required to load a 32-bit binary to install a 64-bit package.

And then secondly why is WOW64 throwing this error?

I did try installing wine32 but it seems that it does not work with wine64 installed, giving the following error:

Code: Select all

#:/$ wine notepad
wine: could not load kernel32.dll, status c0000135
So I understand wine32 and wine64 are incompatible.

So from the above:
  • installing dotnet48 on wine64 requires execution of a 32-bit binary.

    WOW64 does not seem to work properly executing this binary.

    Wine32 doesn't work with wine64 installed.
So it seems impossible to install dotnet48 on wine64.

Any ideas? thanks.


Code: Select all

:~# apt list --installed
wine64/stable,now 8.0~repack-4 amd64 [installed]
wine/stable,stable,now 8.0~repack-4 all [installed,automatic]

Code: Select all

user@penguin:~$ ./winetricks -q dotnet48
Executing cd .
------------------------------------------------------
warning: Unknown file arch of /usr/bin/wine.
------------------------------------------------------
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
warning: WoW64 type could not be detected.
------------------------------------------------------
Using winetricks 20250102-next - sha256sum: ed0b1c7e37abb8ff892807d5db1fdfac68ec1c7ecfc14b8ef85e9da81d1efbb7 with wine-8.0 (Debian 8.0~repack-4) and WINEARCH=win64
Executing w_do_call dotnet48
Executing load_dotnet48 
------------------------------------------------------
warning: This package (dotnet48) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
Executing w_do_call remove_mono internal
Executing load_remove_mono internal
Executing w_do_call dotnet40
Executing load_dotnet40 
------------------------------------------------------
warning: This package (dotnet40) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
------------------------------------------------------
warning: dotnet40 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call remove_mono internal
Executing load_remove_mono internal
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32:i386"
Executing w_do_call winxp
Executing load_winxp 
Executing wine winecfg -v winxp64
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32:i386"
------------------------------------------------------
warning: Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/home/user/.wine terminate
------------------------------------------------------
Executing cd /home/user/.cache/winetricks/dotnet40
Executing wine dotNetFx40_Full_x86_x64.exe /q /c:install.exe /q
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32:i386"
0110:err:environ:init_peb starting L"Y:\\dotnet40\\dotNetFx40_Full_x86_x64.exe" in experimental wow64 mode
0110:err:module:load_wow64_ntdll failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
0110:err:virtual:virtual_setup_exception stack overflow 1808 bytes addr 0x170025c09 stack 0x4408f0 (0x440000-0x441000-0x53fd20)
Using native override for following DLLs: mscoree
Executing wine C:\windows\syswow64\regedit.exe /S C:\windows\Temp\_dotnet40\override-dll.reg
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32:i386"
wine: failed to open "C:\\windows\\syswow64\\regedit.exe": c0000135
------------------------------------------------------
egedit.exe /S C:\windows\Temp\_dotnet40\override-dll.reg returned status 53. Aborting.
------------------------------------------------------

desessarts
Level 4
Level 4
Posts: 195
Joined: Wed Oct 04, 2023 7:57 am

Re: Installing dotnet48 on wine64

Post by desessarts »

with the latest winetricks it works for me

Code: Select all

$ WINEARCH=win64 WINEPREFIX=~/.winetest/ wineboot -u


I refused to install Mono

Code: Select all

$ WINEARCH=win64 WINEPREFIX=~/.winetest/ winetricks -q dotnet48
no error message, and then

Code: Select all

$ WINEARCH=win64 WINEPREFIX=~/.winetest/ winetricks list-installed
Executing cd /usr/bin
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
warning: You appear to be using Wine's new wow64 mode. Note that this is EXPERIMENTAL and not yet fully supported. If reporting an issue, be sure to mention this.
------------------------------------------------------
Using winetricks 20250102-next - sha256sum: ed0b1c7e37abb8ff892807d5db1fdfac68ec1c7ecfc14b8ef85e9da81d1efbb7 with wine-10.8 and WINEARCH=win64
remove_mono internal
remove_mono internal
winxp
dotnet40
dotnet48
$ 
Debian 12

wine 10.8
Post Reply