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"