=== modified file 'installers/build.bat'
--- installers/build.bat 2010-03-02 06:52:28 +0000
+++ installers/build.bat 2011-03-17 13:01:21 +0000
@@ -1,19 +1,26 @@
-REM Adjust these enviornment variables to suit your system.
+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"
=== modified file 'installers/resources/postgres/restore_db_psql.bat'
--- installers/resources/postgres/restore_db_psql.bat 2011-03-14 14:10:54 +0000
+++ installers/resources/postgres/restore_db_psql.bat 2011-03-17 13:01:21 +0000
@@ -1,4 +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 "DATABASE_FILE"
\ No newline at end of file
+"POSTGRES_INSTALL_LOCATION\bin\psql.exe" -c "CREATE USER dhis CREATEDB LOGIN PASSWORD 'dhis';" -U postgres -w postgres
+"POSTGRES_INSTALL_LOCATION\bin\createdb.exe" -U postgres -w -O dhis dhis2db
+"POSTGRES_INSTALL_LOCATION\bin\psql.exe" -U postgres -w -d dhis2db -f "DATABASE_FILE"
\ No newline at end of file
=== modified file 'installers/src/bitrock/DHIS2_pginstaller_generic.xml'
--- installers/src/bitrock/DHIS2_pginstaller_generic.xml 2011-03-14 14:10:54 +0000
+++ installers/src/bitrock/DHIS2_pginstaller_generic.xml 2011-03-17 13:01:21 +0000
@@ -9,6 +9,116 @@
../../resources/images/dhis2-logo-blue.png
../../resources/images/dhis2-splash-blue.png
1
+
+
+ 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
@@ -22,9 +132,14 @@
Creating temporary directory
- ${installdir}\tmp\
+ ${installdir}/tmp
+
+
+ ${installdir}\tmp
+
+
${installdir}
@@ -121,6 +236,13 @@
${installdir}/dhis2-live.jar
${installdir}/dhis2-live-jar-with-dependencies.jar
+
+ ${installdir}/conf/hibernate.properties
+
+
+ ${installdir}/conf/hibernate.properties
+ ${installdir}/conf/generic_hibernate.properties
+
@@ -219,7 +341,7 @@
Java
Java
1
- 1
+ 0
1
@@ -279,7 +401,7 @@
postgres
Postgres
1
- 1
+ 0
1
@@ -379,6 +501,25 @@
+
+ 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
@@ -393,7 +534,7 @@
${installdir}\tmp\restore_db_psql.bat
- regexp
+ exact
PG_PASSWORD
@@ -403,6 +544,10 @@
DATABASE_FILE
${databaseFile}
+
+ POSTGRES_INSTALL_LOCATION
+ ${postgresInstallLocation}
+
@@ -529,7 +674,7 @@
Chrome
Google Chrome
1
- 1
+ 0
1
@@ -540,6 +685,12 @@
${installer_directory}\resources
+
+
+
+
+
+
chromeWarningIsShown