Creating DSN Automatically through Install shield for Java

Posted on 2001-06-16
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

shyamkumarreddy earned 300 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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.
Suggested Courses
Course of the Month14 days, 4 hours left to enroll

800 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