[Bug 17124] New: MSYS installer doesn't pop up cmd window?
http://bugs.winehq.org/show_bug.cgi?id=17124 Summary: MSYS installer doesn't pop up cmd window? Product: Wine Version: 1.1.13 Platform: Other URL: http://www.mingw.org/wiki/msys OS/Version: other Status: NEW Keywords: download, Installer, source Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: austinenglish(a)gmail.com When install msys, it floods the terminal with: This is a post install process that will try to normalize betweenyour MinGW install if any as well as your previous MSYS installs if any. I don't have any traps as aborts will not hurt anything.Do you wish to continue with the post install? [yn ] pi.sh: [: ==: unary operator expectedDo you have MinGW installed? [yn ] pi.sh: [: ==: unary operator expectedWhen you install MinGW I suggest you install it to C:/mingw(replace C: with the drive of your choice). Then create an/etc/fstab file with a line that has a value similar to:C:/mingw /mingwPress ENTER to continue Normalizing your MSYS environment.You have script /bin/awkYou have script /bin/cmdYou have script /bin/echoYou have script /bin/egrepYou have script /bin/exYou have script /bin/fgrepYou have script /bin/printfYou have script /bin/pwdYou have script /bin/rviYou have script /bin/rviewYou have script /bin/rvimYou have script /bin/viYou have script /bin/viewMinGW-1.1 has a version of make.exe within it's bin/ directory.Please be sure to rename this file to mingw32-make.exe once youve echo installed MinGW-1.1 because it\s very deficient in function.Press ENTER to continue.C:\msys\1.0\postinstall>pause Press Return key to continue: Towards the end. It looks like something that should be in a cmd prompt (haven't tested on windows yet). The line endings are also wrong, but that's another bug. -- 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=17124 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|other |Linux Platform|Other |PC -- 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=17124 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal --- Comment #1 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-01-24 22:07:54 --- I think this affects several apps, eg. Visual Studio when you attempt to open a cmd window also doesn't create a window - you just see the output of cmd.exe on the terminal used to start wine. -- 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=17124 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2010-08-26 11:36:55 --- http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe Still in git. On windows it does pop up a new window, I'll attach a screenshot. -- 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=17124 --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2010-08-26 11:37:29 --- Created an attachment (id=30412) --> (http://bugs.winehq.org/attachment.cgi?id=30412) screenshot -- 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=17124 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |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=17124 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy(a)gmail.com --- Comment #4 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2011-05-12 11:59:30 CDT --- Confirmed in 1.3.19. I get the following message: This is a post install process that will try to normalize betweenyour MinGW install if any as well as your previous MSYS installs if any. I don't have any traps as aborts will not hurt anything.Do you wish to continue with the post install? [yn ] and it does further nothing whatever you type -- 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=17124 fracting <fracting(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting(a)gmail.com -- 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=17124 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk --- Comment #5 from Jason Edmeades <us(a)edmeades.me.uk> 2012-11-20 18:12:17 CST --- I started looking into this. Basically, the installer (a GUI app) calls 0024:Call KERNEL32.CreateProcessA(00000000,00476110 "c:\\msys\\1.0\\postinstall\\pi.bat pi.sh",00000000,00000000,00000000,00000000,00000000,00478644 "c:\\msys\\1.0\\postinstall",0033fa0c,0033f9fc) ret=00437a11 Whats interesting here is the dwCreationFlags dows not include CREATE_NEW_CONSOLE, BUT on windows you get a new console and on wine you dont. I've done some testing with a variety of combinations of cmd/GUI launching cmd/GUI launching cmd/GUI Overall the bug seems to be that CreateProcess should do something like: - Is the program being launched flagged as a console app - If it is, see if there is a console allocated to the existing process - If there is no existing console, default to CREATE_NEW_CONSOLE for the create Note I also tested with AllocConsole from a GUI prior to a createprocess for a console app, and as far as I could tell, the CreateProcess does not generate a new console, it uses the one Allocated to the GUI. Now there is also a 2nd problem this bug shows, which is that when running in bare mode (ie not in wineconsole), the line endings / echoing does not work nicely - Have not looked into that at all, should be a 2nd bug once this is addressed. -- 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=17124 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair(a)hotmail.com -- 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=17124 --- Comment #6 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- This patch would possible fix this issue, still more work has to be done before it will be accepted. http://www.winehq.org/pipermail/wine-patches/2014-February/130271.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=17124 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #7 from super_man(a)post.com --- 1/2 patch doesnt apply cleanly, but 2/2 from https://www.winehq.org/pipermail/wine-patches/2014-February/130272.html does wine 1.7.53(up to date git) -- 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=17124 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.mingw.org/wiki/m |https://web.archive.org/web |sys |/20151106110522/http://netc | |ologne.dl.sourceforge.net/p | |roject/mingw/MSYS/Base/msys | |-core/msys-1.0.11/MSYS-1.0. | |11.exe Component|cmd |kernelbase CC| |focht(a)gmx.net Summary|MSYS installer doesn't pop |MSYS 1.0 installer doesn't |up cmd window? |create console window for | |interactive postinstall | |batch file --- Comment #8 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, still present. --- snip --- $ wine ./MSYS-1.0.11.exe ... c:\msys\1.0\postinstall>..\bin\sh.exe pi.sh 0066:fixme:netapi32:NetUserGetInfo Level 3 is not implemented 0066:fixme:netapi32:NetUserGetInfo Level 3 is not implemented This is a post install process that will try to normalize betweenyour MinGW install if any as well as your previous MSYS installs if any. I don't have any traps as aborts will not hurt anything.Do you wish to continue with the post install? [yn ] --- snip --- or to better reflect the GUI scenario (Windows): --- snip --- $ wine explorer /desktop=shell --- snip --- Start menu 'run' -> 'browse' -> 'MSYS-1.0.11.exe' (execute) No console window is shown at all and the installer finishes. The patch from comment #6 was committed as https://source.winehq.org/git/wine.git/commitdiff/2005be6dc92c0943ede01525ce... ("shell32: Use CREATE_NEW_CONSOLE when SEE_MASK_NOCONSOLE is omitted.") in 2014. $ sha1sum MSYS-1.0.11.exe 1edad9d1b67b48c92781b3ccddbd1cc9ce64d78a MSYS-1.0.11.exe $ du -sh MSYS-1.0.11.exe 3.2M MSYS-1.0.11.exe $ wine --version wine-5.0-rc6 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=17124 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|kernelbase |kernel32 -- 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=17124 Joel Holdsworth <joel(a)airwebreathe.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joel(a)airwebreathe.org.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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla