Creating DSN Automatically through Install shield for Java

Posted on 2001-06-16
Last Modified: 2008-03-03
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
Question by:pusuluri_sagar

Accepted Solution

shyamkumarreddy earned 100 total points
ID: 6201042
Hey Sagar
U need to write Platform specific code.

Please write a Registry programming using java or run a C++ program to registry an entire for DSN creation.
Then u can go ahead in installing.

Do u got me.

Any way installation shield doesn't support this, but u can write a one and include this in your shield


Expert Comment

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

"DBQ"="C:\\My Documents\\test.mdb"
"Description"="Test Database for JDBC"
"FIL"="MS Access;"


"DSNTest"="Microsoft Access Driver (*.mdb)"

Author Comment

ID: 6210213
Thank you very much.

Best Regards,

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
topping2 challenge 13 91
reverse digits of a number using for loop 5 41
eclipse buid path vs tomcat lib path 10 23
jboss wildfly 10.1 10 92
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question