/build/static/layout/Breadcrumb_cap_w.png

Packaging ODBC drivers

Hi Guys,
I am new to this, I have packaged an app that has ODBC drivers, I have imported the reg keys from the source computer something I discovered from this forum, however, when I install the app it freezes when it attempts to install the ODBC component. The log does not give me any further clues other than the name of the driver. any ideas as to what's going on?

Thanks

0 Comments   [ + ] Show comments

Answers (8)

Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
Do you have the ODBC information in the Registry table AS WELL AS the ODBC tables?
Posted by: TonyDeploy 18 years ago
Senior Yellow Belt
0
Thanks Brent,
I had to drop this for a while as I was not making any progress, yes I do have ODBC information in the registry, ODBCAttribute and ODBCDriver, is this wrong?
Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
Hi,

You should either handle ODBC driver installation through the proper ODBC tables or via the registry and file tables - the registry table should contain the required \SOFTWARE\ODBC\ODBC.INI and \SOFTWARE\ODBC\ODBCINST.INI entries and the file table containing and driver files required over and above those provided with the OS (e.g. for Oracle databases).

Probably easiest to just use the proper tables via the Wise / Installshield GUI unless you have a reason to do it the other way... Out of interest which forum post were you reading about using the reistry table to setup ODBC?

Hope this helps,
Rob.
Posted by: TonyDeploy 18 years ago
Senior Yellow Belt
0
Hi,
I got it from this link
http://itninja.com/question/sequence-question7[/link]

I research this when I first installed and the package hung at the ODBC stage, so importing the registry values did not make a difference, well did not improve things
Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
OK well try dropping the entries in the ODBCAttribute and ODBCDriver tables, but make sure you have any required driver files (e.g. sqora32.dll, sqoras32.dll, sqresus.dll) included in your install..

Regards,
Rob.
Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
Yeah, you can only add ODBC entries to a computer using one of the ways (either by the registry table or the ODBC tables.)
Posted by: TonyDeploy 18 years ago
Senior Yellow Belt
0
Hi,
Thanks Rob and Mr Hunter, sorry that it has taken me some time to respond but every time I tried to access a message from work i got a some kind of VB script error I think our firewall now prevents me from accessing the messages. I could only see the topic page but not the messages. Anyway , I did remove the entries from ODBCAttribute and ODBCDriver and it worked, though I came across other errors which i am now trying to resolve.
Thanks
Tony
Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
What other errors are you getting now?

Two of the most common errors are when you don't include the 'driver' or 'setup' registry values in the ODBC.INI or ODBCINST.INI registry keys.

Also, if installing ODBC drivers, make sure that you also add the Driver Name into the 'ODBC Drivers' registry key.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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