/build/static/layout/Breadcrumb_cap_w.png

ODBC Resources Installshield

I am working with an installer which queries the oracle or sql server based on user input and gives the list of servers... SQLLogin dialog. But I am unable to understand ODBC Resources view. Helpnet even doesn't provide complete information. How can I add a dsn to an exixting database or is it querying for a new database connection . Any help appreciated. This would make me more than clear about installshield.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: pjgeutjens 10 years ago
Red Belt
0

The UI allows you to create DNS entries linked to a specific driver.

Try capturing the manual creation (odbcad32.exe) of the entry you would like, this should give you the fields you'd want to add to the entry.

The above being said, I've personally always preferred to capture DNS entries directly into the registry, since they're independent of the driver.

 


Comments:
  • I still didn't get your answer. I played with various things in installshield but not aware how ODBC Resources work. If you could elaborate i would be pleased. I need to connect to sql Database on the client computer. How could i sort out using odbc resources... What exactly does it query. Never got a chance to work on it before... - mareddy9999 10 years ago
    • like I said, try making an msi from capturing the changes you want on a test machine. I'm pretty sure the required added fields differ for different connection types (oracle/sql/..)

      so just start repack.exe - make a connection of the type you want - stop capture
      Open the resulting irp file, and in Advanced Settings make sure you select 'Map registry data to the appropriate ODBC tables'

      This will give you a nice 'template' ism that you can use to get your package the way you want it. - pjgeutjens 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ