This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setup file to install mutiple drivers

 
Deepesh Mishra
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I need to create a Setup file in Java which can install various drivers in a Windows machine.
For example, say, I need to deploy a Java based project to Windows machine and this requires:
- JRE
- Printer Driver
- And, some more device drivers to work with deployed Software.

Kindly provide needful Logic and Code to achieve the same.

In anticipation of your interest.

--
Deepesh

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might be better of researching what Windows tools are available to install drivers and make use of those tools. From what I recall there are either command line tools to do this, or you simply need an installation configuration file (it's a text file) with a specific extension and "running" that file will get the drivers installed. You can then use System.exec() within you Java code to run the tools.

By the way, see NotACodeMill
 
Winston Gutkowski
Bartender
Pie
Posts: 9477
50
Eclipse IDE Hibernate Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepesh Mishra wrote:I need to create a Setup file in Java which can install various drivers in a Windows machine.

Then you've picked the wrong tool for the job.

Kindly provide needful Logic and Code to achieve the same.

No. That's not how this site works. You ShowSomeEffort (←click) and provide us with what you've tried; then we help.
But before you do I'd refer you to my reply above.

Winston
 
Martin Vajsar
Sheriff
Pie
Posts: 3747
62
Chrome Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can recommend using MakeMSI for creating Windows Installer files. In my opinion, this would be much better than any Java solution, and you're tied to Windows anyway.

You'll need to learn a bit about Windows Installer and similar stuff, though.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic