This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Confirm database connection
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 26, 2012
09:59 AM
Confirm database connection
In my install I am letting users connect to there own database via input variables. I would like to once they enter in the information check to see if InstallAnywhere can make a connection to the database. Before they get to deep into the install.
For the life of me I cant think of a way to do so.
Anyone have any ideas or examples on how you have done this?
For the life of me I cant think of a way to do so.
Anyone have any ideas or examples on how you have done this?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2012
01:30 AM
Hi,
You can have an IA custom code written in java to check for database connection and add this as a part of the Execute custom code action provided by IA(Check InstallAnywhere for help on writing custom code). Let me know if this helps.
You can have an IA custom code written in java to check for database connection and add this as a part of the Execute custom code action provided by IA(Check InstallAnywhere for help on writing custom code). Let me know if this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2012
04:49 AM
You can use DatabaseAction custom code action to verify the database in the below link under Files & Utilities tab > Custom Code.
http://www.flexerasoftware.com/products/installanywhere/files-utilities.htm
The custom code action connects to a database, reads SQL from a file, executes the queries, and closes the database.
Regards
SunnyBoy
http://www.flexerasoftware.com/products/installanywhere/files-utilities.htm
The custom code action connects to a database, reads SQL from a file, executes the queries, and closes the database.
Regards
SunnyBoy