Hallo,
I'm trying to create an installer with the trial-Version of Advanced Installer 9.4 and having some trouble with odbc.
I need to configure an odbc-Connection to a SQLServer 2008 database, on Windows XP. I'm using the SQL Server Driver. When the connection exists on my machine where I create the installer I can import a new DataSource from the Machine Data Sources, but the attributes imported (WSID, UID, PWD, APP, DATABASE, Description) cause the connection to fail. When I remove everything except DSN, it seems to use the existing connection.
However, I need to install on machines where the connection is not already installed and can't figure out how to do it. The necessary attributes for the connection would be DSN, Description, Database, Server, UID and PWD, I think, but I get the error:
Error configuring ODBC_ datasource: <Name>
ODBC error 8: Invalid keyword-value pairs.
Verify that the file <Name> exists and that you can access it.
I checked the Registry, the values I get there aren't any help either, my odbc-connection works fine so the values I insert are okay. Which parameters do I need? I read here that I can't specify UID and PWD for a SQL-Server-Authentication, but how else can I provide theese attributes without user interaction?
And how can I prevent the DeInstaller from removing the existing odbc-connection during uninstall?
Thanks for your help.
FOLLOW US
Get the latest news in Application Packaging