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@winehq.org Reporter: cemer99797@isorax.com Distribution: ---
the current environmental variables only include: https://gitlab.winehq.org/wine/wine/-/wikis/Wine-User%27s-Guide#environment-...
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