ODBC check before install - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

tkendall
Posts: 1
Joined: Fri Oct 10, 2008 6:08 pm

ODBC check before install

My company uses two distributions of oracle. The installer requires a search for the oracle version then install the corresponding driver for this version. Currently I have two ODBC data sources added to the install which works, but there is an error if only one of the two installations is present. I've tried the prerequisite option to no avail. Below are the directories for each oracle install.

C:\oracle\ora92\bin
C:\Program Files\ora.920\bin

Also, I need to update the Tnsnames.ora to include the new db for this install. Possible?


Thanks for the help!! :D
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: ODBC check before install

Hi,

What you need can be done by conditioning the installation of the components of the two drivers. First, you can create two searches, one for each Oracle installation. After that, you can use the properties of these searches to condition the components of your drivers. Please note that the condition of a component can be specified in the Component Properties page.
Also, I need to update the Tnsnames.ora to include the new db for this install. Possible?
I'm afraid that this is not supported directly by Advanced Installer. However, you can try using a custom action to write in this file. Please note that the User Guide contains the Write text into a file how-to which may help you.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”