Link to home
Start Free TrialLog in
Avatar of pusuluri_sagar
pusuluri_sagar

asked on

Creating DSN Automatically through Install shield for Java

I'am doing a appliction (Java) APPLICATION THAT SYNCHRONIZES THE DATA FROM the webversion.The problem is that  during the setup time only using installed shield for java ,i want to create the DSN Automatically.Is i possible with the 3.1 and Later versions of Install shield for Java .Is it possible?.

I'am using Ms Access Database

Advanced thanks
ASKER CERTIFIED SOLUTION
Avatar of shyamkumarreddy
shyamkumarreddy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wgilster
wgilster

Here are the registry settings for a sample Access database.  The DSN name is DSNTest and the database is c:\my documents\test.mdb


[HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\DSNTest]
"Driver"="C:\\WINDOWS\\SYSTEM\\ODBCJT32.DLL"
"DBQ"="C:\\My Documents\\test.mdb"
"Description"="Test Database for JDBC"
"DriverId"=dword:00000019
"FIL"="MS Access;"
"SafeTransactions"=dword:00000000
"UID"=""

[HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\DSNTest\Engines\Jet]
"ImplicitCommitSync"=""
"MaxBufferSize"=dword:00000800
"PageTimeout"=dword:00000005
"Threads"=dword:00000003
"UserCommitSync"="Yes"

[HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\ODBC Data Sources]
"DSNTest"="Microsoft Access Driver (*.mdb)"
Avatar of pusuluri_sagar

ASKER

Thank you very much.

Best Regards,
Sagar