02-16-2005, 11:11 AM | #1 (permalink) |
Upright
Location: Ravenswood
|
[INSTALL PACKAGE] Making an installer for Java Database Application
I have recently wrote a Java application which uses the JDBC
module to access a MySQL database that is locally installed. The Java program lies in a directory in its own, with a subdirectory containing the J 2.0 SDK binaries for execution. I really need the installer to just call the MySQL install.exe, and they can go through the steps of installing MySQL. After that, the installer then copies the Java program's folder to a destination folder, and asks them a few questions, like Start the database on Startup, etc... Is there some kind of application that will allow to perform these tasks? Please help! Thanks, SunGun
__________________
Wow. Last edited by SunGun; 02-16-2005 at 11:23 AM.. |
02-16-2005, 03:47 PM | #2 (permalink) |
aka: freakylongname
Location: South of the Great While North
|
We use Install anywhere from Zero G Software, but it's not cheep.... They used to have a free version, not sure if they still do.
__________________
"Reality is just a crutch for people who can't cope with drugs." Robin Williams. |
02-17-2005, 05:23 PM | #3 (permalink) |
Crazy
Location: Salt Town, UT
|
Just a word of warning, if your application is dependant on MySQL, you will need to purchase a MySQL distribution licence if you want to be able to legally sell your product. Otherwise the GPL license will prevail and legally you will have to distribute your source code under the GPL license to anyone that you normally have distributed your product to.
If you are an open-source shop, this isn't a problem. If you are a closed-source shop, you have three options: 1. Hope MySQL never finds out, 2. Purchase a distribution license with MySQL, 3. Port your application to Postgresql and never worry about database licensing again. (I probably misspelled license, but at least I'm consistant on it. ) |
02-17-2005, 10:12 PM | #4 (permalink) |
Insane
|
I'm assuming by " MySQL install.exe" you primarily wish to install this application on Windows.
Use Innosetup - it supports scripting etc and looks very clean. Much like NSIS but much more flexible and easier to learn. Both are free as in speech and beer.
__________________
"You looked at me as if I was eating runny eggs in slow motion." - Gord Downie of The Tragically Hip |
Tags |
application, database, installer, java, making |
|
|