I am on a Gentoo system, if that is relevant, kernel 6.5.7
When I do the 'winetricks --force dotnet40' step in a vanilla environment, the MS installer finishes saying it has installed.
However, if I try the same on the Proton environment supplied by GE-Proton8-17 the installer fails. It gives the following log file:
Code: Select all
OS Version = 5.2.3790, Platform 2, Service Pack 2
OS Description = WinXP64 - x64 Professional Service Pack 2
CommandLine = C:\6666de0ad686ae9d4bf6514a550cd2\\Setup.exe /x86 /x64
TimeZone = GMT Daylight Time
Initial LCID = 2057
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft .NET Framework 4 Setup
Package Version = 4.0.30319
User Experience Data Collection Policy: UserControlled
Number of applicable items: 8
MSI (C:\6666de0ad686ae9d4bf6514a550cd2\RGB9RAST_x64.msi) Installation succeeded. Msi Log: Microsoft .NET Framework 4 Setup_20231015_210619605-MSI_RGB9RAST_x64.msi.txt
MSI (C:\6666de0ad686ae9d4bf6514a550cd2\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20231015_210619605-MSI_netfx_Core_x64.msi.txt
Final Result: Installation failed with error code: (0x80070643), "Installation failure. " (Elapsed time: 0 00:01:04).
Code: Select all
1: RGB9RAST 2: {C106C9CF-3B7C-4F7D-88DD-82661E01414E}
1: RGB9RAST 2: {C106C9CF-3B7C-4F7D-88DD-82661E01414E} 3: 1
Code: Select all
1: Microsoft .NET Framework 4 Client Profile 2: {F5B09CFD-F0B2-36AF-8DF4-1DF6B63FC7B4}
1: Microsoft .NET Framework 4 Client Profile 2: {F5B09CFD-F0B2-36AF-8DF4-1DF6B63FC7B4} 3: 0
None of this looks particularly helpful to me, and MS responses to the error code (0x80070643) basically amount to "shrug", try rebooting.

I know GE-Proton and Proton are not produced by wine HQ, but, the program I want to run with my games (WeMod) needs dotnet48, and I have a need for assistance from people who understand Wine or ideally have done things with the dotnet components.
I have found two GE-Proton environments where just installing dotnet48 (so running ndp48-x86-x64-allos-enu.exe without first removing Mono) actually works (in that WeMod will actually run). This seems like a fluke.
I am hoping that someone can suggest some things to try (like registry hacking maybe) that might allow me to work out what the difference is between vanilla Wine and GE-Proton wine that is causing the dotnet40 installer to fail.