=== added file 'dhis2-live-installer/resources/images/dhis2-logo-blue-rotated.png' Binary files dhis2-live-installer/resources/images/dhis2-logo-blue-rotated.png 1970-01-01 00:00:00 +0000 and dhis2-live-installer/resources/images/dhis2-logo-blue-rotated.png 2011-03-09 20:21:25 +0000 differ === added file 'dhis2-live-installer/resources/images/dhis2-logo-blue.png' Binary files dhis2-live-installer/resources/images/dhis2-logo-blue.png 1970-01-01 00:00:00 +0000 and dhis2-live-installer/resources/images/dhis2-logo-blue.png 2011-03-09 20:21:25 +0000 differ === added file 'dhis2-live-installer/resources/images/dhis2-splash-blue.png' Binary files dhis2-live-installer/resources/images/dhis2-splash-blue.png 1970-01-01 00:00:00 +0000 and dhis2-live-installer/resources/images/dhis2-splash-blue.png 2011-03-09 20:21:25 +0000 differ === added file 'dhis2-live-installer/resources/postgres/restore_db_psql.bat' --- dhis2-live-installer/resources/postgres/restore_db_psql.bat 1970-01-01 00:00:00 +0000 +++ dhis2-live-installer/resources/postgres/restore_db_psql.bat 2011-03-09 20:21:25 +0000 @@ -0,0 +1,4 @@ +SET PGPASSWORD=PG_PASSWORD +"c:\Program Files\PostgreSQL\9.0\bin\psql.exe" -c "CREATE USER dhis CREATEDB LOGIN PASSWORD 'dhis';" -U postgres -w postgres +"c:\Program Files\Postgresql\9.0\bin\createdb.exe" -U postgres -w -O dhis dhis2db +"c:\Program Files\Postgresql\9.0\bin\psql.exe" -U postgres -w -d dhis2db -f dhis2db.dump \ No newline at end of file === added file 'dhis2-live-installer/src/bitrock/DHIS2_pginstaller_generic.xml' --- dhis2-live-installer/src/bitrock/DHIS2_pginstaller_generic.xml 1970-01-01 00:00:00 +0000 +++ dhis2-live-installer/src/bitrock/DHIS2_pginstaller_generic.xml 2011-03-09 20:21:25 +0000 @@ -0,0 +1,331 @@ + + DHIS2 + DHIS2 + 2.1 + ${product_shortname}-${product_version}-${platform_name}-live-generic-en.${platform_exec_suffix} + ../../resources/files/Readme.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 + + + ${installdir}/database + Creating database directory. + + + ${installdir}/log + + + ${installdir}/webapps + + + Creating temporary directory + ${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 + + + + + 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 + + + + + Java + Java + 1 + 1 + 1 + + + Installing Java Runtime Environment + jre*.exe + /s /v + Installing Java + ${installer_directory}\resources + + + + + postgres + Postgres + 1 + 1 + 1 + + + pg_password + Postgresql Password + Please enter a password for the Postgresql superuser. + + + postgres + 0 + 0 + + 20 + + + + + Installing PostgreSQL + postgresql*.exe + --unattendedmodeui none --mode unattended --superaccount postgres --servicepassword postgres --superpassword postgres + Installing Postgres + ${installer_directory}\resources + + + + + dhis2db + DHIS2 database + 1 + DHIS2 Database + 1 + 1 + + + ${installdir}\tmp\ + newfolder + windows + + + ../../resources/postgres/restore_db_psql.bat + + + + + + + ${installdir}\tmp\ + ${installer_directory}\resources\dhis2db.zip + + + ${installdir}\tmp\restore_db_psql.bat + regexp + + + PG_PASSWORD + ${pg_password} + + + + + Restoring database + restore_db_psql.bat + + Restoring database. This might take a few minutes. + ${installdir}\tmp\ + + + ${installdir}\tmp\dhis2db.dump + + + ${installdir}\tmp\restore_db_psql.bat + + + + + 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 + + + + + Chrome + Google Chrome + 1 + 1 + 1 + + + Installing Google Chrome + ChromeStandaloneSetup.exe + + Installling Google Chrome web browser + ${installer_directory}\resources + + + + + + + 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 + + + +