From: | Jan-Peter Seifert <Jan-Peter(dot)Seifert(at)gmx(dot)de> |
---|---|
To: | pgsql-odbc(at)lists(dot)postgresql(dot)org |
Subject: | Proper/offcial way to detect installed psqlODBC version on Windows? |
Date: | 2024-06-12 10:00:53 |
Message-ID: | trinity-518ef4f4-1c98-4043-ad47-5b82b054b0e5-1718186453297@3c-app-gmx-bap11 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Hello,
our software setup program checks whether psqlODBC is installed in the correct version - currently 15.00.0000.
It checks the value Driver in the registry keys HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ODBC\ODBCINST.INI\PostgreSQL Unicode (32 Bit) or HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL Unicode(x64) (64 bit) and reads/checks the version of the referred dll afterwards.
I noticed that there are also the registry keys HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\psqlODBC (32 bit) and HKEY_LOCAL_MACHINE\SOFTWARE\psqlODBC_x64 (64 bit) with the value Version. Should the setup checks this value instead?
What is the recommended way to do this?
Thank you very much in advance!
Best regards,
Peter
From | Date | Subject | |
---|---|---|---|
Next Message | Alberto Sottile | 2024-07-10 16:03:18 | Which version of psqlODBC should I install? |
Previous Message | Hunaid Sohail | 2024-06-11 05:20:35 | Re: ODBC Source Downloads Missing |