=== removed directory 'installers' === removed file 'installers/.bzrignore' --- installers/.bzrignore 2010-03-02 06:52:28 +0000 +++ installers/.bzrignore 1970-01-01 00:00:00 +0000 @@ -1,12 +0,0 @@ -dhis2_install.jar -dhis2-2.0.3.war -*.war -*.pdf -dhis2-live.jar -dhis2_user_manual_en.pdf -webapps/dhis -webapps/birt -*.db - - - === removed file 'installers/INSTALLER-README.txt' --- installers/INSTALLER-README.txt 2011-03-10 18:46:30 +0000 +++ installers/INSTALLER-README.txt 1970-01-01 00:00:00 +0000 @@ -1,132 +0,0 @@ -Thanks for downloading the DHIS2 Live installer. The aim of this project is to -create a simple process for the complete build of DHIS2 with the aim of deployment -to a desktop computer. The installer, along with the build script should build -a complete DHIS2 system ready for deployment from source. - -There are several different installers, utilizing different framworks, and which are intented -for different purposes and deployment architectures. - - -BitRock installer notes - - -The current install will build a Windows executable which will offer an install of Postgresql, Java, -and a template DHIS2 database. The database can be easily replaced by a Postgresql dump and restored instead -of the empty template databse. -The source of the current installer can be found in the file named DHIS2_pginstaller. - A few alternative installer flavors utilizing Bitrock are described at the end of this document. - -It is critical that you set all of the environment variables to the correct paths in your system. -Modify the environment variables in the build.sh (on Linux) or build.bat (on Windows) script to suit your needs. - - -There are several variables that you will need to set. -Here are some examples, modify them in the script to suit your local system. - -1) This variable should point to your local copy of the JDK. - JAVA_HOME=/usr/local/java/jdk1.6.0_10/ - -2) Be sure that maven is accessible in your path. - PATH=$PATH:/home/wheel/apache-maven-2.2.1/bin/ - -3) This variable is necessary during the installer build process and should point to your local copy of the -BitRock install builder executable. You can get a copy of BitRock install builder from here -http://installbuilder.bitrock.com/download-step-2.html. - - Install it somewhere on your system and -point the environment variable to the correct directory. - Example on Linux - - BITROCK_HOME=/home/wheel/installbuilder-6.2.7/bin/builder - Example On Windows - - BITROCK_HOME="c:\Program Files\BitRock InstallBuilder Professional 6.5.6\bin\builder-cli.exe" - -5) This variable should point to the root directory of the source of the documentation branch. - - DHIS2_DOCS="/home/wheel/workspace/dhis2-docbook-docs/" - - DHIS2_DOCS=c:\dhis2\dhis2-docbook-docs - -6) This variable should point to your copy of the dhis2 main source branch. - - On Linux - - DHIS2_SRC="/home/wheel/workspace/dhis2" - - On Windows - DHIS2_SRC=c:\dhis2 - -My directory structure looks something like this.. -/workspace -|_dhis-2 (contains the DHIS 2 source code) -|_dhis2-docbook-docs (contains the DHIS2 documentation source) -|_dhis2-live-installer (contains the Installer source) -|_dhis-live (contains the DHIS Live source) - -To get started just execute, just go to the dhis2-live-installer directory -and execute the build.sh script if you are on Linux (be sure it is executable) - -There are several options you will need to pass to the build script. - -./build.sh all Build everything. -./build.sh docs Build only the documentation. -./build.sh installer Build only the installer. -./build.sh dhis2 Build only DHIS2. -./build.sh live Build only the DHIS2 Live wrapper. - - - - -There are a number of other installers that will be generated for different purposes. - -1)DHIS2 Windows Live - -This version of the installer is appropriate for Microsoft Windows with a pre-existing JRE. - -2) DHIS2 Windows Embedded JRE - -This version of the installer will include a pre-packed: - -o JRE (Java Runtime Edition). This version therefore will not require a user to have Java pre-installed on their machine, but will -increase the size of the installer by about 30 MB. Place a copy of the JRE in /resources/jre/jre6. -Note that JRE is referring to the extracted collection of files, not the Windows executable installer. -One way to obtain this is to install JRE on Windows and copy the extracted JRE directory into this project. - -o Firefox browser. Place a copy of Firefox Portable in /resources/browser/FirefoxPortable. Note that Firefox portable is referring -to the extracted collection of files, not the Windows executable installer. One way to obtain this is to install Firefox portable -on Windows and copy the extracted FirefoxPortable directory into this project. - -o Demo database. Place a copy of the H2 demo database (called "demo.h2.db") into resources/demodb. - -You will now enter into a rather lengthy -process depending on the speed of your machine. At the end you will -have a Windows installer based on the latest source code and -documentation. These will be output to the BITROCK_HOME/output -directory. - - -IZPack Installer - - -The second installer is based on IZPack and may be more appropriate -for those that need a relatively simply build process, without having Maven installed. -It is recommended to use the BitRock installer as the IZPack installer is no longer maintained. - -Basically, you will need to populate some different directories with prerequisites. - -1) Put everything you need for PostgreSQL in the postgres directory.This usually involves unzipping that installer on the PostgreSQL website. -2) Put an offline version of Java (to be sure you have a recent version) in the /java directory. Be sure that the file name matches that in the install.xml file -3) Put the dhis2_user_manual_en.pdf from the documentation branch into the /docs directory -4) Change the hibernate.properties file to set your needs. -5) Compile with the IZPack compiler. - -Questions about these installer can be directed to Jason Pickering . - - - -NSIS Installer - -This installer (located in the /src/nsis) folder is based on the NSIS installer framework (http://nsis.sourceforge.net/) -. This installer will install MySQL, Tomcat, Java (if needed) and Google Chrome and of course DHIS2, -as well as restoring the MySQL database from a file included in the installer itself. \ No newline at end of file === removed file 'installers/LICENSE.txt' --- installers/LICENSE.txt 2010-03-02 06:52:28 +0000 +++ installers/LICENSE.txt 1970-01-01 00:00:00 +0000 @@ -1,24 +0,0 @@ -Copyright (c) 2004-2007, University of Oslo -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -* Neither the name of the HISP project nor the names of its contributors may - be used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. === removed file 'installers/build.bat' --- installers/build.bat 2011-03-17 13:01:21 +0000 +++ installers/build.bat 1970-01-01 00:00:00 +0000 @@ -1,52 +0,0 @@ - - -REM Adjust these environment variables to suit your system. -REM They are needed by this build script as well as maven during the build. - -REM Path to the Java SDK -JAVA_HOME="C:\Program Files\Java\jdk1.6.0_10\" - -REM Be sure maven is in your path -PATH=%PATH%;"C:\apache-maven-2.2.1\bin\" - -REM Be sure that the Bitrock installer is in your path -BITROCK_HOME="C:\Program Files\BitRock InstallBuilder Professional 6.2.7" - -REM If you are including Birt in the build, be sure it is available here -BIRT_WAR="C:\apache-tomcat-6.0.18\webapps\birt\" - -REM Path to the root of the documentation branch source tree -DHIS2_DOCS="C:\src\dhis2-docbook-docs" - -REM Path to the root of the DHIS2 branch source tree -DHIS2_SRC="C:\src\dhis2" - -REM Path to the root of the DHIS2 Live installer source tree -DHIS2_INSTALL="C:\src\dhis2-live-installer" - -SET %JAVA_HOME% -SET %PATH% -SET %BITROCK_HOME% -SET %BIRT_WAR% -SET %DHIS2_DOCS% -SET %DHIS2_SRC% -SET %DHIS2_INSTALL% - -echo "Building DHIS 2 Core..." -cd %DHIS2_SRC%\dhis-2 -mvn clean install -Dtest=skip -DfailIfNoTests=false -echo "Building DHIS 2 Web..." -cd dhis-web -mvn clean install -Dtest=skip -DfailIfNoTests=false -echo "Packing DHIS 2 Web Portal..." -cd dhis-web-portal -mvn clean install -Dtest=skip -DfailIfNoTests=false -echo "Builidng DHIS2 Live Package" -cd %DHIS2_SRC%\dhis-live -mvn clean package -Dtest=skip -DfailIfNoTests=false -echo "Building documentation" -cd %DHIS2_DOCS% -mvn package -echo "Building installer" -cd %DHIS2_INSTALL% -mvn exec:exec === removed file 'installers/build.sh' --- installers/build.sh 2013-04-19 12:35:23 +0000 +++ installers/build.sh 1970-01-01 00:00:00 +0000 @@ -1,64 +0,0 @@ -#/bin/sh -export JAVA_HOME=/usr/share/java/jdk1.6.0_19/ -export PATH=$PATH:/home/jason/apache-maven-2.2.1/bin/ -export BITROCK_HOME=/home/jason/installbuilder-6.3.1/ -export BIRT_WAR="/usr/local/apache-tomcat-6.0.18/webapps/" -export DHIS2_DOCS="/home/jason/dhis2/dhis2-docbook-docs/" -export DHIS2_SRC="/home/jason/dhis2/dhis2/" -export MAVEN_OPTS="-Xms256m -Xmx512m" - -if [ -z $1 ] - then - echo "Please provide an option: all, dhis2, installer, docs" -elif [ -n $1 ] - then - OPTIONS=$1 -fi -case "$OPTIONS" in - -all) - -echo "Building DHIS 2 Core..." -cd $DHIS2_SRC/dhis-2 -mvn clean install -Dtest=skip -DfailIfNoTests=false -echo "Building DHIS 2 Web..." -cd $DHIS2_SRC/dhis-2/dhis-web -mvn clean install -Dtest=skip -DfailIfNoTests=false -echo "Builidng DHIS2 Live Package" -cd $DHIS2_SRC/dhis-live/ -mvn clean package -Dtest=skip -DfailIfNoTests=false -echo "Building documentation" -cd $DHIS2_DOCS -mvn package -echo "Building installer" -cd $DHIS2_SRC/dhis2-live-installer -mvn package ;; - -docs) - -cd $DHIS2_DOCS -mvn package ;; - -live) -echo "Builidng DHIS2 Live Package" -cd $DHIS2_SRC/dhis-live/ -mvn clean package -Dtest=skip -DfailIfNoTests=false;; - -installer) -echo "Building installer" -cd $DHIS2_SRC/dhis2-live-installer -mvn package ;; - -dhis2) - -echo "Building DHIS 2 Core..." -cd $DHIS2_SRC/dhis-2 -mvn clean install -Dtest=skip -DfailIfNoTests=false -echo "Building DHIS 2 Web..." -cd $DHIS2_SRC/dhis-2/dhis-web -mvn clean install -Dtest=skip -DfailIfNoTests=false -echo "Builidng DHIS2 Live Package" -cd $DHIS2_SRC/dhis-live/ -mvn clean package -Dtest=skip -DfailIfNoTests=false ;; - -esac === removed file 'installers/pom.xml' --- installers/pom.xml 2011-03-10 14:37:48 +0000 +++ installers/pom.xml 1970-01-01 00:00:00 +0000 @@ -1,37 +0,0 @@ - -4.0.0 - org.hisp.dhis - dhis2-installer - 1.0-SNAPSHOT - DHIS2 Installer - This project will build a set of installers for DHIS2. - pom - http://dhis2.com - - - - org.codehaus.mojo - exec-maven-plugin - 1.1 - - - DHIS 2 Postgresql Windows Installer - package - - ${env.BITROCK_HOME} - - build - ${basedir}/src/bitrock/DHIS2_pginstaller.xml - windows - - - - exec - - - - - - - - === removed directory 'installers/resources' === removed directory 'installers/resources/browser' === removed directory 'installers/resources/conf' === removed directory 'installers/resources/conf/documents' === removed directory 'installers/resources/conf/excelreporting' === removed directory 'installers/resources/conf/excelreporting/temp' === removed file 'installers/resources/conf/generic_hibernate.properties' --- installers/resources/conf/generic_hibernate.properties 2011-03-18 13:18:45 +0000 +++ installers/resources/conf/generic_hibernate.properties 1970-01-01 00:00:00 +0000 @@ -1,27 +0,0 @@ -# H2 - -#hibernate.dialect = org.hisp.dhis.dialect.H2Dialect -#hibernate.connection.driver_class = org.h2.Driver -#hibernate.connection.url = jdbc:h2:./database/demo;AUTO_SERVER=TRUE -#hibernate.connection.username = sa -#hibernate.connection.password = - -# PostgreSQL - -hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect -hibernate.connection.driver_class = org.postgresql.Driver -hibernate.connection.url = jdbc:postgresql:dhis2db -hibernate.connection.username = dhis -hibernate.connection.password = dhis - -# MySQL - -#hibernate.dialect = org.hibernate.dialect.MySQLDialect -#hibernate.connection.driver_class = com.mysql.jdbc.Driver -#hibernate.connection.url = jdbc:mysql://localhost/dhis2 -#hibernate.connection.username = sa -#hibernate.connection.password = - -# General - -hibernate.hbm2ddl.auto = update === removed file 'installers/resources/conf/hibernate.properties' --- installers/resources/conf/hibernate.properties 2011-03-10 14:37:48 +0000 +++ installers/resources/conf/hibernate.properties 1970-01-01 00:00:00 +0000 @@ -1,27 +0,0 @@ -# H2 - -#hibernate.dialect = org.hisp.dhis.dialect.H2Dialect -#hibernate.connection.driver_class = org.h2.Driver -#hibernate.connection.url = jdbc:h2:./database/demo;AUTO_SERVER=TRUE -#hibernate.connection.username = sa -#hibernate.connection.password = - -# PostgreSQL - -hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect -hibernate.connection.driver_class = org.postgresql.Driver -hibernate.connection.url = jdbc:postgresql:DHIS2DBNAME -hibernate.connection.username = dhis2 -hibernate.connection.password = dhis2 - -# MySQL - -#hibernate.dialect = org.hibernate.dialect.MySQLDialect -#hibernate.connection.driver_class = com.mysql.jdbc.Driver -#hibernate.connection.url = jdbc:mysql://localhost/dhis2 -#hibernate.connection.username = sa -#hibernate.connection.password = - -# General - -hibernate.hbm2ddl.auto = update === removed directory 'installers/resources/conf/importexport' === removed file 'installers/resources/conf/importexport/ibatisConfiguration.xml' --- installers/resources/conf/importexport/ibatisConfiguration.xml 2010-03-02 06:52:28 +0000 +++ installers/resources/conf/importexport/ibatisConfiguration.xml 1970-01-01 00:00:00 +0000 @@ -1,6 +0,0 @@ - - C:\Dhis14\DHIS_#SAMPLE.mdb - - - 8 - \ No newline at end of file === removed file 'installers/resources/conf/jetty.port' --- installers/resources/conf/jetty.port 2010-03-02 06:52:28 +0000 +++ installers/resources/conf/jetty.port 1970-01-01 00:00:00 +0000 @@ -1,1 +0,0 @@ -8888 === removed directory 'installers/resources/conf/reports' === removed file 'installers/resources/conf/reports/reportConfiguration.xml' --- installers/resources/conf/reports/reportConfiguration.xml 2010-03-02 06:52:28 +0000 +++ installers/resources/conf/reports/reportConfiguration.xml 1970-01-01 00:00:00 +0000 @@ -1,4 +0,0 @@ - - C:\development\dhis2-lite/webapps/birt - birt - \ No newline at end of file === removed directory 'installers/resources/conf/rt' === removed directory 'installers/resources/conf/rt/design' === removed directory 'installers/resources/conf/rt/design/jrxml' === removed directory 'installers/resources/conf/rt/design/xml' === removed directory 'installers/resources/demodb' === removed directory 'installers/resources/dhis-live' === removed directory 'installers/resources/docs' === removed directory 'installers/resources/files' === removed file 'installers/resources/files/Licence.txt' --- installers/resources/files/Licence.txt 2011-03-06 10:06:56 +0000 +++ installers/resources/files/Licence.txt 1970-01-01 00:00:00 +0000 @@ -1,27 +0,0 @@ -Copyright (c) 2004-2011, University of Oslo. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - o Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - o Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - o Neither the name of the HISP project nor the names of its contributors may - be used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. === removed file 'installers/resources/files/README.html' --- installers/resources/files/README.html 2011-03-14 14:10:54 +0000 +++ installers/resources/files/README.html 1970-01-01 00:00:00 +0000 @@ -1,79 +0,0 @@ - - - - - - -

Installing DHIS 2

- -

Important note:

-In the resources folder, make sure the following files are present -before you start the installation:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileDescriptionSource
dhis2db.zipA zip file that contains a plain text dump of your database.A plain text dump of your database.
dhis2_user_manual_en.pdfThe DHIS 2 user manualClick to download:
- - http://dhis2.org/doc/snapshot/en/pdf/dhis2_user_manual_en.pdf
dhis.warThe DHIS 2 war fileDownload the latest release from:
- - http://dhis2.org/downloads
ChromeStandaloneSetup.exeGoogle Chrome web browserDownload the latest release from:
- - http://www.google.com/chrome/eula.html?standalone=1
jre-<something>.exeJava Runtime EnvironmentDownload Windows 7/XP/Vista/2000/2003/2008 Offline from: - - http://www.java.com/en/download/manual.jsp
postgresql-<something>.exePostgreSQL database systemDownload the newest Win x86-32 installer from:
- - http://www.enterprisedb.com/products-services-training/pgdownload#windows
- - - === removed file 'installers/resources/files/Readme.txt' --- installers/resources/files/Readme.txt 2011-03-06 10:06:56 +0000 +++ installers/resources/files/Readme.txt 1970-01-01 00:00:00 +0000 @@ -1,19 +0,0 @@ -Welcome to the DHIS 2! - -Thanks for installing DHIS 2. To fully utilize the software, you may need to -install a few additional packages. - -o A WC3 compliant browser should be installed in order to ensure full compatibility with DHIS 2. -- Google Chrome: http://www.google.com/chrome -- Mozilla: http://www.mozilla.com/ -- Opera: http://www.opera.com/ - -o A recent version of Microsoft Office Excel or Open Office Calc -(http://www.openoffice.org/) in order to utilize the Excel Report module, -or analyze data in PivotTables. -o If you want to view the PDF version of the documentation, -a recent version of the Adobe Acrobat reader, or other program capable of reading PDF -documents. Acrobat Reader can be downloaded free of charge from (http://get.adobe.com/reader/) -o To find out more about DHIS 2, please visit the DHIS 2 home page at http://www.dhis2.org/ -o Why not join the DHIS 2 users mailing list? Just head over to https://launchpad.net/~dhis2-users. - === removed file 'installers/resources/files/Readme_generic.txt' --- installers/resources/files/Readme_generic.txt 2011-03-09 21:57:58 +0000 +++ installers/resources/files/Readme_generic.txt 1970-01-01 00:00:00 +0000 @@ -1,13 +0,0 @@ -Welcome to the DHIS 2! - -Thanks for installing DHIS 2. To fully utilize the software, you may need to -install a few additional packages. - -o If you want to view the PDF version of the documentation, -a recent version of the Adobe Acrobat reader, or other program capable of reading PDF -documents. Acrobat Reader can be downloaded free of charge from http://get.adobe.com/reader - -o To find out more about DHIS 2, please visit the DHIS 2 home page at http://www.dhis2.org - -o Why not join the DHIS 2 users mailing list? Just head over to https://launchpad.net/~dhis2-users. - === removed directory 'installers/resources/images' === removed file 'installers/resources/images/dhis2-logo-blue-rotated.png' Binary files installers/resources/images/dhis2-logo-blue-rotated.png 2011-03-09 20:21:25 +0000 and installers/resources/images/dhis2-logo-blue-rotated.png 1970-01-01 00:00:00 +0000 differ === removed file 'installers/resources/images/dhis2-logo-blue.png' Binary files installers/resources/images/dhis2-logo-blue.png 2011-03-09 20:21:25 +0000 and installers/resources/images/dhis2-logo-blue.png 1970-01-01 00:00:00 +0000 differ === removed file 'installers/resources/images/dhis2-logo-rotated.png' Binary files installers/resources/images/dhis2-logo-rotated.png 2010-03-02 06:52:28 +0000 and installers/resources/images/dhis2-logo-rotated.png 1970-01-01 00:00:00 +0000 differ === removed file 'installers/resources/images/dhis2-logo.png' Binary files installers/resources/images/dhis2-logo.png 2010-03-02 06:52:28 +0000 and installers/resources/images/dhis2-logo.png 1970-01-01 00:00:00 +0000 differ === removed file 'installers/resources/images/dhis2-splash-blue.png' Binary files installers/resources/images/dhis2-splash-blue.png 2011-03-09 20:21:25 +0000 and installers/resources/images/dhis2-splash-blue.png 1970-01-01 00:00:00 +0000 differ === removed file 'installers/resources/images/dhis2.ico' Binary files installers/resources/images/dhis2.ico 2010-03-02 06:52:28 +0000 and installers/resources/images/dhis2.ico 1970-01-01 00:00:00 +0000 differ === removed directory 'installers/resources/jre' === removed directory 'installers/resources/postgres' === removed file 'installers/resources/postgres/dhis2db.backup' Binary files installers/resources/postgres/dhis2db.backup 2011-03-06 09:31:18 +0000 and installers/resources/postgres/dhis2db.backup 1970-01-01 00:00:00 +0000 differ === removed file 'installers/resources/postgres/restore_db.bat' --- installers/resources/postgres/restore_db.bat 2011-03-11 10:44:54 +0000 +++ installers/resources/postgres/restore_db.bat 1970-01-01 00:00:00 +0000 @@ -1,5 +0,0 @@ -SET PGPASSWORD=PG_PASSWORD -"c:\Program Files\PostgreSQL\9.0\bin\psql.exe" -c "CREATE USER dhis2 CREATEDB LOGIN PASSWORD 'dhis2';" -U postgres -w postgres -SET PGPASSWORD=dhis2 -"c:\Program Files\Postgresql\9.0\bin\createdb.exe" -U dhis2 -w -O dhis2 DHIS2DBNAME -"c:\Program Files\Postgresql\9.0\bin\pg_restore" -U dhis2 -w -O dhis2 -d DHIS2DBNAME dhis2db.backup === removed file 'installers/resources/postgres/restore_db_psql.bat' --- installers/resources/postgres/restore_db_psql.bat 2011-03-18 08:51:24 +0000 +++ installers/resources/postgres/restore_db_psql.bat 1970-01-01 00:00:00 +0000 @@ -1,13 +0,0 @@ -SET PGPASSWORD=postgres -SET DB_NAME=dhis2db -SET n=2 -setlocal enabledelayedexpansion - -"POSTGRES_INSTALL_LOCATION\bin\psql.exe" -c "CREATE USER dhis CREATEDB LOGIN PASSWORD 'dhis';" -U postgres -w postgres - -for %%X in (dhis2db\*.*) do ( - "POSTGRES_INSTALL_LOCATION\bin\createdb.exe" -U postgres -w -O dhis !DB_NAME! - "POSTGRES_INSTALL_LOCATION\bin\psql.exe" -U postgres -w -d !DB_NAME! -f "%%X" - SET DB_NAME=%DB_NAME%!n! - SET /a n+=1 -) \ No newline at end of file === removed directory 'installers/resources/scripts' === removed directory 'installers/resources/scripts/linux' === removed file 'installers/resources/scripts/linux/startup.sh' --- installers/resources/scripts/linux/startup.sh 2010-03-02 06:52:28 +0000 +++ installers/resources/scripts/linux/startup.sh 1970-01-01 00:00:00 +0000 @@ -1,28 +0,0 @@ -#!/bin/bash - -# get ready to catch errors -trap ctrl-c INT -trap unexpected-exit ERR - -function ctrl-c () { - echo - echo "============================================" - echo "Keyboard interrupt" - echo "DHIS2 live exited" - echo "============================================" - exit -} - -function unexpected-exit () { - echo "============================================" - echo "DHIS2 live exited with an error" - echo "Make sure you have a java runtime in your path" - echo "============================================" - read -p "Press any key to exit" -} - -echo "Starting DHIS2 live ..." -# java -jar dhis2-live.jar -$JAVA_HOME/bin/java -jar dhis2-live.jar -echo "DHIS2 live exited normally" - === removed directory 'installers/resources/scripts/win32' === removed directory 'installers/resources/webapps' === removed directory 'installers/resources/webapps/birt' === removed directory 'installers/resources/webapps/dhis' === removed directory 'installers/src' === removed directory 'installers/src/bitrock' === removed file 'installers/src/bitrock/DHIS2.xml' --- installers/src/bitrock/DHIS2.xml 2010-09-19 07:07:39 +0000 +++ installers/src/bitrock/DHIS2.xml 1970-01-01 00:00:00 +0000 @@ -1,333 +0,0 @@ - - DHIS2 - DHIS2 - 2.0.5 - ../../resources/files/Readme.txt - ../../resources/files/Licence.txt - ../../resources/images/dhis2-logo-rotated.png - ../../resources/images/dhis2-logo.png - ../../resources/images/dhis2-logo.png - 1 - - - ${build_project_directory}/temp/ - ${env(DHIS2_SRC)}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war - - - 0 - BIRT was not detected. Skipping. - ${build_project_directory}/temp - ${env(BIRT_WAR)}/birt.war - - - installbirt - FALSE - - - - - ${build_project_directory}/temp/dhis2-live.jar - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar - - - ${build_project_directory}/temp/dhis2-live.exe - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live.exe - - - ${build_project_directory}/temp/ - ${env(DHIS2_DOCS)}//target/site/en/pdf/dhis2_user_manual_en.pdf - - - - - Sorry. You must have a valide JRE installed on your machine. Download and install the latest version of Java for your machine and try to install DHIS2 again. The installer will now exit. - 0 - - - You will now be directed to the download site. Please install Java and rerun the DHIS2 installer. - http://www.java.com/en/download/manual.jsp - - - - - - 1.6.0_18 - 0 - - - - - - - - ${installdir}/database - Creating database directory. - - - ${installdir}/log - - - ${installdir}/webapps - - - 1 - lzma - 1 - 1 - highestAvailable - 1 - DHIS2 - - - dhis2live - DHIS2 Live - 0 - 1 - 1 - - - Program Files - ${installdir} - programfiles - all - - - ../../resources/conf - - - temp/dhis2-live.jar - - - - - Uninstall - ${installdir}/${uninstallerName} - - Uninstall ${product_fullname} - ${installdir} - all - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir} - - - - - Program Files - ${installdir} - programfileslinux - linux - - - ../../resources/scripts/linux/startup.sh - - - - - Program Files - ${installdir} - programfileswindows - windows - - - temp/dhis2-live.exe - - - - - Program Files - ${installdir} - programfilesosx - osx - - - - - Uninstall ${product_fullname} - Uninstall ${product_fullname} - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir}/ - - - Start DHIS2 - Start DHIS2 - 0 - ${installdir}/dhis2-live.exe - - - - - - DHIS2 Docs - ${installdir}/docs/dhis2_user_manual_en.pdf - DHIS2 Documentation - 0 - - - - - - birt - Birt Reporting Framework - 1 - The Birt Reporting Framework. Install this compoenent if you plan to use BIRT reports. - 0 - 1 - - - birt - ${installdir}/webapps/birt - birt - all - - - temp/birt.war - - - - - - - ${installdir}/webapps/birt/ - Unpacking BIRT - Unpacking BIRT - ${installdir}/webapps/birt/birt.war - - - Cleaning up BIRT. - ${installdir}/webapps/birt/birt.war - Cleaning up BIRT. - - - - - demodb - Demo database - 1 - 0 - 1 - - - demodb - ${installdir}/database - demodb - all - - - ../../resources/demodb/database.h2.db - - - ../../resources/demodb/database.trace.db - - - ../../resources/demodb/dhis2.12.log.db - - - ../../resources/demodb/dhis2.data.db - - - ../../resources/demodb/dhis2.index.db - - - ../../resources/demodb/dhis2.trace.db - - - - - - - dhis2core - DHIS2 Core - 0 - 1 - 1 - - - dhiscore - ${installdir}/webapps/dhis - dhiscore - all - - - temp/dhis.war - - - - - - - ${installdir}/webapps/dhis/ - Unzipping DHIS2 core. - Unzipping DHIS2 core. - ${installdir}/webapps/dhis/dhis.war - - - Cleaning up DHIS2 war file. - ${installdir}/webapps/dhis/dhis.war - Cleaning up DHIS2 war file - - - - - dhis2docs - DHIS2 Docs - 1 - 1 - 1 - - - docs - ${installdir}/docs - docs - all - - - temp/dhis2_user_manual_en.pdf - - - - - - - - - ${installdir}\dhis2-live.exe - - Do you want to launch ${product_fullname} now? - - - - - installdir - Installer.Parameter.installdir.description - Installer.Parameter.installdir.explanation - - ${platform_install_prefix}/${product_shortname}-${product_version} - 0 - yes - prefix - yes - 0 - 40 - - - installbirt - - - - TRUE - radiobuttons - - - - - windows - - - - === removed file 'installers/src/bitrock/DHIS2_demo_birt.xml' --- installers/src/bitrock/DHIS2_demo_birt.xml 2010-09-19 07:07:39 +0000 +++ installers/src/bitrock/DHIS2_demo_birt.xml 1970-01-01 00:00:00 +0000 @@ -1,319 +0,0 @@ - - DHIS2 - DHIS2 - 2.0.5 - ${product_shortname}-${product_version}-${platform_name}-live-demo.${platform_exec_suffix} - ../../resources/files/Readme.txt - ../../resources/files/Licence.txt - ../../resources/images/dhis2-logo-rotated.png - ../../resources/images/dhis2-logo.png - ../../resources/images/dhis2-logo.png - 1 - - - ${build_project_directory}/temp/ - ${env(DHIS2_SRC)}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war - - - 0 - BIRT was not detected. Skipping. - ${build_project_directory}/temp - ${env(BIRT_WAR)}/birt.war - - - installbirt - FALSE - - - - - ${build_project_directory}/temp/dhis2-live.jar - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar - - - ${build_project_directory}/temp/dhis2-live.exe - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live.exe - - - ${build_project_directory}/temp/ - ${env(DHIS2_DOCS)}//target/site/en/pdf/dhis2_user_manual_en.pdf - - - - - Sorry. You must have a valide JRE installed on your machine. Download and install the latest version of Java for your machine and try to install DHIS2 again. The installer will now exit. - 0 - - - You will now be directed to the download site. Please install Java and rerun the DHIS2 installer. - http://www.java.com/en/download/manual.jsp - - - - - - 1.6.0_18 - 0 - - - - - - - - ${installdir}/database - Creating database directory. - - - ${installdir}/log - - - ${installdir}/webapps - - - 1 - lzma - 1 - 1 - highestAvailable - 1 - DHIS2 - - - dhis2live - DHIS2 Live - 0 - 1 - 1 - - - Program Files - ${installdir} - programfiles - all - - - ../../resources/conf - - - temp/dhis2-live.jar - - - - - Uninstall - ${installdir}/${uninstallerName} - - Uninstall ${product_fullname} - ${installdir} - all - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir} - - - - - Program Files - ${installdir} - programfileslinux - linux - - - ../../resources/scripts/linux/startup.sh - - - - - Program Files - ${installdir} - programfileswindows - windows - - - temp/dhis2-live.exe - - - - - Program Files - ${installdir} - programfilesosx - osx - - - - - Uninstall ${product_fullname} - Uninstall ${product_fullname} - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir}/ - - - Start DHIS2 - Start DHIS2 - 0 - ${installdir}/dhis2-live.exe - - - - - - DHIS2 Docs - ${installdir}/docs/dhis2_user_manual_en.pdf - DHIS2 Documentation - 0 - - - - - - birt - Birt Reporting Framework - 1 - The Birt Reporting Framework. Install this component if you plan to use BIRT reports. - 0 - 1 - - - birt - ${installdir}/webapps/birt - birt - all - - - temp/birt.war - - - - - - - ${installdir}/webapps/birt/ - Unpacking BIRT - Unpacking BIRT - ${installdir}/webapps/birt/birt.war - - - Cleaning up BIRT. - ${installdir}/webapps/birt/birt.war - Cleaning up BIRT. - - - - - demodb - Demo database - 1 - 0 - 1 - - - demodb - ${installdir}/database - demodb - all - - - ../../resources/demodb/demo.h2.db - - - - - - - dhis2core - DHIS2 Core - 0 - 1 - 1 - - - dhiscore - ${installdir}/webapps/dhis - dhiscore - all - - - temp/dhis.war - - - - - - - ${installdir}/webapps/dhis/ - Unzipping DHIS2 core. - Unzipping DHIS2 core. - ${installdir}/webapps/dhis/dhis.war - - - Cleaning up DHIS2 war file. - ${installdir}/webapps/dhis/dhis.war - Cleaning up DHIS2 war file - - - - - dhis2docs - DHIS2 Docs - 1 - 1 - 1 - - - docs - ${installdir}/docs - docs - all - - - temp/dhis2_user_manual_en.pdf - - - - - - - - - ${installdir}\dhis2-live.exe - - Do you want to launch ${product_fullname} now? - - - - - installdir - Installer.Parameter.installdir.description - Installer.Parameter.installdir.explanation - - ${platform_install_prefix}/${product_shortname}-${product_version} - 0 - yes - prefix - yes - 0 - 40 - - - installbirt - - - - TRUE - radiobuttons - - - - - windows - - - - === removed file 'installers/src/bitrock/DHIS2_live.xml' --- installers/src/bitrock/DHIS2_live.xml 2013-04-19 12:35:23 +0000 +++ installers/src/bitrock/DHIS2_live.xml 1970-01-01 00:00:00 +0000 @@ -1,245 +0,0 @@ - - DHIS2 - DHIS2 - 2.0.5 - ${product_shortname}-${product_version}-${platform_name}-live.${platform_exec_suffix} - ../../resources/files/Readme.txt - ../../resources/files/Licence.txt - ../../resources/images/dhis2-logo-rotated.png - ../../resources/images/dhis2-logo.png - ../../resources/images/dhis2-logo.png - 1 - - - ${build_project_directory}/temp/ - ${env(DHIS2_SRC)}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war - - - ${build_project_directory}/temp/dhis2-live.jar - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar - - - ${build_project_directory}/temp/dhis2-live.exe - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live.exe - - - ${build_project_directory}/temp/ - ${env(DHIS2_DOCS)}//target/site/en/pdf/dhis2_user_manual_en.pdf - - - - - Sorry. You must have a valide JRE installed on your machine. Download and install the latest version of Java for your machine and try to install DHIS2 again. The installer will now exit. - 0 - - - You will now be directed to the download site. Please install Java and rerun the DHIS2 installer. - http://www.java.com/en/download/manual.jsp - - - - - - 1.6.0_18 - 0 - - - - - - - - ${installdir}/database - Creating database directory. - - - ${installdir}/log - - - ${installdir}/webapps - - - 1 - lzma - 1 - 1 - highestAvailable - 1 - DHIS2 - - - dhis2live - DHIS2 Live - 0 - 1 - 1 - - - Program Files - ${installdir} - programfiles - all - - - ../../resources/conf - - - temp/dhis2-live.jar - - - - - Uninstall - ${installdir}/${uninstallerName} - - Uninstall ${product_fullname} - ${installdir} - all - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir} - - - - - Program Files - ${installdir} - programfileslinux - linux - - - ../../resources/scripts/linux/startup.sh - - - - - Program Files - ${installdir} - programfileswindows - windows - - - temp/dhis2-live.exe - - - - - Program Files - ${installdir} - programfilesosx - osx - - - - - Uninstall ${product_fullname} - Uninstall ${product_fullname} - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir}/ - - - Start DHIS2 - Start DHIS2 - 0 - ${installdir}/dhis2-live.exe - - - - - - DHIS2 Docs - ${installdir}/docs/dhis2_user_manual_en.pdf - DHIS2 Documentation - 0 - - - - - - dhis2core - DHIS2 Core - 0 - 1 - 1 - - - dhiscore - ${installdir}/webapps/dhis - dhiscore - all - - - temp/dhis.war - - - - - - - ${installdir}/webapps/dhis/ - Unzipping DHIS2 core. - Unzipping DHIS2 core. - ${installdir}/webapps/dhis/dhis.war - - - Cleaning up DHIS2 war file. - ${installdir}/webapps/dhis/dhis.war - Cleaning up DHIS2 war file - - - - - dhis2docs - DHIS2 Docs - 1 - 1 - 1 - - - docs - ${installdir}/docs - docs - all - - - temp/dhis2_user_manual_en.pdf - - - - - - - - - ${installdir}\dhis2-live.exe - - Do you want to launch ${product_fullname} now? - - - - - installdir - Installer.Parameter.installdir.description - Installer.Parameter.installdir.explanation - - ${platform_install_prefix}/${product_shortname}-${product_version} - 0 - yes - prefix - yes - 0 - 40 - - - - - windows - - - - === removed file 'installers/src/bitrock/DHIS2_live_embedded_en.xml' --- installers/src/bitrock/DHIS2_live_embedded_en.xml 2013-04-19 12:35:23 +0000 +++ installers/src/bitrock/DHIS2_live_embedded_en.xml 1970-01-01 00:00:00 +0000 @@ -1,319 +0,0 @@ - - DHIS2 - DHIS2 - 2.0.5 - ${product_shortname}-${product_version}-${platform_name}-live-JRE-en.${platform_exec_suffix} - ../../resources/files/Readme.txt - ../../resources/files/Licence.txt - ../../resources/images/dhis2-logo-rotated.png - ../../resources/images/dhis2-logo.png - ../../resources/images/dhis2-logo.png - 1 - - - ${build_project_directory}/temp/ - ${env(DHIS2_SRC)}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war - - - ${build_project_directory}/temp/dhis2-live.jar - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar - - - ${build_project_directory}/temp/dhis2-live.exe - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-embedded.exe - - - ${build_project_directory}/temp/ - ${env(DHIS2_DOCS)}/target/site/en/pdf/dhis2_user_manual_en.pdf - - - 0 - /home/jason/dhis2/dhis2/dhis2-live-installer/resources/installer.properites - includedemodb - 0 - 0 - includedemodb - - - - - ${installdir}/database - Creating database directory. - - - ${installdir}/log - - - ${installdir}/webapps - - - - - 0 - The enviornmenr varaible could not be set. - DHIS2_BROWSER - user - ${installdir}\FirefoxPortable\FirefoxPortable.exe - - - 1 - lzma - 1 - 1 - highestAvailable - 1 - DHIS2 - - - dhis2live - DHIS2 Live - 0 - 1 - 1 - - - Program Files - ${installdir} - programfiles - all - - - ../../resources/conf - - - temp/dhis2-live.jar - - - - - Uninstall - ${installdir}/${uninstallerName} - - Uninstall ${product_fullname} - ${installdir} - all - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir} - - - - - Program Files - ${installdir} - programfileslinux - linux - - - ../../resources/scripts/linux/startup.sh - - - - - Program Files - ${installdir} - programfileswindows - windows - - - temp/dhis2-live.exe - - - - - Program Files - ${installdir} - programfilesosx - osx - - - - - Uninstall ${product_fullname} - Uninstall ${product_fullname} - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir}/ - - - Start DHIS2 - Start DHIS2 - 0 - ${installdir}/dhis2-live.exe - - - - - - DHIS2 Docs - ${installdir}/docs/dhis2_user_manual_en.pdf - DHIS2 Documentation - 0 - - - - - - dhis2core - DHIS2 Core - 0 - 1 - 1 - - - dhiscore - ${installdir}/webapps/dhis - dhiscore - all - - - temp/dhis.war - - - - - - - ${installdir}/webapps/dhis/ - Unzipping DHIS2 core. - Unzipping DHIS2 core. - ${installdir}/webapps/dhis/dhis.war - - - Cleaning up DHIS2 war file. - ${installdir}/webapps/dhis/dhis.war - Cleaning up DHIS2 war file - - - - - dhis2docs - DHIS2 Docs - 1 - 1 - 1 - - - docs - ${installdir}/docs - docs - all - - - temp/dhis2_user_manual_en.pdf - - - - - - - jre - JRE - 0 - Embedded JRE - 1 - 0 - - - jre - ${installdir}/ - jre - windows - - - ../../resources/jre/jre6 - - - - - - - FirefoxPortable - FirefoxPortable - 1 - 1 - 0 - - - FirefoxPortable - ${installdir}/ - FirefoxPortable - windows - - - ../../resources/browser/FirefoxPortable - - - - - - - ../../resources/browser/FirefoxPortable/FirefoxPortable.exe - - - - - demodb - Demo database - 1 - 1 - or - 1 - - - demodb - ${installdir}/database - demodb - all - - - ../../resources/demodb/demo.h2.db - - - - - - - ../../resources/demodb/demo.h2.db - - - equals - ${includedemodb} - 1 - - - - - - - ${installdir}\dhis2-live.exe - - Do you want to launch ${product_fullname} now? - - - - - installdir - Installer.Parameter.installdir.description - Installer.Parameter.installdir.explanation - - ${platform_install_prefix}/${product_shortname}-${product_version} - 0 - yes - prefix - yes - 0 - 40 - - - - - windows - - - - === removed file 'installers/src/bitrock/DHIS2_live_embedded_fr.xml' --- installers/src/bitrock/DHIS2_live_embedded_fr.xml 2010-09-18 21:34:20 +0000 +++ installers/src/bitrock/DHIS2_live_embedded_fr.xml 1970-01-01 00:00:00 +0000 @@ -1,296 +0,0 @@ - - DHIS2 - DHIS2 - 2.0.5 - ${product_shortname}-${product_version}-${platform_name}-live-JRE-fr.${platform_exec_suffix} - ../../resources/files/Readme.txt - ../../resources/files/Licence.txt - ../../resources/images/dhis2-logo-rotated.png - ../../resources/images/dhis2-logo.png - ../../resources/images/dhis2-logo.png - fr - 1 - - - ${build_project_directory}/temp/ - ${env(DHIS2_SRC)}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war - - - ${build_project_directory}/temp/dhis2-live-jar-with-dependencies.jar - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar - - - ${build_project_directory}/temp/dhis2-live.exe - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-embedded.exe - - - ${build_project_directory}/temp/ - ${env(DHIS2_DOCS)}/target/site/en/pdf/dhis2_user_manual_en.pdf - - - - - ${installdir}/database - Creating database directory. - - - ${installdir}/log - - - ${installdir}/webapps - - - - - 0 - The enviornmenr varaible could not be set. - DHIS2_BROWSER - user - ${installdir}\FirefoxPortable\FirefoxPortable.exe - - - 1 - lzma - 1 - 1 - highestAvailable - 1 - DHIS2 - - - dhis2live - DHIS2 Live - 0 - 1 - 1 - - - Program Files - ${installdir} - programfiles - all - - - ../../resources/conf - - - temp/dhis2-live-jar-with-dependencies.jar - - - - - Uninstall - ${installdir}/${uninstallerName} - - Uninstall ${product_fullname} - ${installdir} - all - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir} - - - - - Program Files - ${installdir} - programfileslinux - linux - - - ../../resources/scripts/linux/startup.sh - - - - - Program Files - ${installdir} - programfileswindows - windows - - - temp/dhis2-live.exe - - - - - Program Files - ${installdir} - programfilesosx - osx - - - - - Uninstall ${product_fullname} - Uninstall ${product_fullname} - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir}/ - - - Start DHIS2 - Start DHIS2 - 0 - ${installdir}/dhis2-live.exe - - - - - - DHIS2 Docs - ${installdir}/docs/dhis2_user_manual_en.pdf - DHIS2 Documentation - 0 - - - - - - dhis2core - DHIS2 Core - 0 - 1 - 1 - - - dhiscore - ${installdir}/webapps/dhis - dhiscore - all - - - temp/dhis.war - - - - - - - ${installdir}/webapps/dhis/ - Unzipping DHIS2 core. - Unzipping DHIS2 core. - ${installdir}/webapps/dhis/dhis.war - - - Cleaning up DHIS2 war file. - ${installdir}/webapps/dhis/dhis.war - Cleaning up DHIS2 war file - - - - - dhis2docs - DHIS2 Docs - 1 - 1 - 1 - - - docs - ${installdir}/docs - docs - all - - - temp/dhis2_user_manual_en.pdf - - - - - - - jre - JRE - 0 - Embedded JRE - 1 - 0 - - - jre - ${installdir}/ - jre - windows - - - ../../resources/jre/jre6 - - - - - - - FirefoxPortable - FirefoxPortable - 1 - 1 - 0 - - - FirefoxPortable - ${installdir}/ - FirefoxPortable - windows - - - ../../resources/browser/FirefoxPortable - - - - - - - demodb - Demo database - 1 - 1 - 1 - - - demodb - ${installdir}/database - demodb - all - - - ../../resources/demodb/demo.h2.db - - - - - - - - - ${installdir}\dhis2-live.exe - - Do you want to launch ${product_fullname} now? - - - - - installdir - Installer.Parameter.installdir.description - Installer.Parameter.installdir.explanation - - ${platform_install_prefix}/${product_shortname}-${product_version} - 0 - yes - prefix - yes - 0 - 40 - - - - - windows - - - - === removed file 'installers/src/bitrock/DHIS2_pg.xml' --- installers/src/bitrock/DHIS2_pg.xml 2013-04-19 12:35:23 +0000 +++ installers/src/bitrock/DHIS2_pg.xml 1970-01-01 00:00:00 +0000 @@ -1,419 +0,0 @@ - - DHIS2 - DHIS2 - 2.0.5 - ${product_shortname}-${product_version}-${platform_name}-live-postgresql.${platform_exec_suffix} - ../../resources/files/Readme.txt - ../../resources/files/Licence.txt - ../../resources/images/dhis2-logo-rotated.png - ../../resources/images/dhis2-logo.png - ../../resources/images/dhis2-logo.png - - - 0 - BIRT was not detected. Skipping. - ${build_project_directory}/temp - ${env(BIRT_WAR)}/birt.war - - - installbirt - FALSE - - - - - 1 - {$build_project_directory}/temp/birt.war - - - - - ${build_project_directory}/temp/dhis2-live.jar - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar - - - 1 - {$build_project_directory}/temp/dhis2-live.jar - - - - - ${build_project_directory}/temp/dhis2-live.exe - ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live.exe - - - 1 - {$project_build_directory}/temp/dhis2-live.exe - - - - - ${build_project_directory}/temp/ - ${env(DHIS2_DOCS)}/target/site/en/pdf/dhis2_user_manual_en.pdf - - - 1 - {$build_project_directory}/temp/dhis2_user_manual.pdf - - - - - - - Sorry. You must have a valide JRE installed on your machine. Download and install the latest version of Java for your machine and try to install DHIS2 again. The installer will now exit. - 0 - - - You will now be directed to the download site. Please install Java and rerun the DHIS2 installer. - http://www.java.com/en/download/manual.jsp - - - - - - 1.6.0_14 - 0 - - - - - - - - ${installdir}/log - - - ${installdir}/webapps - - - 1 - lzma - 1 - 1 - highestAvailable - 1 - DHIS2 - - - dhis2live - DHIS2 Live - 0 - 1 - 1 - - - Program Files - ${installdir} - programfiles - all - - - ../../resources/conf - - - temp/dhis2-live.jar - - - - - Uninstall - ${installdir}/${uninstallerName} - - Uninstall ${product_fullname} - ${installdir} - all - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir} - - - - - Program Files - ${installdir} - programfileslinux - linux - - - ../../resources/scripts/linux/startup.sh - - - - - Program Files - ${installdir} - programfileswindows - windows - - - temp/dhis2-live.exe - - - - - Program Files - ${installdir} - programfilesosx - osx - - - - - Uninstall ${product_fullname} - Uninstall ${product_fullname} - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir}/ - - - Start DHIS2 - Start DHIS2 - 0 - ${installdir}/dhis2-live.exe - - - - - - DHIS2 Docs - ${installdir}/docs/dhis2_user_manual_en.pdf - DHIS2 Documentation - 0 - - - - - - dhis2core - DHIS2 Core - 0 - 1 - 1 - - - dhiscore - ${installdir}/webapps/dhis - dhiscore - all - - - temp/dhis.war - - - - - - - ${installdir}/webapps/dhis/ - Unzipping DHIS2 core. - Unzipping DHIS2 core. - ${installdir}/webapps/dhis/dhis.war - - - Cleaning up DHIS2 war file. - ${installdir}/webapps/dhis/dhis.war - Cleaning up DHIS2 war file - - - - - dhis2docs - DHIS2 Docs - 1 - 1 - 1 - - - docs - ${installdir}/docs - docs - all - - - temp/dhis2_user_manual_en.pdf - - - - - - - embeddedjre - Java Runtime Enviornment - 0 - 1 - 1 - - - jre - ${installdir}/ - jre - windows - - - temp/jre6 - - - - - - - postgres - Postgresql Database - 1 - 0 - 0 - - - postgres - ${installdir}/temp/postgres - postgres - windows - - - temp/postgresql-8.4.2-1-windows.exe - - - ../../resources/scripts/win32/generate_user.bat - - - - - - - ${installdir}/temp/postgres/generate_user.bat - - - - ${installdir}/temp/postgres/postgresql-8.4.2-1-windows.exe - --mode unattended --port 5433 --serviceaccount pg_dhis2 --servicepassword postgres - - - - - yes - Do you want to uninstall the Postgresql server? - pg_uninstall - - - ${installdir}/postgres/uninstall-postgres.exe - - - - equals - pg_uninstall - yes - - - - - - - birt - BIRT Reporting Framework - 1 - 0 - 1 - - - birt_dest - ${installdir}/webapps/birt/ - birt_dest - all - - - temp/birt.war - - - - - - - ${installdir}/webapps/birt/ - Unzipping BIRT. - Unzipping BIRT. - ${installdir}/webapps/birt/birt.war - - - Cleaning up BIRT. - ${installdir}/webapps/birt/birt.war - Cleaning up BIRT. - - - - - h2 - H2 Database Framework - 1 - 0 - 0 - - - ${installdir}/database - - - - - - - ${installdir}\dhis2-live.exe - - Do you want to launch ${product_fullname} now? - - - - - installdir - Installer.Parameter.installdir.description - Installer.Parameter.installdir.explanation - - ${platform_install_prefix}/${product_shortname}-${product_version} - 0 - yes - prefix - yes - 0 - 40 - - - database - Please select a database system. - Please select a database system. - - database - postgres - 0 - combobox - 40 - - - - - - - - - - - - - - - windows - - - - === removed file 'installers/src/bitrock/DHIS2_pginstaller.xml' --- installers/src/bitrock/DHIS2_pginstaller.xml 2011-03-11 14:41:52 +0000 +++ installers/src/bitrock/DHIS2_pginstaller.xml 1970-01-01 00:00:00 +0000 @@ -1,460 +0,0 @@ - - DHIS2 - DHIS2 - 2.1 - ${product_shortname}-${product_version}-${platform_name}-live-JRE-en.${platform_exec_suffix} - ../../resources/files/Readme.txt - ../../resources/files/Licence.txt - ../../resources/images/dhis2-logo-rotated.png - ../../resources/images/dhis2-logo.png - ../../resources/images/dhis2-logo.png - 1 - - - 0 - 0 - 0 - - - - 1.6.0_18 - 0 - - - - - - - - ${installdir}/database - Creating database directory. - - - ${installdir}/log - - - ${installdir}/webapps - - - Creating temporary directory - ${installdir}\tmp\ - - - - - ${installdir} - - - 1 - lzma - 1 - 1 - highestAvailable - 1 - 1 - DHIS2 - - - jre - JRE - 0 - 1 - 1 - - - JRE - ${installdir}\tmp\ - JRE - windows - - - ../../resources/jre/jre-6u24-windows-i586-s.exe - - - - - - - 0 - Installing Java Runtime Enviornment - jre-6u24-windows-i586-s.exe - /s /v /log javainstall.txt - Installing Java Runtime Enviornment - 0 - 0 - ${installdir}\tmp\ - - - yes - Java was unable to be installed. Do you wish to try and install it manually? - ${java_gui_install} - - - jre-6u24-windows-i586-s.exe - - 0 - ${installdir}\tmp\ - - - equals - ${java_gui_install} - 1 - - - - - - - equals - ${java_autodetected} - 0 - - - - - - - equals - ${proceed_without_java} - 0 - - - - - - - dhis2live - DHIS2 Live - 0 - 1 - 1 - - - Program Files - ${installdir} - programfiles - all - - - ../../resources/conf - - - ../../../dhis-live/target/dhis2-live-jar-with-dependencies.jar - - - - - Uninstall - ${installdir}/${uninstallerName} - - Uninstall ${product_fullname} - ${installdir} - all - 0 - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir} - - - - - Program Files - ${installdir} - programfileslinux - linux - - - Program Files - ${installdir} - programfileswindows - windows - - - ../../../dhis-live/target/dhis2-live.exe - - - - - Program Files - ${installdir} - programfilesosx - osx - - - - - ${installdir}/dhis2-live.jar - ${installdir}/dhis2-live-jar-with-dependencies.jar - - - - - Uninstall ${product_fullname} - Uninstall ${product_fullname} - 0 - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir}/ - - - Start DHIS 2 - Start DHIS 2 - 0 - 0 - ${installdir}/dhis2-live.exe - - - - - - DHIS2 Docs - ${installdir}/docs/dhis2_user_manual_en.pdf - DHIS2 Documentation - 0 - 0 - - - - - - dhis2core - DHIS2 Core - 0 - 1 - 1 - - - dhiscore - ${installdir}/webapps/dhis - dhiscore - all - - - ../../../dhis-2/dhis-web/dhis-web-portal/target/dhis.war - - - - - - - ${installdir}/webapps/dhis/ - Unzipping DHIS2 core. - Unzipping DHIS2 core. - ${installdir}/webapps/dhis/dhis.war - - - Cleaning up DHIS2 war file. - ${installdir}/webapps/dhis/dhis.war - Cleaning up DHIS2 war file - - - - - dhis2docs - DHIS2 Docs - 1 - 1 - 1 - - - docs - ${installdir}/docs - docs - all - - - ../../../dhis2-docbook-docs/target/docbkx/pdf/dhis2_user_manual_en.pdf - - - - - - - postgres - Postgresql 9.0 - 1 - Postgresql Database system - 1 - 1 - - - postgres - ${installdir}\tmp\ - postgres - windows - - - ../../resources/postgres/postgresql-9.0.1-1-windows.exe - - - - - - - ${postgres_overwrite| - 1 - - - - - postgres_overwrite - Overwrite Postgresql - An existing Postgresql installation has been detected. Are you sure you want to overwrite this instance? - - - 1 - radiobuttons - - - HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql* - exists - - - - - - - - Installing Postgresql - postgresql-9.0.1-1-windows.exe - --unattendedmodeui none --mode unattended --superaccount postgres --servicepassword ${pg_password} --superpassword ${pg_password} - Installing Postgresql - 0 - ${installdir}\tmp\ - - - equals - ${postgres_overwrite} - 1 - - - - - - - dhis2db - DHIS2 database - 1 - DHIS2 Database - 1 - 1 - - - ${installdir}\tmp\ - newfolder - windows - - - ../../resources/postgres/dhis2db.backup - - - ../../resources/postgres/restore_db.bat - - - - - - - pg_password - Postgresql Password - Please enter a password for the Postgresql superuser. - - - postgres - 0 - 0 - - 20 - - - dbname - DHIS2 Database - Please provide the name of the database for DHIS2. - - - dhis2db - 0 - 40 - - - - - ${installdir}\tmp\restore_db.bat - regexp - - - PG_PASSWORD - ${pg_password} - - - DHIS2DBNAME - ${dbname} - - - - - ${installdir}\conf\hibernate.properties - regexp - - - DHIS2DBNAME - ${dbname} - - - - - 0 - Restoring DHIS2 Database - restore_db.bat - - Please be patient. Restoring DB. - 0 - ${installdir}\tmp\ - - - ${installdir}\tmp\dhis2db.backup - - - ${installdir}\tmp\restore_db.bat - - - - - - - 0 - Delete temporary files - ${installdir}\tmp\postgresql-9.0.1-1-windows.exe - - - ${installdir}\dhis2-live.exe - - Do you want to launch ${product_fullname} now? - - - - - installdir - Installer.Parameter.installdir.description - Installer.Parameter.installdir.explanation - - ${platform_install_prefix}/${product_shortname}-${product_version} - 0 - yes - prefix - yes - 0 - 40 - - - - - windows - - - - === removed file 'installers/src/bitrock/DHIS2_pginstaller_generic.xml' --- installers/src/bitrock/DHIS2_pginstaller_generic.xml 2011-03-22 14:24:37 +0000 +++ installers/src/bitrock/DHIS2_pginstaller_generic.xml 1970-01-01 00:00:00 +0000 @@ -1,807 +0,0 @@ - - DHIS2 - DHIS2 - 2.1 - ${product_shortname}-${product_version}-${platform_name}-live-generic-en.${platform_exec_suffix} - ../../resources/files/Readme_generic.txt - ../../resources/files/Licence.txt - ../../resources/images/dhis2-logo-blue-rotated.png - ../../resources/images/dhis2-logo-blue.png - ../../resources/images/dhis2-splash-blue.png - 1 - - - resourcesWarningIsShown - true - - - 1 - ${installer_directory}\resources - - - - - Cannot find the resources folder. Make sure it exists alongside the installer (The installer is NOT supposed to be inside the resources folder). If the folder is still not found, the installation process will be aborted. - resources folder is missing - - - 1 - ${installer_directory}\resources - - - - - Could not find the resources folder. - Could not find the resources folder. - - - 1 - ${installer_directory}\resources - - - - - Thank you! The resources folder was located. The installation process will continue. - Thank you! - - - ${installer_directory}\resources - - - ${resourcesWarningIsShown} - - - - - Java(TM)*6* - * - * - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall - 1 - jreInstalled - 64 - - - Java(TM)*6* - * - * - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall - 1 - jreInstalled - 32 - - - 1 - less - ${jreInstalled} - - - - - PostgreSQL 9* - * - * - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall - 1 - postgresInstalled - 64 - - - PostgreSQL 9* - * - * - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall - 1 - postgresInstalled - 32 - - - 1 - less - ${postgresInstalled} - - - - - Google Chrome - * - DisplayName - HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall - 1 - chromeInstalled - 64 - - - Google Chrome - * - DisplayName - HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall - 1 - chromeInstalled - 32 - - - 1 - less - ${chromeInstalled} - - - - - - - - - 1 - less - ${jreInstalled} - - - - - - - - - 1 - less - ${postgresInstalled} - - - - - - - - - 1 - less - ${chromeInstalled} - - - - - - - ${installdir}/database - Creating database directory. - - - ${installdir}/log - - - ${installdir}/webapps - - - Creating temporary directory - ${installdir}/tmp - - - - - ${installdir}\tmp - - - - - ${installdir} - - - 1 - lzma - 1 - 1 - highestAvailable - 1 - 1 - DHIS2 - - - dhis2live - DHIS2 Live - 0 - 1 - 1 - - - Start DHIS 2 - - - DHIS 2 - - windows - 0 - 0 - ${installdir}/dhis2-live.exe - - - - - - - - Program Files - ${installdir} - programfiles - all - - - ../../resources/conf - - - ../../../dhis-live/target/dhis2-live-jar-with-dependencies.jar - - - - - Uninstall - ${installdir}/${uninstallerName} - - Uninstall ${product_fullname} - ${installdir} - all - 0 - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir} - - - - - Program Files - ${installdir} - programfileslinux - linux - - - Program Files - ${installdir} - programfileswindows - windows - - - ../../../dhis-live/target/dhis2-live.exe - - - - - Program Files - ${installdir} - programfilesosx - osx - - - - - ${installdir}/dhis2-live.jar - ${installdir}/dhis2-live-jar-with-dependencies.jar - - - ${installdir}/conf/hibernate.properties - - - ${installdir}/conf/hibernate.properties - ${installdir}/conf/generic_hibernate.properties - - - - - Uninstall ${product_fullname} - Uninstall ${product_fullname} - 0 - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir}/ - - - Start DHIS 2 - Start DHIS 2 - 0 - 0 - ${installdir}/dhis2-live.exe - - - - - - DHIS2 Docs - ${installdir}/docs/dhis2_user_manual_en.pdf - DHIS2 Documentation - 0 - 0 - - - - - - dhis2core - DHIS2 Core - 0 - 1 - 1 - - - ${installdir}\webapps\dhis - - - ${installdir}\webapps\dhis - Extracting the dhis.war file to the installer directory - Copying DHIS 2 files - ${installer_directory}\resources\dhis.war - - - - - coreWarningIsShown - true - - - 1 - ${installer_directory}\resources\dhis.war - - - - - Cannot find dhis.war in the resources folder. Place it there and press OK. If it is still not found, the installation process will be aborted. - dhis.war is missing - - - 1 - ${installer_directory}\resources\dhis.war - - - - - Could not find dhis.war in the resources folder. - Could not find dhis.war in the resources folder. - - - 1 - ${installer_directory}\resources\dhis.war - - - - - Thank you! dhis.war was located. The installation process will continue. - Thank you! - - - ${installer_directory}\resources\dhis.war - - - ${coreWarningIsShown} - - - - - - - Java - Java - 1 - 0 - 1 - - - Installing Java Runtime Environment - jre*.exe - /s /v - Installing Java - ${installer_directory}\resources - - - - - jreWarningIsShown - true - - - 1 - ${installer_directory}\resources\jre*.exe - - - - - Cannot find jre*.exe in the resources folder. Place it there and press OK. If it is still not found, the installation process will be aborted. - JRE is missing - - - 1 - ${installer_directory}\resources\jre*.exe - - - - - Could not find jre*.exe in the resources folder. - Could not find jre*.exe in the resources folder. - - - 1 - ${installer_directory}\resources\jre*.exe - - - - - Thank you! The JRE file was located. The installation process will continue. - Thank you! - - - ${installer_directory}\resources\jre*.exe - - - ${jreWarningIsShown} - - - - - - - postgres - Postgres - 1 - 0 - 1 - - - pg_password - Postgresql Password - Please enter a password for the Postgresql superuser. - - - postgres - 0 - 0 - - 20 - - - - - ${installdir}\tmp\restore_db_psql.bat - regexp - - - PG_PASSWORD - ${pg_password} - - - - - Installing PostgreSQL - postgresql*.exe - --unattendedmodeui none --mode unattended --superaccount postgres --servicepassword postgres --superpassword postgres - Installing Postgres - ${installer_directory}\resources - - - - - postgresWarningIsShown - true - - - 1 - ${installer_directory}\resources\postgresql*.exe - - - - - Cannot find postgresql*.exe in the resources folder. Place it there and press OK. If it is still not found, the installation process will be aborted. - postgresql*.exe is missing - - - 1 - ${installer_directory}\resources\postgresql*.exe - - - - - Could not find postgresql*.exe in the resources folder. - Could not find postgresql*.exe in the resources folder. - - - 1 - ${installer_directory}\resources\postgresql*.exe - - - - - Thank you! The PostgreSQL setup file was located. The installation process will continue. - Thank you! - - - ${installer_directory}\resources\postgresql*.exe - - - ${postgresWarningIsShown} - - - - - - - dhis2db - DHIS2 database - 1 - DHIS2 Database - 1 - 1 - - - ${installdir}\tmp\ - newfolder - windows - - - ../../resources/postgres/restore_db_psql.bat - - - - - - - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\PostgreSQL* - InstallLocation - postgresInstallLocation - 64 - - - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\PostgreSQL* - InstallLocation - postgresInstallLocation - 32 - - - 1 - less - ${postgresInstallLocation} - - - - - ${installdir}\tmp\dhis2db - - - ${installdir}\tmp\dhis2db\ - ${installer_directory}\resources\dhis2db.zip - - - ${installdir}\tmp\dhis2db - *dhis* - databaseFile - - - ${installdir}\tmp\restore_db_psql.bat - exact - - - PG_PASSWORD - ${pg_password} - - - DATABASE_FILE - ${databaseFile} - - - POSTGRES_INSTALL_LOCATION - ${postgresInstallLocation} - - - - - Restoring database - restore_db_psql.bat - - Restoring database. This might take a few minutes. - ${installdir}\tmp\ - - - ${installdir}\tmp\restore_db_psql.bat - - - - - dhis2dbWarningIsShown - true - - - 1 - ${installer_directory}\resources\dhis2db.zip - - - - - Cannot find dhis2db.zip in the resources folder. Place it there and press OK. If it is still not found, the installation process will be aborted. - dhis2db.zip is missing - - - 1 - ${installer_directory}\resources\dhis2db.zip - - - - - Could not find dhis2db.zip in the resources folder. - Could not find dhis2db.zip in the resources folder. - - - 1 - ${installer_directory}\resources\dhis2db.zip - - - - - Thank you! dhis2db.zip was located. The installation process will continue. - Thank you! - - - ${installer_directory}\resources\dhis2db.zip - - - ${dhis2dbWarningIsShown} - - - - - - - dhis2docs - DHIS2 Docs - 1 - 1 - 1 - - - ${installdir}\docs - - - ${installdir}\docs\dhis2_user_manual_en.pdf - ${installer_directory}\resources\dhis2_user_manual_en.pdf - Adding DHIS 2 documentation - - - - - docsWarningIsShown - true - - - 1 - ${installer_directory}\resources\dhis2_user_manual_en.pdf - - - - - Cannot find dhis2_user_manual_en.pdf in the resources folder. Place it there and press OK. If it is still not found, the installation process will be aborted. - dhis2_user_manual_en.pdf is missing - - - 1 - ${installer_directory}\resources\dhis2_user_manual_en.pdf - - - - - Could not find dhis2_user_manual_en.pdf in the resources folder. - Could not find dhis2_user_manual_en.pdf in the resources folder. - - - 1 - ${installer_directory}\resources\dhis2_user_manual_en.pdf - - - - - Thank you! dhis2_user_manual_en.pdf was located. The installation process will continue. - Thank you! - - - ${installer_directory}\resources\dhis2_user_manual_en.pdf - - - ${docsWarningIsShown} - - - - - - - Chrome - Google Chrome - 1 - 0 - 1 - - - Installing Google Chrome - ChromeStandaloneSetup.exe - - Installling Google Chrome web browser - ${installer_directory}\resources - - - - - - - - - - - chromeWarningIsShown - true - - - 1 - ${installer_directory}\resources\ChromeStandaloneSetup.exe - - - - - Cannot find ChromeStandaloneSetup.exe in the resources folder. Place it there and press OK. If it is still not found, the installation process will be aborted. - ChromeStandaloneSetup.exe is missing - - - 1 - ${installer_directory}\resources\ChromeStandaloneSetup.exe - - - - - Could not find ChromeStandaloneSetup.exe in the resources folder. - Could not find ChromeStandaloneSetup.exe in the resources folder. - - - 1 - ${installer_directory}\resources\ChromeStandaloneSetup.exe - - - - - Thank you! ChromeStandaloneSetup.exe was located. The installation process will continue. - Thank you! - - - ${installer_directory}\resources\ChromeStandaloneSetup.exe - - - ${chromeWarningIsShown} - - - - - - - - - 0 - Delete temporary files - ${installdir}\tmp\postgresql-9.0.3-1-windows.exe - - - - - installdir - Installer.Parameter.installdir.description - Installer.Parameter.installdir.explanation - - ${platform_install_prefix}/${product_shortname}-${product_version} - 0 - yes - prefix - yes - 0 - 40 - - - - - windows - - - - === removed directory 'installers/src/bitrock/temp' === removed directory 'installers/src/izpack' === removed file 'installers/src/izpack/ProcessPanel.Spec.xml' --- installers/src/izpack/ProcessPanel.Spec.xml 2010-03-02 06:52:28 +0000 +++ installers/src/izpack/ProcessPanel.Spec.xml 1970-01-01 00:00:00 +0000 @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - === removed file 'installers/src/izpack/install.xml' --- installers/src/izpack/install.xml 2010-03-02 06:52:28 +0000 +++ installers/src/izpack/install.xml 1970-01-01 00:00:00 +0000 @@ -1,81 +0,0 @@ - - - - DHIS 2 - 2.0.3 - - - - http://www.dhis2.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The base files - - - - - - Java - - - - - - The documentation - - - - - The main app - - - - - - - - - - - === removed file 'installers/src/izpack/shortcutSpec.xml' --- installers/src/izpack/shortcutSpec.xml 2010-03-02 06:52:28 +0000 +++ installers/src/izpack/shortcutSpec.xml 1970-01-01 00:00:00 +0000 @@ -1,57 +0,0 @@ - - - - - - - - - - - - === removed directory 'installers/src/nsis' === removed file 'installers/src/nsis/dhis.nsi' --- installers/src/nsis/dhis.nsi 2011-03-10 14:37:48 +0000 +++ installers/src/nsis/dhis.nsi 1970-01-01 00:00:00 +0000 @@ -1,327 +0,0 @@ -!define AppName "DHIS2" -!define AppVersion "2.2.0" -!define ShortName "DHIS2" -!define Vendor "HISP" - - -; JDK defines -!define JDK_INSTALLER "jdk-6u24-windows-i586.exe" -!define JDK_VERSION "1.7.21" - -;MySQL defines -!define MYSQL_INSTALLER "mysql-5.5.9-win32.msi" -!define MYSQL_VERSION "5.5.9" -!define MYSQL_PORT "3306" -!define MYSQL_SERVICE_NAME "MYSQL55" -!define MYSQL_SCHEMA_NAME "dhis" -!define MYSQL_USER "root" -!define MYSQL_PASS "root" -!define MYSQL_DUMP_FILE "dump.sql" -!define MYSQL_HOST "localhost" - -;Tomcat defines -!define TOMCAT_INSTALLER "apache-tomcat-6.0.32.exe" -!define TOMCAT_VERSION "6.0.21" - -;DHIS war and hibernate defines -!define HIBERNATE_FILE "hibernate.properties" -!define WAR "dhis.war" - -;Browser (Chrome) defines -!define BROWSER_INSTALLER "ChromeStandaloneSetup.exe" - -; Include files -!include "LogicLib.nsh" -!include "nsDialogs.nsh" -!include "TextFunc.nsh" -!include "WordFunc.nsh" -;!include "EnvVarUpdate.nsh" - -!insertmacro ConfigWrite -!insertmacro ConfigRead - - -; Needed Variables - -VAR JAVAINST ; To test if JDK should be installed - -!insertmacro VersionCompare - -;-------------------------------- -;Include Modern UI - -!include "MUI2.nsh" - -;-------------------------------- -;General - - ;Name and file - Name "DHIS All in One Installer" - OutFile "DHIS2 Installer.exe" - - ;Default installation folder - InstallDir "$LOCALAPPDATA\DHIS2" - - ;Get installation folder from registry if available - InstallDirRegKey HKCU "Software\DHIS2" "" - - ;Request application privileges for Windows Vista - ;RequestExecutionLevel Admin - -;-------------------------------- -;Interface Settings - - !define MUI_ABORTWARNING - -;-------------------------------- -;Pages - - !insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt" - !insertmacro MUI_PAGE_COMPONENTS - Page custom CheckInstalledJRE - ; Define headers for the 'Java installation successfully' page - !define MUI_INSTFILESPAGE_FINISHHEADER_TEXT "Java installation complete" - !define MUI_PAGE_HEADER_TEXT "Installing JDK" - !define MUI_PAGE_HEADER_SUBTEXT "Please wait while we install the JDK" - !define MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT "JDK installed successfully." - !insertmacro MUI_PAGE_DIRECTORY - !insertmacro MUI_PAGE_INSTFILES - !define MUI_INSTFILESPAGE_FINISHHEADER_TEXT "JDK Installation complete" - !define MUI_PAGE_HEADER_TEXT "Installing" - !define MUI_PAGE_HEADER_SUBTEXT "Please wait while Tomcat Web Server is being installed." - - !insertmacro MUI_PAGE_FINISH - !insertmacro MUI_UNPAGE_CONFIRM - !insertmacro MUI_UNPAGE_INSTFILES - -;-------------------------------- -;Languages - !insertmacro MUI_LANGUAGE "English" - -;-------------------------------- -;Installer Sections - -Section "Java Development Kit" jdk -SectionIn 1 RO ; Full install, cannot be unselected - SetOutPath "$INSTDIR" - SetOverwrite ifnewer - - ${if} $JAVAINST == "yes" -DetailPrint "Starting JDK installation" -Goto InstJDK - ${else} - DetailPrint "Skipping JDK installation" - Goto JavaHomeNo - ${endif} - -InstJDK: - File "Tools\${JDK_INSTALLER}" - ExecWait '"$INSTDIR\${JDK_INSTALLER}" /s /log jdk_logs.txt' - Delete "$INSTDIR\${JDK_INSTALLER}" - - ReadRegStr $7 HKLM "SOFTWARE\JavaSoft\Java Development Kit" "CurrentVersion" -MessageBox MB_OK "Installed JDK Version : $7" - ReadRegStr $8 HKLM "SOFTWARE\JavaSoft\Java Development Kit\$7" "JavaHome" -MessageBox MB_OK "Installed JDK Path : $8" - - - Goto SetEnvers - -SetEnvers: - - JavaHomeNo: - - -SectionEnd - -Section "MySQL Windows service" mysql -SectionIn 1 RO ; Full install, cannot be unselected - SetOutPath "$INSTDIR" - SetOverwrite ifnewer - - File "Tools\${MYSQL_INSTALLER}" -ExecWait 'msiexec.exe /i "$INSTDIR\${MYSQL_INSTALLER}" /qn INSTALLDIR="$INSTDIR\MySQL\" /L* "$INSTDIR\MSI-MySQL-Log.txt"' - - Delete "$INSTDIR\${MYSQL_INSTALLER}" - - ReadRegStr $7 HKLM "SOFTWARE\MySQL AB\MySQL Server 5.5" "Version" -MessageBox MB_OK "Installed MySQL Version : $7" - ReadRegStr $8 HKLM "SOFTWARE\MySQL AB\MySQL Server 5.5" "Location" -MessageBox MB_OK "Installed MySQL Path : $8" - - -ExecWait '$8bin\MySQLInstanceConfig.exe -i -q "-l$INSTDIR\MSI-MySQL-Log.txt" "-nMySQL Server 5.5" "-p$8" -v${MYSQL_VERSION}"-t$8my-template.ini" "-c$8my.ini" ServerType=SERVER DatabaseType=MIXED ConnectionUsage=DSS Port=${MYSQL_PORT} ServiceName=${MYSQL_SERVICE_NAME} RootPassword=${MYSQL_PASS}' -MessageBox MB_OK "Successfully Configured MySQL Instance" -ExecWait '$8bin\mysqlslap --silent --delimiter=";" --user=${MYSQL_USER} --password=${MYSQL_PASS} --engine=innodb --create="CREATE TABLE a (b int);INSERT INTO a VALUES (23)" --query="SELECT * FROM a" --concurrency=1 --iterations=1 --query="DROP TABLE a"' -MessageBox MB_OK "MySQL Instance Successfully Passed Tests." - -ExecWait '$8bin\mysql --silent -u${MYSQL_USER} -p${MYSQL_PASS} -e "CREATE SCHEMA ${MYSQL_SCHEMA_NAME}"' -MessageBox MB_OK "${MYSQL_SCHEMA_NAME} SCHEMA Created Successfully" - - File "dhis\${MYSQL_DUMP_FILE}" -ReadEnvStr $R0 COMSPEC - -Exec '"$R0" /C $8bin\mysql --silent --wait --reconnect --user=${MYSQL_USER} --password=${MYSQL_PASS} --host=${MYSQL_HOST} --database=${MYSQL_SCHEMA_NAME} < "$INSTDIR\${MYSQL_DUMP_FILE}"' - Delete "$INSTDIR\${MYSQL_DUMP_FILE}" -MessageBox MB_OK "${MYSQL_SCHEMA_NAME} SCHEMA Tables Created Successfully" - -SectionEnd - - -Section "Tomcat 6 Windows service and ${AppName}" tomcat -SectionIn 1 RO ; Full install, cannot be unselected - SetOutPath "$INSTDIR" - SetOverwrite ifnewer - - File "Tools\${TOMCAT_INSTALLER}" - ExecWait '"$INSTDIR\${TOMCAT_INSTALLER}" /S /D=$INSTDIR\tomcat6\' - Delete "$INSTDIR\${TOMCAT_INSTALLER}" - - WriteRegExpandStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "DHIS2_HOME" $INSTDIR - ; ... and for this context - System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("DHIS2_HOME", "$INSTDIR").r0' - - File "dhis\${HIBERNATE_FILE}" - - SetOutPath "$INSTDIR\tomcat6\webapps\" - SetOverwrite ifnewer - - File "dhis\${WAR}" - - ExecWait '"$INSTDIR\tomcat6\bin\tomcat6.exe" //IS//Tomcat6 --DisplayName="Apache Tomcat 6 for DHIS" --Install="$INSTDIR\tomcat6\bin\tomcat6.exe" --Startup=auto --Jvm=auto --StartMode=jvm --StopMode=jvm --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop' - - SetOutPath "$INSTDIR" - SetOverwrite ifnewer - - File "Tools\${BROWSER_INSTALLER}" - -ExecWait '"$INSTDIR\${BROWSER_INSTALLER}" /S --system-level' -;--do-not-launch-chrome - - Delete "$INSTDIR\${BROWSER_INSTALLER}" - - -SectionEnd - -;dhis -Section "Installation of ${AppName}" SecAppFiles -SectionIn 1 RO ; Full install, cannot be unselected - SetOutPath "$INSTDIR" - - ;ADD YOUR OWN FILES HERE... - - ;Store installation folder - WriteRegStr HKCU "Software\DHIS" "" $INSTDIR - - ;Create uninstaller - WriteUninstaller "$INSTDIR\Uninstall.exe" -SectionEnd - -Section "Start menu shortcuts" SecCreateShortcut - SectionIn 1 ; Can be unselected - CreateDirectory "$SMPROGRAMS\${AppName}" - CreateShortCut "$SMPROGRAMS\${AppName}\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0 -; Etc -SectionEnd - -;-------------------------------- -;Descriptions - - ;Language strings - LangString DESC_SecDummy ${LANG_ENGLISH} "A test section." - - ;Assign language strings to sections - !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN - !insertmacro MUI_DESCRIPTION_TEXT ${SecAppFiles} $(DESC_SecDummy) - !insertmacro MUI_FUNCTION_DESCRIPTION_END - -;-------------------------------- -;Uninstaller Section - -Section "Uninstall" - - Delete "$INSTDIR\Uninstall.exe" - - RMDir "$INSTDIR" - - DeleteRegKey /ifempty HKCU "Software\DHIS2" - -SectionEnd - -Function SetupSections - !insertmacro SelectSection ${jdk} - !insertmacro SelectSection ${tomcat} - !insertmacro SelectSection ${SecAppFiles} - !insertmacro SelectSection ${SecCreateShortcut} -FunctionEnd - -Function CheckInstalledJRE -; MessageBox MB_OK "Checking Installed JRE Version" - Push "${JDK_VERSION}" - Exch $0 ; Get version requested - - ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Development Kit" "CurrentVersion" - ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Development Kit\$1" "JavaHome" - -${If} $1 != '' -; MessageBox MB_OK "Detected JDK version is : $1" -; MessageBox MB_OK "Detected JDK Path is : $2" - Goto CompareMajorVersion -${ElseIf} $2 != '' -; MessageBox MB_OK "Detected JDK Path is : $2" -${Else} -; MessageBox MB_OK 'No Installed JDK found' - Goto InstallJDK -${EndIf} - -CompareMajorVersion: - - StrCpy $3 $0 1 - StrCpy $4 $1 1 - -${If} $4 = $3 -; MessageBox MB_OK "Need $3 , found $4" - Goto CompareMinorVersion -${ElseIf} $4 > $3 -; MessageBox MB_OK " $3 is less than $4" - Goto DontInstallJDK -${Else} -; MessageBox MB_OK "$3 more than $4" - Goto InstallJDK -${EndIf} - - -CompareMinorVersion: - - StrCpy $5 $0 1 2 - StrCpy $6 $1 1 2 -; MessageBox MB_OK "Need $5 , found $6" - -${If} $5 = $6 -; MessageBox MB_OK "Need $5 , found $6" - Goto DontInstallJDK -${ElseIf} $6 > $5 -; MessageBox MB_OK " $5 is less than $6" - Goto DontInstallJDK -${Else} -; MessageBox MB_OK "$5 more than $6" - Goto InstallJDK -${EndIf} - - -InstallJDK: -; Messagebox MB_OK "Done checking JRE version, reccomend install" -StrCpy $JAVAINST 'yes' -Goto End - -DontInstallJDK: -; Messagebox MB_OK "Done checking JRE version, reccomend cancel" -StrCpy $JAVAINST 'no' - -End: -; Messagebox MB_OK "Done checking JRE version" -FunctionEnd - -Function .onInit - Call SetupSections -FunctionEnd