-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Prerequisite Check on Windows 7 #251
Comments
Related reporting on windows 2012 R2 also passed the prerequisite check, but should have failed #146 |
I think the problem is this: https://support.microsoft.com/en-gb/help/3202260/versionnt-value-for-windows-10-and-windows-server-2016 Microsoft doesn't like it when people refuse to install on particular versions of Windows simply by checking the version rather than required capabilities. So Windows 10 reports itself to be Windows 8.1 in most APIs. (There are sneaky ways to find out like checking the version of Then this combines with a silly error in the formula |
A quick fix that would rule out the very oldest versions of Windows would be |
Thanks @Leaf-Lin for the report and @droberts195 for the quick check. However, besides the Windows version itself, we'd probably need to check the bitness too, since (according to some reports) the registry might not be correctly written on a 32 bit OS, even if the installation succeeds (passing the incorrect check) and the driver might still not work. Note: the 32-bit installer is meant for 32-bit apps on a 64-bit OS. |
Failed Installations
Environment
Windows 7 32 bit
Expected Behaviour
Failed with unsupported OS
Actual Behaviour
Installer failed with
from https://github.com/elastic/elasticsearch-sql-odbc/blob/6.8/installer/src/Installer/Program.cs#L154
It should have failed in https://github.com/elastic/elasticsearch-sql-odbc/blob/6.8/installer/src/Installer/Program.cs#L149
but somehow windows 7 still passed?
Steps to reproduce the behaviour
Install ODBC driver 6.8.0 on a Windows 7
The text was updated successfully, but these errors were encountered: