https://bugs.winehq.org/show_bug.cgi?id=49242
Bug ID: 49242 Summary: provide some way to get reported windows version via command line Product: Wine Version: 5.9 Hardware: x86 OS: Linux Status: NEW Keywords: download Severity: enhancement Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
Follow up to bug 41559:
winecfg now allows `winecfg /v winxp` to get the windows version. It would be useful to be able to do similar to get the reported version.
That could be winecfg, or, as Focht pointed out in https://bugs.winehq.org/show_bug.cgi?id=41559#c7, could be via native win32 methods:
https://www.windows-commandline.com/find-windows-os-version-from-command/
--- snip --- $ wmic os get buildnumber,caption,CSDVersion /format:csv --- snip ---
--- snip --- $ systeminfo | findstr /B /C:"OS Name" /C:"OS Version" --- snip ---
https://bugs.winehq.org/show_bug.cgi?id=49242
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- 'wine cmd -c ver' ?
https://bugs.winehq.org/show_bug.cgi?id=49242
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Dmitry Timoshkov from comment #1)
'wine cmd -c ver' ?
Thanks for the suggestion. It's semi-helpful, but doesn't distinguish in some cases: With wine-5.9-196-gc0cb9cbe95:
nt351 / Microsoft Windows 3.51.1057 nt40 / Microsoft Windows 4.0.1381 win95 / Microsoft Windows 4.0.67109814 win98 / Microsoft Windows 4.10.67766446 winme / Microsoft Windows 4.90.73010104 win2k / Microsoft Windows 5.0.2195 winxp / Microsoft Windows 5.1.2600 win2k3 / Microsoft Windows 5.2.3790 vista / Microsoft Windows 6.0.6002 win2k8 / Microsoft Windows 6.0.6002 win20 / Microsoft Windows 6.1.7601 win2k8r2 / Microsoft Windows 6.1.7601 win30 / Microsoft Windows 6.1.7601 win31 / Microsoft Windows 6.1.7601 win7 / Microsoft Windows 6.1.7601 win8 / Microsoft Windows 6.2.9200 win81 / Microsoft Windows 6.3.9600 win10 / Microsoft Windows 10.0.17134
so vista/win2kr8 are the same and win20/win2k8r2/win30/win31/win7 are the same.
https://bugs.winehq.org/show_bug.cgi?id=49242
Owen Rudge owen@owenrudge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |owen@owenrudge.net
--- Comment #3 from Owen Rudge owen@owenrudge.net --- Patch submitted to wine-devel to implement this functionality:
https://www.winehq.org/pipermail/wine-devel/2020-August/172713.html https://www.winehq.org/pipermail/wine-devel/2020-August/172714.html
https://bugs.winehq.org/show_bug.cgi?id=49242
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |87f41e6b408dd01055ff6a378b9 | |0d089d61ec370 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Owen Rudge from comment #3)
Patch submitted to wine-devel to implement this functionality:
https://www.winehq.org/pipermail/wine-devel/2020-August/172713.html https://www.winehq.org/pipermail/wine-devel/2020-August/172714.html
Thanks Owen!
Fixed by https://source.winehq.org/git/wine.git/commitdiff/87f41e6b408dd01055ff6a378b...
https://bugs.winehq.org/show_bug.cgi?id=49242
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.17.