[Bug 18154] New: cmd.exe: failure to handle file extension association
http://bugs.winehq.org/show_bug.cgi?id=18154 Summary: cmd.exe: failure to handle file extension association Product: Wine Version: 1.1.19 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P4 Component: programs AssignedTo: wine-bugs(a)winehq.org ReportedBy: swelef(a)post.sk cmd.exe doesn't handle extension association. Test case: Install ActivePerl, create a dummy perl script test.pl and run wine cmd /c test.pl cmd.exe will try to run test.pl as Unix binary trace:process:CreateProcessW starting L"C:\\\\test.pl" as Unix binary and (probably) fail instead of running Perl.exe as the Windows XP command cmd /c perl.pl Source code analysis: The function programs/cmd/wcmdmain.c:WCMD_run_program calls FindExecutable but mostly ignores the result. This looks like an unfinished work. Remark: Theoretically, some program could rely on the association. As long as such program is not known, this is a low priority issue. Users should prefer the explicit command wine perl test.pl (or "wine start /W test.pl" if they want a new console). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18154 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2009-10-29 15:12:34 --- Still present. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18154 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|programs |cmd -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18154 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk --- Comment #2 from Jason Edmeades <us(a)edmeades.me.uk> 2010-01-06 18:26:38 --- Adding myself to the cmd bugs -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18154 --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2012-04-02 01:30:32 CDT --- http://downloads.activestate.com/ActivePerl/releases/5.12.4.1205/ActivePerl-... 4960d172c3b8b5e453c65ae4930bbca96b04e580 ActivePerl-5.12.4.1205-MSWin32-x86-294981.msi $ cat test.pl print "Hello World\n"; $ perl test.pl Hello World $ wine cmd /c test.pl File not found. $ wine /home/austin/.wine/drive_c/Perl/bin/perl.exe test.pl Hello World still in 1.5.1 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- http://downloads.activestate.com/ActivePerl/releases/5.18.2.1802/ActivePerl-... austin(a)aw25 ~ $ du -h ActivePerl-5.18.2.1802-MSWin32-x86-64int-298023.msi 28M ActivePerl-5.18.2.1802-MSWin32-x86-64int-298023.msi austin(a)aw25 ~ $ sha1sum ActivePerl-5.18.2.1802-MSWin32-x86-64int-298023.msi 1304d45b2f7a2e022de0b8db28967fa6ea2a358e ActivePerl-5.18.2.1802-MSWin32-x86-64int-298023.msi austin(a)aw25 ~ $ wine --version wine-1.7.20-33-g3ccaad8 still present. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #5 from Fabian Maurer <dark.shadow4(a)web.de> --- Is this still relevant? It's currently blocked by bug 45234. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |45234 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 --- Comment #6 from Jason Edmeades <us(a)edmeades.me.uk> --- I believe the underlying problem to still be there, and is also probably (to be confirmed) the same underlying problem as bug#36646. What happens is we see its a perl program, work out the exe which would be launched and look at that exe to see if its a console app or a windows app, but then fail to read and process the 'Open' operation for that file extension, instead falling back to launch test.pl which isnt recognized. I plan on looking at these 2 bugs together very soon -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs(a)winehq.org |us(a)edmeades.me.uk -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #7 from Jason Edmeades <us(a)edmeades.me.uk> --- *** Bug 36646 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 --- Comment #8 from Jason Edmeades <us(a)edmeades.me.uk> --- https://www.winehq.org/pipermail/wine-devel/2018-September/132656.html -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 winetaste(a)gmx.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste(a)gmx.net -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yother.andrew(a)gmail.com --- Comment #9 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 47500 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer, patch Severity|enhancement |normal URL| |https://web.archive.org/web | |/20181004075559/https://dow | |nload.microsoft.com/downloa | |d/C/4/8/C48F6E20-FE20-41C6- | |8C1C-408FE7B49A3A/Windows7- | |USB-DVD-Download-Tool-Insta | |ller-en-US.exe --- Comment #10 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, revisiting, still present. Setting priority to 'normal' as installers rely on that. Consider the patch for Wine-Staging and try to mainline it. Kinda sad this bug exists for many years. Wine source: https://source.winehq.org/git/wine.git/blob/HEAD:/programs/cmd/wcmdmain.c#l1... $ sha1sum Windows7-USB-DVD-Download-Tool-Installer-en-US.exe ed1108a525066d1f850023cb5bfa05fc4ed21983 Windows7-USB-DVD-Download-Tool-Installer-en-US.exe $ du -sh Windows7-USB-DVD-Download-Tool-Installer-en-US.exe 2.6M Windows7-USB-DVD-Download-Tool-Installer-en-US.exe $ wine --version wine-4.12.1 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair(a)hotmail.com --- Comment #11 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- (In reply to Jason Edmeades from comment #8)
https://www.winehq.org/pipermail/wine-devel/2018-September/132656.html
Can you please attached a rebased version of these patches here? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 --- Comment #12 from Jason Edmeades <us(a)edmeades.me.uk> --- For reference, I dont believe this patch was rejected and at the time was good to go, but I sent it in a batch of fixes and one earlier in the chain needed rework so this never got in. Unfortunately I'm not working on linux/wine at the moment, so cannot rebase, but feel free to resubmit -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/cmd-launch-assoc | |iation Status|NEW |STAGED -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Jeff L <lats(a)yless4u.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lats(a)yless4u.com.au --- Comment #13 from Jeff L <lats(a)yless4u.com.au> --- Created attachment 69493 --> https://bugs.winehq.org/attachment.cgi?id=69493 Rebased patch I have rebased Jason Edmeades patch. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com Resolution|--- |FIXED Fixed by SHA1| |0d25bd8c5fafbaa5b8002b5fcec | |75712304be3d7 Status|STAGED |RESOLVED --- Comment #14 from Zeb Figura <z.figura12(a)gmail.com> --- Fixed by 0d25bd8c5fafbaa5b8002b5fcec75712304be3d7. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18154 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.17. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla