https://bugs.winehq.org/show_bug.cgi?id=45616
Bug ID: 45616 Summary: winecfg: allow setting windows version via CLI Product: Wine Version: 3.13 Hardware: x86 URL: https://github.com/Winetricks/winetricks/blob/master/s rc/winetricks#L2355 OS: Linux Status: NEW Keywords: download, integration, source Severity: enhancement Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Gentoo
This has been a FIXME in winetricks for years. While reviewing stuff recently, I ran across it and looked into it. I wasn't able to find a (closed) bug for it, and I think it's worth opening one now.
Currently, winetricks has to replicate all the logic needed to set a particular Windows version (i.e., major/minor version, service pack version, etc.). This can also include if it's a server version of windows or not, etc. When Wine changes a SP version, winetricks has to catch up later, and it can lead to subtle bugs (e.g., https://github.com/Winetricks/winetricks/issues/970)
It would greatly simplify things if instead, winecfg (or some other program, but winecfg seems most appropriate) could change windows versions via a CLI argument. E.g., $ wine winecfg winver=winxp
would set winxp mode, and act appropriately for win32/win64.
This should return an error if someone tries to set an invalid version, e.g., $ wine winecfg winver=doesnotexist
or $ WINEARCH=win64 wine winecfg winver=win98
https://bugs.winehq.org/show_bug.cgi?id=45616
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Austin English from comment #0)
This has been a FIXME in winetricks for years. While reviewing stuff recently, I ran across it and looked into it. I wasn't able to find a (closed) bug for it, and I think it's worth opening one now.
There's bug 41559.
This would also be useful in helping users on the forum. It's not uncommon to have to test different Windows versions to see if that changes the app's behavior, and it would be nice not to have to go through a GUI to do it.
https://bugs.winehq.org/show_bug.cgi?id=45616
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Resolution|--- |DUPLICATE Status|NEW |RESOLVED
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Marking dupe of other feature request.
Yes, I agree this would be nice to have. Shouldn't be hard to do either.
*** This bug has been marked as a duplicate of bug 41559 ***
https://bugs.winehq.org/show_bug.cgi?id=45616
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to Fabian Maurer from comment #2)
Marking dupe of other feature request.
Yes, I agree this would be nice to have. Shouldn't be hard to do either.
*** This bug has been marked as a duplicate of bug 41559 ***
Thanks. I thought there was a big but I couldn't find it last night when searching, my bad.