GetWindowsVersion 4.1.2 (2022-01-24) - alternate script with server versions - fixes the problem related to the non-detection of Windows 10 (the original script does match only if it finds version 10.0)
Please check my post (in italian) @ https://gioxx.org/2022/03/01/nsis-getwindowsversion-windows10/