Proposition of a new installer Goals: - written in java - started by the java -jar mechanism Why java ?: - java is the lowest common denominator on all possible target platforms - a .jar file is executable by double click on most of the platforms, and reasonable on all the others Features: - unzip of the contents of the .jar file - possibility to exclude directories in the manifest - a -console switch for console mode - automatic detection of headless systems (= automatic switch to console mode) - localization for English and German, easy to add more languages Successfully tested on: +--------------------------------------------------------------+ | Platform | JDK | GUI | Console | |--------------------|---------------|---------------|---------| |--------------------|---------------|---------------|---------| | Windows XP | Sun 1.4.2_05 | ok | ok | |--------------------|---------------|---------------|---------| | Mac OS X 10.2.8 | 1.4.1._01 | ok | ok | |--------------------|---------------|---------------|---------| | IBM i5/OS V5R3 (*) | IBM 1.4.2 |(true headless)| ok | |--------------------|---------------|---------------|---------| | SuSE Linux 9.1 | Sun 1.4.2_03 | ok | ok | +--------------------|---------------|---------------|---------+ (*) formerly known as AS/400 or iSeries Missing: - logic for creating the installation .jar file - installation type (source, minimum, standard, all) - system check (java version, os) - license terms - readme - creation of the .sh and .bat to start jython and jythonc How to test it: - download the jython_21i.jar (~ 4.2 MB) - double click on it, or type 'java -jar jython_21i.jar' on the command line - after the language selection, you can indicate the target directory Disclaimer: - this is not an official jython version. - the contents of the .jar file are an arbitrary combination of registry, .java sources, .py files and .class files for the only purpose of testing the installation process. Notes about the source: - can be found in Source/org/python/util/install (new package) - because I don't know how to create a cvs patch for a new directory from Eclipse - the working horses are JarInfo and JarInstaller, the rest is user guidance