dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #08753
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2179: Added initial DHIS2 Bitrock Postgresql Installer.
------------------------------------------------------------
revno: 2179
committer: jason <jason@jason-win7>
branch nick: dhis2
timestamp: Fri 2010-11-26 08:33:01 +0200
message:
Added initial DHIS2 Bitrock Postgresql Installer.
added:
dhis2-live-installer/src/bitrock/DHIS2_pginstaller.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== added file 'dhis2-live-installer/src/bitrock/DHIS2_pginstaller.xml'
--- dhis2-live-installer/src/bitrock/DHIS2_pginstaller.xml 1970-01-01 00:00:00 +0000
+++ dhis2-live-installer/src/bitrock/DHIS2_pginstaller.xml 2010-11-26 06:33:01 +0000
@@ -0,0 +1,316 @@
+<project>
+ <shortName>DHIS2</shortName>
+ <fullName>DHIS2</fullName>
+ <version>2.0.5</version>
+ <installerFilename>${product_shortname}-${product_version}-${platform_name}-live-JRE-en.${platform_exec_suffix}</installerFilename>
+ <readmeFile>../../resources/files/Readme.txt</readmeFile>
+ <licenseFile>../../resources/files/Licence.txt</licenseFile>
+ <leftImage>../../resources/images/dhis2-logo-rotated.png</leftImage>
+ <logoImage>../../resources/images/dhis2-logo.png</logoImage>
+ <splashImage>../../resources/images/dhis2-logo.png</splashImage>
+ <allowLanguageSelection>1</allowLanguageSelection>
+ <readyToInstallActionList>
+ <createDirectory>
+ <path>${installdir}/database</path>
+ <progressText>Creating database directory.</progressText>
+ </createDirectory>
+ <createDirectory>
+ <path>${installdir}/log</path>
+ </createDirectory>
+ <createDirectory>
+ <path>${installdir}/webapps</path>
+ </createDirectory>
+ </readyToInstallActionList>
+ <allowComponentSelection>1</allowComponentSelection>
+ <compressionAlgorithm>lzma</compressionAlgorithm>
+ <enableRollback>1</enableRollback>
+ <enableTimestamp>1</enableTimestamp>
+ <requestedExecutionLevel>highestAvailable</requestedExecutionLevel>
+ <requireInstallationByRootUser>1</requireInstallationByRootUser>
+ <saveRelativePaths>1</saveRelativePaths>
+ <vendor>DHIS2</vendor>
+ <componentList>
+ <component>
+ <name>dhis2live</name>
+ <description>DHIS2 Live</description>
+ <canBeEdited>0</canBeEdited>
+ <selected>1</selected>
+ <show>1</show>
+ <folderList>
+ <folder>
+ <description>Program Files</description>
+ <destination>${installdir}</destination>
+ <name>programfiles</name>
+ <platforms>all</platforms>
+ <distributionFileList>
+ <distributionDirectory>
+ <origin>../../../../dhis2-2.0.5/2.0.5/dhis2-live-installer/resources/conf</origin>
+ </distributionDirectory>
+ <distributionFile>
+ <origin>../../../../dhis2-2.0.5/2.0.5/dhis-live/target/dhis2-live-jar-with-dependencies.jar</origin>
+ </distributionFile>
+ </distributionFileList>
+ <shortcutList>
+ <shortcut>
+ <comment>Uninstall</comment>
+ <exec>${installdir}/${uninstallerName}</exec>
+ <icon></icon>
+ <name>Uninstall ${product_fullname}</name>
+ <path>${installdir}</path>
+ <platforms>all</platforms>
+ <runAsAdmin>0</runAsAdmin>
+ <runInTerminal>0</runInTerminal>
+ <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>
+ <windowsExecArgs></windowsExecArgs>
+ <windowsIcon></windowsIcon>
+ <windowsPath>${installdir}</windowsPath>
+ </shortcut>
+ </shortcutList>
+ </folder>
+ <folder>
+ <description>Program Files</description>
+ <destination>${installdir}</destination>
+ <name>programfileslinux</name>
+ <platforms>linux</platforms>
+ </folder>
+ <folder>
+ <description>Program Files</description>
+ <destination>${installdir}</destination>
+ <name>programfileswindows</name>
+ <platforms>windows</platforms>
+ <distributionFileList>
+ <distributionFile>
+ <origin>../../../../dhis2-2.0.5/2.0.5/dhis-live/target/dhis2-live.exe</origin>
+ </distributionFile>
+ </distributionFileList>
+ </folder>
+ <folder>
+ <description>Program Files</description>
+ <destination>${installdir}</destination>
+ <name>programfilesosx</name>
+ <platforms>osx</platforms>
+ </folder>
+ </folderList>
+ <postInstallationActionList>
+ <renameFile>
+ <destination>${installdir}/dhis2-live.jar</destination>
+ <origin>${installdir}/dhis2-live-jar-with-dependencies.jar</origin>
+ </renameFile>
+ </postInstallationActionList>
+ <startMenuShortcutList>
+ <startMenuShortcut>
+ <comment>Uninstall ${product_fullname}</comment>
+ <name>Uninstall ${product_fullname}</name>
+ <runAsAdmin>0</runAsAdmin>
+ <runInTerminal>0</runInTerminal>
+ <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>
+ <windowsExecArgs></windowsExecArgs>
+ <windowsIcon></windowsIcon>
+ <windowsPath>${installdir}/</windowsPath>
+ </startMenuShortcut>
+ <startMenuShortcut>
+ <comment>Start DHIS2</comment>
+ <name>Start DHIS2</name>
+ <runAsAdmin>0</runAsAdmin>
+ <runInTerminal>0</runInTerminal>
+ <windowsExec>${installdir}/dhis2-live.exe</windowsExec>
+ <windowsExecArgs></windowsExecArgs>
+ <windowsIcon></windowsIcon>
+ <windowsPath></windowsPath>
+ </startMenuShortcut>
+ <startMenuFileShortcut>
+ <comment>DHIS2 Docs</comment>
+ <filePath>${installdir}/docs/dhis2_user_manual_en.pdf</filePath>
+ <name>DHIS2 Documentation</name>
+ <runAsAdmin>0</runAsAdmin>
+ <runInTerminal>0</runInTerminal>
+ <windowsIcon></windowsIcon>
+ </startMenuFileShortcut>
+ </startMenuShortcutList>
+ </component>
+ <component>
+ <name>dhis2core</name>
+ <description>DHIS2 Core</description>
+ <canBeEdited>0</canBeEdited>
+ <selected>1</selected>
+ <show>1</show>
+ <folderList>
+ <folder>
+ <description>dhiscore</description>
+ <destination>${installdir}/webapps/dhis</destination>
+ <name>dhiscore</name>
+ <platforms>all</platforms>
+ <distributionFileList>
+ <distributionFile>
+ <origin>../../../../dhis2-2.0.5/2.0.5/dhis-2/dhis-web/dhis-web-portal/target/dhis.war</origin>
+ </distributionFile>
+ </distributionFileList>
+ </folder>
+ </folderList>
+ <postInstallationActionList>
+ <unzip>
+ <destinationDirectory>${installdir}/webapps/dhis/</destinationDirectory>
+ <explanation>Unzipping DHIS2 core.</explanation>
+ <progressText>Unzipping DHIS2 core.</progressText>
+ <zipFile>${installdir}/webapps/dhis/dhis.war</zipFile>
+ </unzip>
+ <deleteFile>
+ <explanation>Cleaning up DHIS2 war file.</explanation>
+ <path>${installdir}/webapps/dhis/dhis.war</path>
+ <progressText>Cleaning up DHIS2 war file</progressText>
+ </deleteFile>
+ </postInstallationActionList>
+ </component>
+ <component>
+ <name>dhis2docs</name>
+ <description>DHIS2 Docs</description>
+ <canBeEdited>1</canBeEdited>
+ <selected>1</selected>
+ <show>1</show>
+ <folderList>
+ <folder>
+ <description>docs</description>
+ <destination>${installdir}/docs</destination>
+ <name>docs</name>
+ <platforms>all</platforms>
+ <distributionFileList>
+ <distributionFile>
+ <origin>../../../../Users/jason/dhis2-docbook-docs/target/site/en/pdf/dhis2_user_manual_en.pdf</origin>
+ </distributionFile>
+ </distributionFileList>
+ </folder>
+ </folderList>
+ </component>
+ <component>
+ <name>postgres</name>
+ <description>Postgresql 9.0</description>
+ <canBeEdited>1</canBeEdited>
+ <detailedDescription>Postgresql Database system</detailedDescription>
+ <selected>1</selected>
+ <show>1</show>
+ <folderList>
+ <folder>
+ <description>postgres</description>
+ <destination>${installdir}/temp/postgres</destination>
+ <name>postgres</name>
+ <platforms>windows</platforms>
+ <distributionFileList>
+ <distributionFile>
+ <origin>../../../../dhis2-2.0.5/2.0.5/dhis2-live-installer/resources/postgres/postgresql-9.0.1-1-windows.exe</origin>
+ </distributionFile>
+ </distributionFileList>
+ </folder>
+ </folderList>
+ <postInstallationActionList>
+ <runProgram>
+ <explanation>Installing Postgresql</explanation>
+ <program>postgresql-9.0.1-1-windows.exe</program>
+ <programArguments></programArguments>
+ <progressText>Installing Postgresql</progressText>
+ <workingDirectory>${installdir}/temp/postgres</workingDirectory>
+ </runProgram>
+ </postInstallationActionList>
+ </component>
+ <component>
+ <name>jre</name>
+ <description>JRE</description>
+ <canBeEdited>1</canBeEdited>
+ <selected>1</selected>
+ <show>1</show>
+ <folderList>
+ <folder>
+ <description>JRE</description>
+ <destination>${installdir}/temp/jre</destination>
+ <name>JRE</name>
+ <platforms>windows</platforms>
+ <distributionFileList>
+ <distributionFile>
+ <origin>../../../../dhis2-2.0.5/2.0.5/dhis2-live-installer/resources/jre/jre-6u18-windows-i586-s.exe</origin>
+ </distributionFile>
+ </distributionFileList>
+ </folder>
+ </folderList>
+ <postInstallationActionList>
+ <runProgram>
+ <explanation>Installing Java Runtime Enviornment</explanation>
+ <program>jre-6u18-windows-i586-s.exe</program>
+ <programArguments></programArguments>
+ <progressText>Installing Java Runtime Enviornment</progressText>
+ <workingDirectory>${installdir}/temp/jre</workingDirectory>
+ </runProgram>
+ </postInstallationActionList>
+ </component>
+ <component>
+ <name>zm_db</name>
+ <description>Zambia DB</description>
+ <canBeEdited>1</canBeEdited>
+ <detailedDescription>Zambia DHIS2 Database</detailedDescription>
+ <selected>1</selected>
+ <show>1</show>
+ <folderList>
+ <folder>
+ <description>New Folder</description>
+ <destination>c:\tmp\</destination>
+ <name>newfolder</name>
+ <platforms>windows</platforms>
+ <distributionFileList>
+ <distributionFile>
+ <origin>../../../../dhis2-2.0.5/2.0.5/dhis2-live-installer/resources/postgres/zm_dhis2.backup</origin>
+ </distributionFile>
+ <distributionFile>
+ <origin>../../../../dhis2-2.0.5/2.0.5/dhis2-live-installer/resources/postgres/zm_restore.bat</origin>
+ </distributionFile>
+ </distributionFileList>
+ </folder>
+ </folderList>
+ <postInstallationActionList>
+ <runProgram>
+ <explanation>Restoring Zambia Database</explanation>
+ <program>c:/tmp/zm_restore.bat</program>
+ <programArguments></programArguments>
+ <progressText>Please be patient. Restoring DB.</progressText>
+ <workingDirectory>c:/tmp</workingDirectory>
+ </runProgram>
+ <deleteFile>
+ <path>c:\tmp\zm_dhis2.backup</path>
+ </deleteFile>
+ <deleteFile>
+ <path>c:\tmp\zm_restore.bat</path>
+ </deleteFile>
+ </postInstallationActionList>
+ </component>
+ </componentList>
+ <finalPageActionList>
+ <deleteFile>
+ <abortOnError>0</abortOnError>
+ <explanation>Delete temporary files</explanation>
+ <path>${installdir}/temp/postgres/postgresql-9.0.1-1-windows.exe</path>
+ </deleteFile>
+ <runProgram>
+ <program>${installdir}\dhis2-live.exe</program>
+ <programArguments></programArguments>
+ <progressText>Do you want to launch ${product_fullname} now?</progressText>
+ </runProgram>
+ </finalPageActionList>
+ <parameterList>
+ <directoryParameter>
+ <name>installdir</name>
+ <description>Installer.Parameter.installdir.description</description>
+ <explanation>Installer.Parameter.installdir.explanation</explanation>
+ <value></value>
+ <default>${platform_install_prefix}/${product_shortname}-${product_version}</default>
+ <allowEmptyValue>0</allowEmptyValue>
+ <ask>yes</ask>
+ <cliOptionName>prefix</cliOptionName>
+ <mustBeWritable>yes</mustBeWritable>
+ <mustExist>0</mustExist>
+ <width>40</width>
+ </directoryParameter>
+ </parameterList>
+ <platformOptionsList>
+ <platformOptions>
+ <platform>windows</platform>
+ </platformOptions>
+ </platformOptionsList>
+</project>
+