http://bugs.winehq.org/show_bug.cgi?id=58140
--- Comment #6 from Heiko Rabe heiko.rabe+winehq@peopleware.com --- I did uninstall v9.0, installed again v10.0 and unsuccessful tried to start the executable. Still DB connect fails.
I had to modify the export to 64bit otherwise no result or bad key error:
$ wine reg export HKEY_LOCAL_MACHINE\Software\ODBC\ odbcinst.reg /reg:64
and got following results:
??Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\ODBC]
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI]
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\test] "Driver"="PostgreSQL Unicode"
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\ODBC Data Sources]
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI]
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\ODBC Drivers] "PostgreSQL ANSI"="Installed" "PostgreSQL Unicode"="Installed"
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL ANSI] "Driver"="psqlodbca.so"
[HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL Unicode] "Driver"="psqlodbcw.so"