https://bugs.winehq.org/show_bug.cgi?id=46899
Bug ID: 46899 Summary: SIMATIC WinCC V15.1 Runtime installer: user can't accept license terms (richedit20 ITextRange::ScrollIntoView lacks handling of 'tomEnd') Product: Wine Version: 4.4 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks
continuation of bug 46898
Multiple EULAs are being displayed but the installer doesn't proceed further.
Trace log:
--- snip --- $ pwd /home/focht/Downloads/SIMATIC WinCC Runtime Advanced V15.1
$ WINEDEBUG=+seh,+process,+loaddll,+wbemprox,+msi,+richedit,+relay wine ./Start.exe >>log.txt 2>&1 ... 01de:Call KERNEL32.CreateProcessW(004f3280 L"C:\Program Files (x86)\Common Files\Siemens\Automation\Siemens Installer Assistant\406\SIA2.exe",004f2250 L""C:\Program Files (x86)\Common Files\Siemens\Automation\Siemens Installer Assistant\406\SIA2.exe" /starter /bundlepath="Z:\HOME\FOCHT\DOWNLOADS\SIMATIC WINCC RUNTIME ADVANCED V15.1\InstData"",00000000,00000000,00000001,00000000,00000000,00000000,0033fae8,0033fb2c) ret=00418015 ... 01de:trace:process:CreateProcessInternalW started process pid 01f0 tid 000d 01de:Ret KERNEL32.CreateProcessW() retval=00000001 ret=00418015 ... 000d:trace:richedit:RichEditWndProc_common exit hwnd 0x4011c msg 000d () 166 5011e98, unicode 1 -> 357 000d:Ret window proc 0x78f9d795 (hwnd=0x4011c,msg=WM_GETTEXT,wp=00000166,lp=05011e98) retval=00000165 000d:Ret user32.CallWindowProcW() retval=00000165 ret=0342770d 000d:Ret window proc 0xa5369a (hwnd=0x4011c,msg=WM_GETTEXT,wp=00000166,lp=05011e98) retval=00000165 000d:Ret user32.GetWindowTextW() retval=00000165 ret=03442179 ... 000d:trace:richedit:ITextRange_fnScrollIntoView (0x5257ea0)->(0) 000d:fixme:richedit:ITextRange_fnScrollIntoView bStart value 0 not handled ... 000d:Call KERNEL32.RaiseException(e0434352,00000001,00000005,0032dbd0) ret=791cac08 000d:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b44c142 ip=7b44c142 tid=000d 000d:trace:seh:raise_exception info[0]=80004001 000d:trace:seh:raise_exception info[1]=00000000 000d:trace:seh:raise_exception info[2]=00000000 000d:trace:seh:raise_exception info[3]=00000000 000d:trace:seh:raise_exception info[4]=79140000 000d:trace:seh:raise_exception eax=7b43a4ad ebx=00000005 ecx=00000000 edx=0032db8c esi=0032db8c edi=0032db50 000d:trace:seh:raise_exception ebp=0032db28 esp=0032dac4 cs=320023 ds=32002b es=f7be002b fs=f7be0063 gs=f7be006b flags=00200212 000d:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c code=e0434352 flags=1 ... 000d:trace:richedit:ITextRange_fnRelease 0x5257ea0 ref=2 ... 000d:trace:richedit:IRichEditOleImpl_inner_fnRelease 0x5293668 ref=4 ... 000d:trace:richedit:IRichEditOleImpl_inner_fnRelease 0x5293668 ref=3 ... --- snip ---
-> ITextRange::ScrollIntoView( tomEnd)
Application generated log:
--- snip --- ... 19:25:14|.. |BusinessLogic::GuiCommunicationOccured()|(01) Message recieved: Navigation (Next) 19:25:14|.. |Controller::ShowForm() |(01) Form: DisplayEula 19:25:14|... |Controller::ShowForm() |(01) m_EulaList.Count: System.Collections.Generic.Dictionary`2[System.String,Siemens.Automation.Setup.Sia.Gui.EulaItem] 19:25:15|.... |Controller::ShowForm() |(01) 19:25:15|.... |Controller::ShowForm() |(01) Show dialog: DisplayEula 19:25:15|.... |Controller::ShowForm() |(01) 19:25:15|.. |BusinessLogic::GetNavigationBehavior() |(01) Form: DisplayEula 19:25:25|ERROR |FatalError::UnhandledException occured |(01) Exception - NotImplementedException System.NotImplementedException: The method or operation is not implemented. 19:25:25|ERROR | ... continue line ... |Exception - at System.Windows.Forms.UnsafeNativeMethods.ITextRange.ScrollIntoView(Int32 value) 19:25:25|ERROR | ... continue line ... |Exception - at System.Windows.Forms.TextBoxBase.ScrollToCaret() 19:25:25|ERROR | ... continue line ... |Exception - at Siemens.Automation.Setup.Sia.Gui.Controls.Install.DisplayEula.ShowEulaText(EulaItem oEulaItem) 19:25:25|ERROR | ... continue line ... |Exception - at Siemens.Automation.Setup.Sia.Gui.Controls.Install.DisplayEula.lvEulaList_SelectedIndexChanged(Object sender, EventArgs e) 19:25:25|ERROR | ... continue line ... |Exception - at System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e) 19:25:25|ERROR | ... continue line ... |Exception - at System.Windows.Forms.ListView.WmReflectNotify(Message& m) 19:25:25|ERROR | ... continue line ... |Exception - at System.Windows.Forms.ListView.WndProc(Message& m) 19:25:25|ERROR | ... continue line ... |Exception - at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 19:25:25|ERROR | ... continue line ... |Exception - at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 19:25:25|ERROR | ... continue line ... |Exception - at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ... --- snip ---
Microsoft docs:
https://docs.microsoft.com/en-us/windows/desktop/api/tom/nf-tom-itextrange-s...
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/riched20/richole.c#l2...
--- snip --- 2468 static HRESULT WINAPI ITextRange_fnScrollIntoView(ITextRange *me, LONG value) 2469 { 2470 ITextRangeImpl *This = impl_from_ITextRange(me); 2471 ME_TextEditor *editor; 2472 ME_Cursor cursor; 2473 int x, y, height; 2474 2475 TRACE("(%p)->(%d)\n", This, value); 2476 2477 if (!This->child.reole) 2478 return CO_E_RELEASED; 2479 2480 editor = This->child.reole->editor; 2481 2482 switch (value) 2483 { 2484 case tomStart: 2485 ME_CursorFromCharOfs(editor, This->start, &cursor); 2486 ME_GetCursorCoordinates(editor, &cursor, &x, &y, &height); 2487 break; 2488 default: 2489 FIXME("bStart value %d not handled\n", value); 2490 return E_NOTIMPL; 2491 } 2492 ME_ScrollAbs(editor, x, y); 2493 return S_OK; 2494 } --- snip ---
$ sha1sum SIMATIC_WinCC_Runtime_Advanced_V15_1.exe db1f97bb648b62fa1c5d974d7f2bcb6b4a9fd786 SIMATIC_WinCC_Runtime_Advanced_V15_1.exe
$ du -sh SIMATIC_WinCC_Runtime_Advanced_V15_1.exe 1.3G SIMATIC_WinCC_Runtime_Advanced_V15_1.exe
$ wine --version wine-4.4-188-gc988910cae
Regards