Search code examples
sqloracle-databaseinstallationinstallshield

How can I connect to an existing oracle database during installation with Installshield?


I need to connect to an existing oracle database during installation, to run sql scripts. I already tried the SQL scritps view, but when I try connecting through the connection dialog in the wizard, I get

ERROR:ORA-12560: TNS:protocol adapter error.

I don't even know if this is the right way to connect. I appreciate if an expert in Install Shield 2019 could explain the proper way to connect to an existing database.


Solution

  • I figured out calling SQLPlus console with argument the script I want to run. This is possible through Custom action