[Bug 41559] New: Add ability to change windows version via command line
https://bugs.winehq.org/show_bug.cgi?id=41559 Bug ID: 41559 Summary: Add ability to change windows version via command line Product: Wine Version: 1.9.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: winetest(a)luukku.com Distribution: --- This is just enchanment request. The command line could be like winecfg windows 7 winecfg 7 or wine 7 program.exe Or something similar. I need to quite often nowadays change windows version because installers dont like xp anymore. -- 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=41559 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source Component|-unknown |programs --- Comment #1 from Austin English <austinenglish(a)gmail.com> --- FYI, you can use winetricks for that. -- 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=41559 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Win7 is default now, making this issue even less important. -- 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=41559 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ABANDONED Status|UNCONFIRMED |RESOLVED --- Comment #3 from winetest(a)luukku.com --- closing -- 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=41559 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Ever confirmed|0 |1 CC| |austinenglish(a)gmail.com Resolution|ABANDONED |--- --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- It would still be nice, so that winetricks could use it instead of having to duplicate the registry entries, etc. -- 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=41559 --- Comment #5 from Fabian Maurer <dark.shadow4(a)web.de> --- *** Bug 45616 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=41559 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Add ability to change |(winecfg) Add ability to |windows version via command |change windows version via |line |command line -- 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=41559 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- Additional request (that could go in a separate bug if this is fixed without it): A way to query winecfg to print the current windows version would be nice for winetricks (rather than having to parse the registry or using autohotkey). -- 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=41559 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #7 from Anastasius Focht <focht(a)gmx.net> --- Hello Austin, --- quote --- A way to query winecfg to print the current windows version would be nice for winetricks (rather than having to parse the registry or using autohotkey). --- quote --- this would make sense if one decides to add some 'set winver "<caption>"' command to 'winecfg' to make it symmetrical. If it's only for the query capability I suggest to consider enhancing the Windows builtin methods/tools, avoiding Wine-proprietary interface. 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 --- $ 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=41559 Owen Rudge <owen(a)owenrudge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |owen(a)owenrudge.net --- Comment #8 from Owen Rudge <owen(a)owenrudge.net> --- I've submitted two patches which should fix this bug: https://www.winehq.org/pipermail/wine-devel/2020-April/164556.html https://www.winehq.org/pipermail/wine-devel/2020-April/164557.html Adding in the ability to return the current version has not been implemented however, but should perhaps be opened as a separate request. -- 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=41559 --- Comment #9 from Austin English <austinenglish(a)gmail.com> --- (In reply to Owen Rudge from comment #8)
I've submitted two patches which should fix this bug:
https://www.winehq.org/pipermail/wine-devel/2020-April/164556.html https://www.winehq.org/pipermail/wine-devel/2020-April/164557.html
Adding in the ability to return the current version has not been implemented however, but should perhaps be opened as a separate request.
Thanks Owen! This will be really helpful for winetricks in the long run. There's one small issue, though. It exits with an error, even when it did update the windows version: austin(a)laptop $ wine winecfg /v win81 ; echo $? 1 (winecfg itself reports Windows 8.1, after, as expected). It should only error out if the registry update failed, or if trying to use an invalid version (winxx, or using anything before xp on a 64-bit prefix). -- 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=41559 --- Comment #10 from Owen Rudge <owen(a)owenrudge.net> --- Ah, my mistake - I’ll submit a patch for that tomorrow. -- 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=41559 --- Comment #11 from Owen Rudge <owen(a)owenrudge.net> --- (In reply to Austin English from comment #9)
There's one small issue, though. It exits with an error, even when it did update the windows version:
A fix has now been committed (7b485dbf68e2ace921a59dcb50ef82d741fb8949). 0 will be returned on success, 1 if the version cannot be found. -- 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=41559 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7b485dbf68e2ace921a59dcb50e | |f82d741fb8949 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from Austin English <austinenglish(a)gmail.com> --- (In reply to Owen Rudge from comment #11)
(In reply to Austin English from comment #9)
There's one small issue, though. It exits with an error, even when it did update the windows version:
A fix has now been committed (7b485dbf68e2ace921a59dcb50ef82d741fb8949). 0 will be returned on success, 1 if the version cannot be found.
Yep, works for me, thanks again Owen! -- 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=41559 --- Comment #13 from Austin English <austinenglish(a)gmail.com> --- Relevant winetricks bug for anyone interested: https://github.com/Winetricks/winetricks/issues/1532 -- 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=41559 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 5.7. -- 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=41559 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x -- 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=41559 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |--- --- Comment #15 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 5.0.x milestone from bug fixes included in 5.0.2. -- 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