pypa / pypa/setuptools

Launcher: Support for Windows 10

Open
#918 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs Triage
Dominant language
Python
Stars
2.9k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

With the release of Windows 8.1, the behavior of the GetVersionEx API has changed in the value it will return for the operating system version. The value returned by the GetVersionEx function now depends on how the application is manifested.

Applications not manifested for Windows 8.1 will return the Windows 8 OS version value (6.2). Once an application is manifested for a given operating system version, GetVersionEx will always return the version that the application is manifested for in future releases. To manifest your applications for Windows 8.1 please refer to Targeting your application for Windows 8.1

What you need to do is add the proper GUID(s) to your application (.exe/.dll) binaries (via manifest XML information). In other words, if you specifically state your application supports 8.1, GetVersionEx() will return proper information when running on Windows 8.1. If you do not, GetVersionEx() will lie to you.

See Targeting your application For Windows 8.1 for a list of GUIDs. Also covered here.

GUID List for the Lazy

Vista: {e2011457-1546-43c5-a5fe-008deee3d3f0}
Windows 7: {35138b9a-5d96-4fbd-8e2d-a2440225f93a}
Windows 8: {4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}
Windows 8.1: {1f676c76-80e1-4239-95bb-83d0f6d0da78}
Windows 10: {8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source file, test, or build entry point. Start by locating the Windows launcher binaries and their manifest or build configuration, then inspect how GetVersionEx is used. Done means the launcher declares the Windows 10 GUID and reports the expected operating-system version on Windows 10.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.