0

Easy question this time.... I have a installation file, and a registry edit in my script.

How do I set up a ODBC-connection as well, actually I need to script up 2 ODBC-connections.

Any advice for me?

Mark Henderson
  • 68,823
  • 31
  • 180
  • 259
Maclovin
  • 249
  • 1
  • 2
  • 11

1 Answers1

1

System ODBC settings are stored in the registry under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ODBC

I would suggest configuring the ODBC connections manually then exporting the registry values. You can then either script a registry merge or write the values explicitly. Remember to install the relevant drivers and associated ODBC registry settings for those as well.

nimizen
  • 276
  • 3
  • 9