Test OleDB and .net Native connectivity. - 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!

davidesharpe
Posts: 56
Joined: Fri Jul 01, 2011 4:56 am

Test OleDB and .net Native connectivity.

Hi,

We have a .Net product that connects to a database that can be either Oracle or MsSql, and also can connect using an OleDbConnection or native .net SqlConnection or native .net OracleConnection. The information is collected during the install, user, password, dbname, server, provider (oracle/sqlerver/oledb) and the connection string is constructed and added to the app.config (and this works fine)

We would like to be able to test the connection to the db before installing. (to make sure the correct info was put in) I can see how we can do this for odbc but what I really need to be able to do is test the actuall method that the application will be using i.e. OleDb or the .net Native versions, how can i do this?

Using vbscript I am able connect using an OleDb connection string, so I can test that method, but how can I test the .net native versions ? (.net is a prerequisite so will be installed) Is there a way to do this in vbscript ?

Thanks for any help.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Test OleDB and .net Native connectivity.

Hello,

Unfortunately we don't have any VBScript samples or predefined support for this functionality to help you with this. Also, our support boundaries don't cover debugging or creating custom actions.

If you already know our related user guide articles:
http://www.advancedinstaller.com/user-g ... ction.html
then you can search the Internet for VBScript sample custom actions to help you perform the tests. Here is a good place to start.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”