Test Oracle Database Connection

Discover(request) our samples to help you get started with your project.
Posts: 4645
Joined: Wed Nov 14, 2012 2:04 pm

Test Oracle Database Connection

Post by Eusebiu » Tue Jun 12, 2018 2:24 pm


Below you will find a sample project (received from one of our clients) that contains a custom action which helps you test an Oracle database connection. The custom action was implemented based on the example from the "Connecting to Oracle Database" article.

During the installation, the server, the username and the password related to the database can be introduced on a dialog while a search is performed (defined in the "Search" page) to see if Oracle is installed on the machine. If not, an error message is displayed and the installation is blocked.

If Oracle is found on the machine the connection is tested and if it returns a value equal to 0, the connection succeeded and the installation continues. In case the Oracle throws an error, that error will be displayed in a message box.

Best regards,
(897.83 KiB) Downloaded 316 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube