https://bugs.winehq.org/show_bug.cgi?id=47310
Bug ID: 47310 Summary: Canon TS3100 series full driver & software package, installation is blocked after WinZip extraction with the message, "To install the software, you must be logged in to an administrator account." Product: Wine Version: 4.0.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fzcooper@gmail.com Distribution: ---
Created attachment 64617 --> https://bugs.winehq.org/attachment.cgi?id=64617 Error message given by attempted installation.
From https://wiki.winehq.org/FAQ#Should_I_run_Wine_as_root.3F
"As far as Windows programs are concerned, you are running with administrator privileges. If an application complains about a lack of administrator privileges, file a bug; running Wine as root probably won't help."
The TS3122 printer / scanner offers network functionality or I wouldn't even try the driver in Wine. The Linux counterpart is lacking in features.
Driver download available at: https://www.usa.canon.com/internet/portal/us/home/support/details/printers/i...
The error message appears after this output on both the win7 and win7-x64 versions:
... Wine-gdb> 003d:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33faa0, 0x33fab0 0x33faa4 003d:fixme:nls:get_dummy_preferred_ui_language (0x38 0x33faa0 0x33fab0 0x33faa4) returning a dummy value (current locale) 003f:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"! 003f:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x23f360, 0x23f370 0x23f364 003f:fixme:nls:get_dummy_preferred_ui_language (0x38 0x23f360 0x23f370 0x23f364) returning a dummy value (current locale) 003f:fixme:nls:GetThreadPreferredUILanguages 00000004, 0x23e8f0, 0x23e900 0x23e8f4 003f:fixme:nls:get_dummy_preferred_ui_language (0x4 0x23e8f0 0x23e900 0x23e8f4) returning a dummy value (current locale) 003f:fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0x00000001 5 0x23f2e0 0x23f304 003f:fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0x00000001 7 0x23f2f0 0x23f304
Older versions of windows are not supported for this driver and there is no download available.
https://bugs.winehq.org/show_bug.cgi?id=47310
Fred fzcooper@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wtsapi32
https://bugs.winehq.org/show_bug.cgi?id=47310
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Confirming. Could be related to bug 40613, but not entirely sure.
From https://wiki.winehq.org/FAQ#Should_I_run_Wine_as_root.3F
Yes, wine should by default simulate admin privileges to all windows programs. But something is broken here.
The TS3122 printer / scanner offers network functionality or I wouldn't even try the driver in Wine. The Linux counterpart is lacking in features.
Note however, that running windows drivers under wine won't work due to the architecture of wine. You can't directly access hardware from inside wine.
https://bugs.winehq.org/show_bug.cgi?id=47310
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wtsapi32 |-unknown URL| |https://www.usa.canon.com/i | |nternet/portal/us/home/supp | |ort/details/printers/inkjet | |-multifunction/ts-series-in | |kjet/pixma-ts3120-black-wir | |eless-all-in-one-inkjet-pri | |nter?subtab=downloads-drive | |rs Keywords| |download Severity|major |normal
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Not a major issue, and why did you assume it's an wtsapi32 issue?
https://bugs.winehq.org/show_bug.cgi?id=47310
--- Comment #3 from Fred fzcooper@gmail.com --- Sorry, the guidelines were ambiguous as to what severity to choose. I chose major because it breaks the program completely. I guess that would be reserved for bugs that break wine itself completely.
I understand hardware is not accessible. I was hoping that by not attempting to use hardware directly and instead using the network driver it would function. I'd guess that would be based on sockets / streams rather than direct hardware access. Maybe none of it will work, but testing it is a good way to find out.
I marked it as wtsapi32 because of the wtsapi call.
https://bugs.winehq.org/show_bug.cgi?id=47310
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- For what severity means, please see https://bugs.winehq.org/page.cgi?id=fields.html
Those FIXMES might be an indicator of what's wrong, but usually they are not.
What do you mean by sockets/streams? I never saw a driver connecting to a hardware via sockets, USB could be possible - but still a stretch in wine.
https://bugs.winehq.org/show_bug.cgi?id=47310
--- Comment #5 from Fred fzcooper@gmail.com --- Thanks for the link.
The printer is not plugged into any computer. It is controlled over wifi from a smartphone, computer, etc. USB is an option but I'm not using it. I think the actual driving of the hardware is the responsibility of the printer / scanner itself and the computer manages the data.
https://bugs.winehq.org/show_bug.cgi?id=47310
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47310
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wtsapi32 CC| |xerox.xerox2000x@gmail.com
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Fred from comment #3)
I marked it as wtsapi32 because of the wtsapi call.
I guess that was a good guess after all ;)
004b:fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0x00000001 7 0x22f300 0x22f314
That seems to be querying WTSDomainName, which returns nothing in current wine.
If you hack to just return a fake string (like your username) the installer gets further.
Sometimes it crashes then , but mostly the initial setupwindow comes up.
It then tries to download things but for me does not really succeed.
Anyway, marking (again) as wtsapi bug
https://bugs.winehq.org/show_bug.cgi?id=47310
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.usa.canon.com/i |https://web.archive.org/web |nternet/portal/us/home/supp |/20190528224651/http://gdlp |ort/details/printers/inkjet |01.c-wss.com/gds/8/01000087 |-multifunction/ts-series-in |58/02/win-ts3100-1_1-n_mcd. |kjet/pixma-ts3120-black-wir |exe |eless-all-in-one-inkjet-pri | |nter?subtab=downloads-drive | |rs | Keywords| |Installer Summary|Canon TS3100 series full |Canon TS3100 series full |driver & software package, |driver and software package |installation is blocked |refuses to install: "To |after WinZip extraction |install the software, you |with the message, "To |must be logged in to an |install the software, you |administrator account." |must be logged in to an | |administrator account." | CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=47310
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 64619 --> https://bugs.winehq.org/attachment.cgi?id=64619 patch semi stub
here`s kind of semi-stub, shamelessly stolen from netapi32 code.
I guess this might need some tests, i`ll see if i can fixup something
https://bugs.winehq.org/show_bug.cgi?id=47310
Julian Rüger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=47310
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 69669 --> https://bugs.winehq.org/attachment.cgi?id=69669 crash if initial window has focus
Hi Gijs, i saw you submitted patch that i had totally forgotten about + thanks for that and adding tests
I tested in current git, and the "you must be administrator" bug is gone and now there`s a crash after the file are extracted. Seems to be a windowing bug, seemingly unrelated to the issue this bugreport was about. Maybe something with DIALOG_CreateIndirect, bugzilla shows more hits about that (?)
Anyway, I found simple way to get the installer get up and finish (there was some calls to GetForeGroundWindow just before crash that gave me hint):
- Start the installer and when the initial (extraction-)window comes up, click somewhere on another window like your terminal or a browser window so that one gets focus. Then the installer proceeds without crashing.
If the initial window keeps focus there`a 100% chance of crash, if it looses focus the intaller starts 100% of the times. The installer also starts download files and i stopped when it was searching for a printer (i do not have one even)
I attached crashlog for completeness, but this should really be tracked in new bugreport. I resolve this one as fixed.
-
https://bugs.winehq.org/show_bug.cgi?id=47310
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |c6f133f6351b66b265748fc3383 | |85cd29a553a53
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- fixed by c6f133f6351b66b265748fc338385cd29a553a53
For followup bug please open new bugreport, or use workaround from comment 8
https://bugs.winehq.org/show_bug.cgi?id=47310
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.5.
https://bugs.winehq.org/show_bug.cgi?id=47310
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=47310
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #11 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.2.