Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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