installdevel

odbc registry

Hi

i´m testing AI, by installing my java application which is using a mdb-db. now to registrate the db on windows i need the registry key DQB. Here is written the path of the mdb-file. now, when i inst the app by the install.exe and i am editing an user choosen path the path in the DQB-attribut must change to this new path. but this doesn´t happen, so how can i solve this prob!

thanks for any help
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hi,

In order to properly register a source database, you must create an attribute named: DBQ, that will contain the file path.

So, in the "ODBC" page, use "New Data Source". Select your datasource name and driver, and then add a new attribute named DBQ that has as value the database file key, which must be something like: [#yourfile.mdb].

To find out what is the key of a file, you can go to the "Registry" page -> "New Value" -> "File..." select your MDB file and press OK. That is your file key. Copy that key, press the "Cancel" button, and go back to the "ODBC" page and create that attribute: name:DBQ value:[#yourfile.mdb] .

We will try to add the possibility of directly insert the file key in the value field.

Kind regards,
Mihai
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”