Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Which OpenSource Java Installer?

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a client that presently uses a zip file with a cmd (or bat) file embedded in it to install both sun's java and a java app.

He is presently only targeting windows 2000 OS.

Now he wants the installation process to popup a GUI and prompt for some stuff to be stuck in a xml config file.

Would you recommend an opensource java installer for this? If so, which one? I did a google search and was overwhelmed by the choices!

If not, would you simply write a little Swing dialog and run it from the bat file?
Thanks,
Siegfried
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can't do a Swing dialog if the jre isn't installed. You could have the bat file do the jre install, and then run Swing to build the XML file. The lag time between starting the install and when the dialog came up might be unacceptable though.

NSIS is a great installer that can be used to install the jre and do just about anything else you want as well. There's a bit of a learning curve involved, but once you figure it out, it's absofreakinlutley awesome. And of course, it's open source.

Good luck.
 
Siegfried Heintze
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah, but he is installing the jre anyway to run the final app whose config file I am populating with my app.

Given that the jre has to be installed anyway, is there any motivation to use NSIS?

thanks,
Sieg
 
todd runstein
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While it requires a bit of investment (to learn), the motivation is that you will end up using it again and again. It will allow doing the XML config file for this task, and if you wanted, it could be used to do the Java install (no more bat/zip file - it's all in a professional and easy to use .exe setup file). If you plan on doing other windoze installers in the future, NSIS will be able to handle that too. If you're looking to solve just this problem, there are other options - if you want a tool that will solve this, and any other installer situation (as long as it's targetted for win), NSIS is well worth trying.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have a look at these:

IzPack
Launch4J
 
Whip out those weird instruments of science and probe away! I think it's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic