Oracle Connection in InstallShield...
Hi all,
I have an install for a web app that can have either a SQL or Oracle backend. The current install work does contain a SQL connection dialog (I created my own connection test method because the IS procedure seemed a little shaky or I just don't understand it fully) and I'm wondering if there is an Oracle connection dialog available.
I do like the server/database browse function of the SQL dialog, but I'm not a database guy, but don't believe that will work properly for Oracle. In other words I would have radio buttons for the database selection then use the same connection dialog, just call a different verification action based on the radio button selection.
The documentation mentions Oracle Instant Client as part of this so I don't know if that is needed for what I want to do.
Any help/clarity would be more than GREATLY appreciated!!
I did post this over at Flexerasoftware and was wondering, do these multiple posts both anyone who may frequent both boards? I seem to get answers quicker here at ITNinja but always want to leave my options open.
THANKS!
Answers (8)
Connections to Oracle databases is done using the TNSNAMES.ORA file. If you can, host that on a network share. Using local copies is an administrative nightmare.
Other than that, you'll need to create an ODBC configuration for the database - simple enough, as it's registry data.
Off the top of my head, I can only think of one way to programmatically test an Oracle connection and that's by using TNSPING, a command line tool which is installed as part of Oracle Client (and, most likely, a bunch of other Oracle tools).
Thanks Guys! That's great info to dig into!!
I'll have to talk to our in-house Oracle guru's about how it will fit into plans. For the SQL connection check, the install does not have to be occurring on the SQL Server. Those credentials are set via the Server/Database browse controls on the canned SQL Login dialog. Is it even possible to check an Oracle connection remotely or does the install have to be running on the Oracle dB Server?
Maybe researching the OUI will shed some light on that.
Comments:
-
So, I'm back to needing some Oracle functionality in my installer and still can't get it to work. I create the connection, but like I said above I don't see anything available for Oracle. When I get to the SQL Login dialog I don't see the Oracle server via Browse. We're testing this on Oracle Db server, which I'm told should have the needed Client stuff in place. What am I missing. - Superfreak3 8 years ago