[PATCH] Prevent installation on unsupported Windows versions

28 views
Skip to first unread message

Denis Kovalchuk

unread,
Aug 5, 2024, 9:42:08 AM8/5/24
to TortoiseSVN-dev
Hello!

Starting from TortoiseSVN 1.14, the minimum supported platform is
Windows 10 [1]:

[[[
TortoiseSVN 1.14 requires Windows 10 or later. It won't run on Windows 8.1
anymore.
]]]

So I would like to suggest updating the related check in the TortoiseSVN
installer.

In more detail, TortoiseSVN requires support for the
SetThreadDpiAwarenessContext() [2] function that was introduced in Windows 10
version 1607. For detecting this version, I used the existing approach of
searching for a system dll with the appropriate build number.

Here is a patch in attachments.

[1] https://tortoisesvn.net/tsvn_1.14_releasenotes.html
[2] https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setthreaddpiawarenesscontext

Best Regards,
Denis Kovalchuk
prevent-installation-unsupported-windows-versions-v1.patch.txt

Stefan

unread,
Aug 5, 2024, 1:43:40 PM8/5/24
to TortoiseSVN-dev
thanks for the patch. Committed in r29703.
Since even Win10 is running out of support soon, it's a shame we still have to check for even older versions of Windows...

Stefan
Reply all
Reply to author
Forward
0 new messages