https://bugs.winehq.org/show_bug.cgi?id=49966
Bug ID: 49966 Summary: powershell_ise.exe fails with Unhandled Exception: System.NotImplementedException: The method or operation is not implemented. at System.Runtime.InteropServices.Marshal.ThrowEx Product: Wine Version: 5.18 Hardware: x86-64 URL: http://download.windowsupdate.com/msdownload/update/so ftware/updt/2009/11/windowsserver2003-kb968930-x64-eng _8ba702aa016e4c5aed581814647f4d55635eff5c.exe OS: Linux Status: NEW Keywords: dotnet, download Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: ---
Created attachment 68364 --> https://bugs.winehq.org/attachment.cgi?id=68364 winetricks addition to install
powershell_ise.exe from download fails with
00d4:fixme:seh:WerSetFlags (0) stub 00d4:fixme:msvcrt:__clean_type_info_names_internal (0x642ff4a60f8) stub
Unhandled Exception: System.NotImplementedException: The method or operation is not implemented. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Management.Automation.WindowsErrorReporting.RegisterWindowsErrorReporting(Boolean unattendedServer) at Microsoft.Windows.PowerShell.GuiExe.Internal.GPowerShell.Main(String[] args)
when winversion set to win7.
Returning S_OK in WerSetFlags makes it start fine into GUI. Seems like a more reasonable return value anyway ...
Note: To work around bug https://bugs.winehq.org/show_bug.cgi?id=25740 and missing Lucida font I used custum attached winescript script, and do "winetricks dotnet35sp1 dotnet40 dotnet48 powershell20 lucida win7"
https://bugs.winehq.org/show_bug.cgi?id=49966
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Sent a patch: https://www.winehq.org/pipermail/wine-devel/2020-October/175351.html
https://bugs.winehq.org/show_bug.cgi?id=49966
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |3d2add846cc69f2b218352d6808 | |a58998540d85f
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Fixed by 3d2add846cc69f2b218352d6808a58998540d85f
https://bugs.winehq.org/show_bug.cgi?id=49966
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.20.
https://bugs.winehq.org/show_bug.cgi?id=49966
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.windowsupda |https://web.archive.org/web |te.com/msdownload/update/so |/20200924155535/http://down |ftware/updt/2009/11/windows |load.windowsupdate.com/msdo |server2003-kb968930-x64-eng |wnload/update/software/updt |_8ba702aa016e4c5aed58181464 |/2009/11/windowsserver2003- |7f4d55635eff5c.exe |kb968930-x64-eng_8ba702aa01 | |6e4c5aed581814647f4d55635ef | |f5c.exe CC| |focht@gmx.net