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?

link|improve this question

50% accept rate
feedback

1 Answer

up vote 1 down vote accepted

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.

link|improve this answer
Thanks for the reply.Does anyone have any examples of doing it? – Maclovin Sep 8 '10 at 6:34
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.