Can't install dotnet4.0sp1

Questions about Wine on Linux
Locked
meyer
Level 3
Level 3
Posts: 50
Joined: Sat Jul 15, 2017 2:38 am

Can't install dotnet4.0sp1

Post by meyer »

I need to install dotnet4.0sp1. I tried winetricks, ths results in an error

Code: Select all

command wine msiexec /p NDP40-KB2468871.msp returned status 69. Aborting.
When i try to install the exe manually the dotnet-installer gives my this error:

Code: Select all

KB2468871v2 does not apply, or is blocked by another condition on your computer.
My wine-version is wine-8.0-rc2.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install dotnet4.0sp1

Post by jkfloris »

Is it possible to manually install KB2468871 in the same way as winetricks?

Code: Select all

# Install .Net 4.0
winetricks -q dotnet40

# Extract KB2468871 from the winetricks cache
7z -o${HOME}/.wine/drive_c/net4kb x ${HOME}/.cache/winetricks/dotnet40_kb2468871/NDP40-KB2468871-v2-x64.exe

# Install the update
cd ${HOME}/.wine/drive_c/net4kb
WINEDLLOVERRIDES="ngen.exe=n" wine msiexec /p NDP40-KB2468871.msp
meyer
Level 3
Level 3
Posts: 50
Joined: Sat Jul 15, 2017 2:38 am

Re: Can't install dotnet4.0sp1

Post by meyer »

I found some threads reporting this issue and it should be fixed since wine 5.x.

I'll try a wine update to the last version and if this isn't working i'll try the manually install.
meyer
Level 3
Level 3
Posts: 50
Joined: Sat Jul 15, 2017 2:38 am

Re: Can't install dotnet4.0sp1

Post by meyer »

Doesn't work. When i install the update i have this error:

Code: Select all

WINEDLLOVERRIDES="ngen.exe=n" wine msiexec /p NDP40-KB2468871.msp
0098:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0098:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0098:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0098:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00a8:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
0114:fixme:file:NtLockFile I/O completion on lock not implemented yet
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install dotnet4.0sp1

Post by jkfloris »

I'll try a wine update to the last version
Update your winetricks version as well

Code: Select all

sudo winetricks --self-update
When i install the update i have this error:
I get this output when .Net 4.0 (dotnet40) is not installed. Is the .Net 4.0 installation successful?
meyer
Level 3
Level 3
Posts: 50
Joined: Sat Jul 15, 2017 2:38 am

Re: Can't install dotnet4.0sp1

Post by meyer »

updating wine to the last version doesn't change anything. winetricks is up to date. dotnet40 is installed.

Code: Select all

winetricks list-installed
...
dotnet40
dotnet48
...
i only need to installed dotnet40sp1 when dotnet40 is installed. when i try a new prefix without any dotnet-stuff ADE is working without problems.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install dotnet4.0sp1

Post by jkfloris »

I expect the installation of .Net 4.8 will make the installation of KB2468871 unnecessary.
Does the installation work if .Net 4.8 is not installed?

Code: Select all

WINEPREFIX="${HOME}/dotnet-test" winetricks dotnet40_kb2468871
meyer
Level 3
Level 3
Posts: 50
Joined: Sat Jul 15, 2017 2:38 am

Re: Can't install dotnet4.0sp1

Post by meyer »

Without .NET 4.8 the installation works. But i need .NET 4.8 because of ChanSort (a program to edit the tv channel list).
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install dotnet4.0sp1

Post by jkfloris »

.Net 4.8 replaces the KB2468871 update.

If only .Net 4.0 with the KB2468871 update is installed:

Code: Select all

$ winetricks -q dotnet40_kb2468871
$ wine uninstaller --list
Microsoft .NET Framework 4 Client Profile|||Microsoft .NET Framework 4 Client Profile
Microsoft .NET Framework 4 Extended|||Microsoft .NET Framework 4 Extended
{8E34682C-8118-31F1-BC4C-98CD9675E1C2}.KB2468871|||Update for Microsoft .NET Framework 4 Extended (KB2468871)
After installing .Net 4.8:

Code: Select all

$ winetricks -q dotnet48
$ wine uninstaller --list
Microsoft .NET Framework 4 Client Profile|||Microsoft .NET Framework 4 Client Profile
{92FB6C44-E685-45AD-9B20-CADF4CABA132} - 1033|||Microsoft .NET Framework 4.8
Maybe you can install the program that requires KB2468871 in its own WINEPREFIX.
meyer
Level 3
Level 3
Posts: 50
Joined: Sat Jul 15, 2017 2:38 am

Re: Can't install dotnet4.0sp1

Post by meyer »

Maybe you can install the program that requires KB2468871 in its own WINEPREFIX.
this is what i've done now.
Locked