Обсуждение: Quick psqlODBC driver setting

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

Quick psqlODBC driver setting

От
"Bart Golda"
Дата:
I would like to have an installation program, which creates psqlODBC
connection, so there will be no need of typing and clicking on two
hundred workstations... There is the driver's msi file which can be
installed very nicely, but what is the best way of creating the
connection itself without much pain? My current idea is like this:

1. Exporting the entry
"CONNECTION_NAME" REG_SZ "PostgreSQL ANSI" from
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources

2. Exporting HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\CONNECTION_NAME

3. Running the reg file(s) on the target machine

Well, it works - more or less - but is this a *right way*? How do *you*
do it?

Regards,
Bart Golda