https://bugs.winehq.org/show_bug.cgi?id=53037
Bug ID: 53037 Summary: ChemDraw 21 installer doesn't allow accepting the license Product: Wine Version: 7.7 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Created attachment 72405 --> https://bugs.winehq.org/attachment.cgi?id=72405 Screenshot of license dialog
Follow those steops: 1) WINEARCH=win32 winetricks vb6run 2) wine cos21.0.0.exe 3) When asked for activation, select trial (10 launches)
Now it shows a license dialog, where you need to scroll down so it allows you to accept the license. This doesn't work in wine, and you can't continue.
https://bugs.winehq.org/show_bug.cgi?id=53037
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://info.perkinelmer.co | |m/ChemOfficePlus?product=IN | |F02321&version=21 Blocks| |53021 Keywords| |download, Installer
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Archived download here: https://web.archive.org/web/20220521235628/https://download.flexnetoperation...
https://bugs.winehq.org/show_bug.cgi?id=53037
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Created attachment 72406 --> https://bugs.winehq.org/attachment.cgi?id=72406 Small program to work around the issue
https://bugs.winehq.org/show_bug.cgi?id=53037
Florian Schreiner florian.schreiner@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |florian.schreiner@protonmai | |l.com
--- Comment #3 from Florian Schreiner florian.schreiner@protonmail.com --- Created attachment 72407 --> https://bugs.winehq.org/attachment.cgi?id=72407 Error message after progressing to the installation
I just tried to replicate the issue. Scrolling to the top and down again, sometimes several times resolves it for me. But even getting past this bug results in a error dialog upon clicking the final install button. Error message: "Run-time error '35601'
Element not found"
https://bugs.winehq.org/show_bug.cgi?id=53037
--- Comment #4 from Fabian Maurer dark.shadow4@web.de ---
I just tried to replicate the issue. Scrolling to the top and down again, sometimes several times resolves it for me.
Interesting, can't replicate that...
But even getting past this bug results in a error dialog upon clicking the final install button.
Please open yet another bugreport for this, and link it here.
https://bugs.winehq.org/show_bug.cgi?id=53037
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Created attachment 72408 --> https://bugs.winehq.org/attachment.cgi?id=72408 Small test program showing a difference between Wine and Window
For some reason, Wine doesn't allow to access the scroll info, while it works on windows. Could or could not be the issue.
https://bugs.winehq.org/show_bug.cgi?id=53037
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Created attachment 72409 --> https://bugs.winehq.org/attachment.cgi?id=72409 Hack to work around the issue
Attaching a workaround. Also notable is, that the textbox is 14 lines on Wine and 13 lines on my Win7 machine. "winetricks corefonts" reduces the size to 12 lines. With that it works even without the workaround, but only if you scroll one line up from the very bottom. With the workaround, you need to scroll two lines up...
No matter the font size, the scrollbar range is 0-186.
https://bugs.winehq.org/show_bug.cgi?id=53037
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- I suspected the program just hardcodes the amount of lines, here is the proof. Since the program is VB, we can pretty easily take a peek with a disassembler. Here a trimmed snipped:
push 00000001h mov eax, var_B0 push eax call GetScrollPos mov var_B4, eax ... lea edx, var_24 push edx lea eax, var_20 push eax push 00000001h mov ecx, var_B0 push ecx call GetScrollRange mov edx, var_24 sub edx, 0000000Ch jo 007493D8h cmp var_B4, edx jnz 0074928Ah ... 0074928A: ... 007493D8h:
High level code translation (Might be not 100% accurate):
pos = GetScrollPos(<hwnd>, 1) GetScrollRange(<hwnd>, 1, &dummy, &max) if (pos == max - 12) { //Disable timer, enable radio buttons }
Seems like a badly designed program TBH, but it's what we have to deal with.
https://bugs.winehq.org/show_bug.cgi?id=53037
Florian Schreiner florian.schreiner@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |53040
https://bugs.winehq.org/show_bug.cgi?id=53037
--- Comment #8 from Florian Schreiner florian.schreiner@protonmail.com --- I opened the new bug.
Please open yet another bugreport for this, and link it here.
https://bugs.winehq.org/show_bug.cgi?id=53040
https://bugs.winehq.org/show_bug.cgi?id=53037
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- Still present as of wine-7.20. Still not quite sure how to fix that.