josephsl / wintenApps

Windows App Essentials NVDA add-on
GNU General Public License v2.0
24 stars 9 forks source link

WinTenObjs: do not initialize the global plugin class if running on older Windows 10 releases #52

Closed josephsl closed 5 years ago

josephsl commented 5 years ago

Hi,

Although this won't affect user experience for newer Windows 10 builds, it is still a major problem:

Imagine a user inserting a USB flash drive on an older Windows 10 PC and runs NVDA stored on the flash drive. If a recent Windows 10 App Essentials add-on release is installed, NVDA may appear to do nothing or keep playing error tones.

Cause: numerous COM errors, ultimately caused by attempting to access certain UIA values only available in newer Windows 10 releases. Solution: check the build as well, and if it is less than minimum version tuple (major, minor, build), just quit.

Thanks.