473,804 Members | 2,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

installer recommendation?

I am looking to package a java / swing / mysql application so that it
can be installed primarily on Window based systems. I googled for "java
mysql installer" and came up with a large number of products, gpl'd or
commercial; its hard to know where to start. In addition, I am not a
particular expert in mysql installation. Anyone have any suggestion as
to installers, where to start etc? thanks - Lou
Jul 17 '05 #1
6 2560
Hi,

You can find a version of mysql in www.mysql.com that
needs only to be unzipped instead of doing a proper
installation. I suppose your installer could unzip the
file and then register the mysql service with windows.
If you need to execute a commnand line or any other application
from java user Runtime.getRunt ime.exec("you command here");

You command can be even another executable, a bat file or
any command line command you can imagine. I cant remember
how you register a service with windows using command line.

Hope that helps

Petros

Lou Lipnickey wrote:
I am looking to package a java / swing / mysql application so that it
can be installed primarily on Window based systems. I googled for "java
mysql installer" and came up with a large number of products, gpl'd or
commercial; its hard to know where to start. In addition, I am not a
particular expert in mysql installation. Anyone have any suggestion as
to installers, where to start etc? thanks - Lou

Jul 17 '05 #2
Lou Lipnickey wrote:
I am looking to package a java / swing / mysql application so that it
can be installed primarily on Window based systems. I googled for "java mysql installer" and came up with a large number of products, gpl'd or
commercial; its hard to know where to start. In addition, I am not a
particular expert in mysql installation. Anyone have any suggestion as
to installers, where to start etc? thanks - Lou


I looked a couple of years ago at installers for a java/swing
application on Windows (but no mysql).

Inno Setup is an excellent (and free) installer for Windows, which we
used for in-house customers (the product was packaged for external
customers with InstallShield but the substantial number of in-house
customers used the Inno Setup version - just as good IMHO).
http://www.jrsoftware.org/isinfo.php

As to installing the JRE, you can't just get a Java app to run on any
old version of the JRE (in my experience, even a version later than the
one you've tested with your application may not work). Hence you can't
just rely on the user installing the correct JRE (although it depends on
the sophistication of your user base, and how much control you have over
their PC setup).

So you might want to check out what the JRE licensing says about
repacakaging it as part of your installation (e.g. installing the JRE
that you want in the same directory as your application, then packaging
them both together so they install as one). This would give you a JRE
just for your application, which affect any other applications or
browsers; neither would your application be affected if the user
installed another JRE.

It might be worth looking at how the Opera browser handles this (there
are distributions that include the JRE and those that don't).

Alternatively you could package the JRE installation .exe so it gets run
separately at the user's option from the installation of your
application. However, then you need to worry about which version of the
JRE is used to run your app, and possibly fiddle with PATHS etc.

Possibly mysql could be installed along with the app the same way as the
JRE, but you'd need to check whether it was possible or advisable to
install multiple copies of mysql on one PC.
Jul 17 '05 #3
Tom N wrote:
As to installing the JRE, you can't just get a Java app to run on any
old version of the JRE (in my experience, even a version later than
the one you've tested with your application may not work). Hence you
can't just rely on the user installing the correct JRE (although it
depends on the sophistication of your user base, and how much control
you have over their PC setup).

So you might want to check out what the JRE licensing says about
repacakaging it as part of your installation (e.g. installing the JRE
that you want in the same directory as your application, then
packaging them both together so they install as one). This would give
you a JRE just for your application, which affect any other
applications or browsers; neither would your application be affected
if the user installed another JRE.


Typo: should say:

This would give you a JRE just for your application, which **won't** affect
any other applications or browsers; neither would your application be
affected if the user installed another JRE.
Jul 17 '05 #4
Great tips, thanks. I'm open to others.

Lou Lipnickey wrote:
I am looking to package a java / swing / mysql application so that it
can be installed primarily on Window based systems. I googled for "java
mysql installer" and came up with a large number of products, gpl'd or
commercial; its hard to know where to start. In addition, I am not a
particular expert in mysql installation. Anyone have any suggestion as
to installers, where to start etc? thanks - Lou

Jul 17 '05 #5
Lou Lipnickey wrote:
Great tips, thanks. I'm open to others.

Lou Lipnickey wrote:
I am looking to package a java / swing / mysql application so that it
can be installed primarily on Window based systems. I googled for
"java mysql installer" and came up with a large number of products,
gpl'd or commercial; its hard to know where to start. In addition, I
am not a particular expert in mysql installation. Anyone have any
suggestion as to installers, where to start etc? thanks - Lou


I have found a real nice free one called at: *IzPack*
http://www.izforge.com/izpack/
*IzPack Overview*
IzPack is an installers generator for the Java platform. It produces
lightweight installers that can be run on any operating system where a
Java virtual machine is available. Depending on the operating system, it
can be launched by a double-click or a simple 'java -jar installer.jar'
on a shell. The most common use is to distribute applications for the
Java platform, but you can also use it for other kinds of projects. The
main benefit of IzPack is that it provides a clean and unique way of
distributing a project to users using different operating systems.
IzPack is reported to run on :

* Unix-like systems, mostly Linux and BSD
* MacOS X
* Windows variants

A big care has been put in making IzPack as small as possible in order
to reduce the weight of IzPack itself in the final installer archive.
Also, IzPack has been designed around modularity and flexibility. As a
consequence, you are able to specify how your installer should be by
selecting the panels that you want to show to the final user. Sometimes
there are even several panels for the same usage so that you can pick
the one that suits the best your needs. If ever you don't find your way
through the available panels, you can still develop your own ones with
the nice and easy IzPack API. There's even an embedded XML parser !

*Main features*

* XML-based installer descriptors
* Uses the maximum Jar archives compression level
* Jakarta Ant integration
* Great flexibility and modularity, it is very easy to extend IzPack
* No native code is required, but you can extend IzPack with native
code
* Shortcuts creation system
* Flexible and powerful user input panel
* Automatic uninstaller creation
* Easy localization with XML langpacks: 16 langpacks are provided
by default
* Variable substitution system
* OS-specific scripts interaction

Also one more:

*InstallAnywher e Enterprise Edition (v6.1)*-
http://www.zerog.com/downloads_01.shtml

Projects designed with trial versions of InstallAnywhere do not expire
and can be used with licensed versions. However, installers built with a
trial version of InstallAnywhere will time out after three days and must
be rebuilt at that time.
--
Thanks in Advance...
IchBin
_______________ _______________ _______________ _______________ ______________

'Laughter is inner jogging'
- Norman Cousins, editor and author (1915-1990)
Jul 17 '05 #6
Lou Lipnickey wrote:
Great tips, thanks. I'm open to others.

Lou Lipnickey wrote:
I am looking to package a java / swing / mysql application so that it
can be installed primarily on Window based systems. I googled for "java
mysql installer" and came up with a large number of products, gpl'd or
commercial; its hard to know where to start. In addition, I am not a
particular expert in mysql installation. Anyone have any suggestion as
to installers, where to start etc? thanks - Lou


If you are interested in Java-based installers, you should look at Java Web
Start.
http://java.sun.com/products/javawebstart/
Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
2770
by: Richard Hanson | last post by:
Over the last few days, I reinstalled Win2kSP2 to a spare harddrive I had just swapped into my Fujitsu LifeBook P1120 (long story <wink>). Subsequently, I DL'ed the newest Python alpha (2.4a2), and when trying to install it, I immediately got this error: This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
3
2502
by: Arun Bhalla | last post by:
I'm borrowing some code from Pavel's Command Prompt Explorer Bar installer to use in my own explorer bar's installer. Recently I've been thinking that using an assembly version like "1.0.*" (hence, for example, "1.0.1304.25935") would be useful, at least for development and debugging purposes. (Someone please point out the cons to this idea!) Well, anyway, Pavel's installer basically exists to register the assembly, and unregister the...
0
1185
by: Lou Lipnickey | last post by:
I am looking to package a java / swing / mysql application so that it can be installed primarily on Window based systems. I googled for "java mysql installer" and came up with a large number of products, gpl'd or commercial; its hard to know where to start. In addition, I am not a particular expert in mysql installation. Anyone have any suggestion as to installers, where to start etc? thanks - Lou
5
4930
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the moment. When the installer creates the target directory, it's setting them as read-only. When the...
0
2109
by: Arun Bhalla | last post by:
I'm having some inconsistency problems with my deployment project ("Setup") and its custom actions ("Installer"). I'm using Visual Studio .NET 2003 (.NET 1.1, no service pack) on Windows XPSP1. My main project is a band object (Explorer Bar) in an assembly (.DLL) that needs to be registered on installation and unregisted on uninstallation. In addition, during installation, Setup creates registry subkeys, sets registry values, installs...
2
5368
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically works. Now, I am wondering if there is any way to change the directory that the installer installs the files to. I want to be able to put my files in a specified directory (user specified is good, but i don't mind hardcoding the path either) and...
3
1895
by: Brian Henry | last post by:
This has worked perfectly for the past year now all the sudden it will not compile the installer project correctly. All our source code is in a Source Safe database so every system we do this on should be identicle. On one system the installer project will compile correctly, but on two others it will fail with this error. ------ Rebuild All started: Project: Installer, Configuration: Debug ------ Building file 'T:\Current Builds...
5
1562
by: plmanikandan | last post by:
Hi, I need a installer for c#.net application I'm using visual studio 2005,.net2.0 and sql server 2000 My application is windows application. I have two installers in mind 1.Wise installer 2.Install shield installer I don't know which one will be best. Most probably both have same facility. Could anybody suggest me which one will be best, as i'm planning to
0
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10562
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10070
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5508
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2978
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.