Page 1 of 1
ODBC New DSN not working
Posted: Mon Mar 06, 2017 8:34 am
by jlouden
I am using Installaware 18. I am trying to add an ODBC DSN in my installation. I use the NEW dialog and use an existing DSN to create the entry Then I create the install file. I delete the DSN on the system and then do the install. No DSN gets created. The log file shows that is doing the ODBC creation but nothing gets added. I also get no errors during the installation or in the Event Viewer. I tried the same things with the trail version of X6 but got the same results.
Re: ODBC New DSN not working
Posted: Mon Mar 06, 2017 10:36 am
by FrancescoT
Dear Jlouden,
please have a look at the "ODBC sample" from the following link.
https://www.installaware.com/forums/viewtopic.php?f=2&t=6772Hope this helps you.
Regards
Re: ODBC New DSN not working
Posted: Mon Mar 06, 2017 1:07 pm
by jlouden
When I try your example I get an error because I do not have the resource installed.
I have 4 DSNs trying to be created in my test. Here is the log file and the project.
I do not get an errors when I run it.
Re: ODBC New DSN not working
Posted: Tue Mar 07, 2017 8:16 am
by jlouden
I removed the two DSN entries from the sample file and installed my own. Now I get an error 6.
I have also attached the DSN creation screen. I used the Microsoft ODBC to create the DSN, referenced it in the installer. Created my installation file. Removed the ODBC reference in Windows and then ran the installation file and received the error.
John
Re: ODBC New DSN not working
Posted: Tue Mar 07, 2017 10:05 am
by FrancescoT
Dear John,
I have just updated the "ODBC sample" and this now creates an Access ODBC DSN. It works perfectly on my test machine.
Please note that as recommended with the original project, to run the sample successfully, please verify the presence of the following requirements with the target system;
- Microsoft Access Database Engine 2010 Redistributable
https://www.microsoft.com/en-US/download/details.aspx?id=13255Hope this helps you.
Regards