Proper/offcial way to detect installed psqlODBC version on Windows?

Поиск
Список
Период
Сортировка
Искать

Proper/offcial way to detect installed psqlODBC version on Windows?

От:
Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
Дата:
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


FAQ