https://bugs.winehq.org/show_bug.cgi?id=56417
Bug ID: 56417 Summary: You must install or update. NET to run this application. Product: Wine Version: 9.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: HalanoSiblee@gmail.com Distribution: ---
Created attachment 76180 --> https://bugs.winehq.org/attachment.cgi?id=76180 Screenshot of the bug
I'm trying to run W3D HUB LAUNCHER https://w3dhub.com/ But it's seems the application can't detect dotnet 7 even i've install wine mono and dotnet 7 x64 The problem still exist program can't detect it many dotnet windows software run on my system just fine expect this one idk what's wrong for this specific application.
https://bugs.winehq.org/show_bug.cgi?id=56417
HalanoSiblee@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=56417
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs Status|UNCONFIRMED |NEW CC| |xerox.xerox2000x@gmail.com Keywords| |download Ever confirmed|0 |1 URL| |https://w3dhub.com/
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming + add some info.
The problem seems it tries to run some powershell scripts, whereas powershell is a complete stub in wine: 0160:fixme:powershell:wmain argv[0] L"powershell" 0160:fixme:powershell:wmain argv[1] L"-inputformat" 0160:fixme:powershell:wmain argv[2] L"none" 0160:fixme:powershell:wmain argv[3] L"-ExecutionPolicy" 0160:fixme:powershell:wmain argv[4] L"RemoteSigned" 0160:fixme:powershell:wmain argv[5] L"-File"
The scripts are deleted again by the installer (cmd /c del *.ps1) but if you disable cmd.exe you can find them in the temp directory). For completeness I post content of the three scripts below. You can use this powershell wrapper that's made for Waves Central: https://github.com/PietJankbal/powershell-wrapper-for-wine. After install that I was able to get the main window up.
For completeness here's content of the three scripts that it tries to run:
Write-Host (Invoke-WebRequest -UseBasicParsing -URI "https://dotnetcli.azureedge.net/dotnet/WindowsDesktop/7.0/latest.version%22)...;
Invoke-WebRequest -UseBasicParsing -URI "https://dotnetcli.azureedge.net/dotnet/Runtime//windowsdesktop-runtime--win-..." -OutFile "C:\users\louis\Temp\nse9d1e.tmp.exe"
dotnet --list-runtimes | % { if($_ -match ".*WindowsDesktop.*(7.0.\d+).*") { $matches[1] } } | Sort-Object {[int]($_ -replace '\d.\d.(\d+)', '$1')} -Descending | Select-Object -first 1
https://bugs.winehq.org/show_bug.cgi?id=56417
HalanoSiblee@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #2 from HalanoSiblee@gmail.com --- Thanks ,after installing powershell-wrapper-for-wine it works and dotnet message gone but main window appears fully black, and i can't use it.
https://bugs.winehq.org/show_bug.cgi?id=56417
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, please leave the bugreport open as nothing is fixed wine.
About the black window: I don't get that, it works fine here.
What wine version are you using? As I remember there was a regression lately with .Net programs showing black windows but that should be fixed in recent wine-9.4
https://bugs.winehq.org/show_bug.cgi?id=56417
--- Comment #4 from HalanoSiblee@gmail.com --- I'm on wine 9.3-1,as 9.4 coming soon on arch repo after update i'll post if we get rid of. net black windows or not.
https://bugs.winehq.org/show_bug.cgi?id=56417
--- Comment #5 from HalanoSiblee@gmail.com --- Black window gone everything works fine after update to wine 9.4.1 + powershell-wrapper-for-wine Thanks for help.