• 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

Installation of a Swing Application

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Ranchers,
I have done a project in Swings and MySQL. I want to burn the product in a CD-ROM and want to give it my client. My client's requirement is to automate the installation of the Application on a single click.

I planned to burn the CD in such a way
+ CD-ROM
+ JRE
+ APPLICATION
- Application developed in Java Swings (*.jar)
- MySQL Database (db.sql)
+ MYSQL
- Setup.exe

When the client press the setup.exe it has to
1. Install the JRE
2. Set the Path for the bin directory
3. Install the MySQL Database and also setup the Service and put the password for the root as root
4. Restore the Database.
5. Copy the Application (*.jar) into a particular location in the computer
6. Create a Short-cut in the desktop .

I would like to do my application in this format. Is that possible for me to do so. If yes, How and I would like to get your enriched ideas and suggestions.

Pleaes help..

Kind Regards

Aravind Prasad
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see several problems, most notably the assumption that setup.exe is going to be able to run, and even if it runs, that it'll be able to install Mysql.

The former limits you to the Windows operating system, and probably to those of your users who have admin rights on their machines (which in corporate settings many do not).

The latter is questionable. Do your users really want and need a full-blown database on their machines, assuming they're able to install it? Since this is apparently a single-user application, you could avoid many troubles by using an embedded Java database like Derby, which doesn't need an installation.
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This question really doesn't have much relevance to Swing.

If you are only targeting Windows systems, then the most straightforward way to do what you want would be to produce a standard Windows MSI install package. It can do all the things you describe there.
 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Ranchers,
Thankyou so much for your help. Can you please specify a package where i can customize my MSI install package.

Thanks/Regards

Aravind Prasad
 
Sheriff
Posts: 22781
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could try Inno Setup.
 
reply
    Bookmark Topic Watch Topic
  • New Topic