Nullsoft Installer: Simple installer with JRE check

Gerald Bauer <[email protected]> Mon, 21 Jul 2003 13:34:33 -0700 (PDT)
Newsgroups gmane.comp.java.jnlp.announce
Message-ID <[email protected]>
Hi,

  I just stumbled over the NSIS (Nullsoft Scriptable
Install System) site at sourceforge and browsed its
real-world installer script archive.

  One real-world script entry, for example, is titled
"Simple installer with JRE check" and weebib
introduces the script as follows:

  This is a not very fancy install that has one
interesting feature though. It can achieve a JRE
version check. Depending on the outcome of the check
procedure, it will display a Window warning the user
that a newer version will be installed. (it is still
time to cancel)

  As it has been pointed out in the forum, there ought
to be another solution to perform a much more thorough
search for the JRE than the one achieved by the
present installer. In time, the use of a dll might be
necessary to scan the hard drive as the final
solution.

  The big effort of this install was to use an
(optional) InstFile window while installing the jre.  
 

  Full story @ http://nsis.sourceforge.net and
http://nsis.sourceforge.net/archive/nsisweb.php?page=322&instances=0,48

  - Gerald


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0