[Bug 58209] New: add an environmental variable to control the Windows Version
http://bugs.winehq.org/show_bug.cgi?id=58209 Bug ID: 58209 Summary: add an environmental variable to control the Windows Version Product: Wine Version: 10.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: cemer99797(a)isorax.com Distribution: --- the current environmental variables only include: https://gitlab.winehq.org/wine/wine/-/wikis/Wine-User's-Guide#environment-variables WINEDEBUG WINEDLLOVERRIDES WINEARCH WINEPREFIX there shoud also be an environmental variable to set the Windows Version (currently set using `winecfg` and choosing Windows Version at the bottom of the Applications tab) usage: WINEWINVER=winxp wine my-old-program.exe all versions should have a corresponding WINEWINVER variable: WINEWINVER= win11 win10 win8.1 win8 win2008r2 ...etc... This also helps speed up testing of apps with issues, it's much faster than switching Windows Versions using `winecfg` and relaunching the app -- 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=58209 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- You'll have to relaunch anyway, but you can use "winecfg /v winxp" from command line already, to avoid going through UI. Then you can configure different version reported for a given exe file you run, if you need this change set permanently for some application. -- 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=58209 --- Comment #2 from ToastyBug <cemer99797(a)isorax.com> --- (In reply to Nikolay Sivov from comment #1)
You'll have to relaunch anyway, but you can use "winecfg /v winxp" from command line already, to avoid going through UI.
Then you can configure different version reported for a given exe file you run, if you need this change set permanently for some application.
Thank you, I was able to figure out the options
Usage: winecfg [options]
Options: [no option] Launch the graphical version of this program. /v Display the current global Windows version. /v version Set global Windows version to 'version'. /? Display this information and exit.
Valid versions for 'version':
win11 Windows 11 win10 Windows 10 win81 Windows 8.1 win8 Windows 8 win2008r2 Windows 2008 R2 win7 Windows 7 win2008 Windows 2008 vista Windows Vista win2003 Windows 2003 winxp64 Windows XP 64 winxp Windows XP win2k Windows 2000 winme Windows ME win98 Windows 98 win95 Windows 95 nt40 Windows NT 4.0 nt351 Windows NT 3.51 win31 Windows 3.1 win30 Windows 3.0 win20 Windows 2.0
So I could launch an app with: winecfg /v winxp && wine my-old-program.exe -- 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=58209 ToastyBug <cemer99797(a)isorax.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from ToastyBug <cemer99797(a)isorax.com> --- https://gitlab.winehq.org/wine/wine/-/wikis/Man-Pages/winecfg -- 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=58209 ToastyBug <cemer99797(a)isorax.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from ToastyBug <cemer99797(a)isorax.com> --- works with `winecfg /v` -- 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 (1)
-
WineHQ Bugzilla