https://bugs.winehq.org/show_bug.cgi?id=49351
Bug ID: 49351 Summary: PowerShell-7.0.1-win-x64.msi fails to install Product: Wine Version: 5.10 Hardware: x86 URL: https://github.com/PowerShell/PowerShell/releases/down load/v7.0.1/PowerShell-7.0.1-win-x64.msi OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: Debian
Created attachment 67388 --> https://bugs.winehq.org/attachment.cgi?id=67388 patch
From the forum https://forum.winehq.org/viewtopic.php?f=2&t=33963
It pops up messagebox
"PowerShell requires the Windows Management Framework 4.0 or newer to be installed to enable remoting over WinRM."
It checks for version of pwrshlplugin.dll; one could copy some wine system-dll with high enough version resource to pwrshlplugin.dll, like i said in forum, but as this dll is present on my win7, I guess we should just add it to wine. Attached patch , will send to wine-devel.
Note: Check seems to come from (https://github.com/PowerShell/PowerShell/blob/master/assets/Product.wxs)
<!-- Prerequisite check for Windows Management Framework --> <Property Id="PWRSHPLUGIN_VERSION" Secure="yes"> <DirectorySearchRef Id="System32" Parent="WindowsDirectory" Path="System32"> <FileSearch Id="pwrshplugin" Name="pwrshplugin.dll" MinVersion="6.3.9600.16383"/> </DirectorySearchRef> </Property>