Difference between revisions of "Installer"
(→installer) |
(→Overview) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ==Introduction== | ||
+ | This project leads to create Adempiere installer for GNU/Linux using using [http://bitrock.com/products_installbuilder_overview.html Bitrock]. This will allow users to install Adempiere an easy way. | ||
+ | To track the development and bugs here is the feature request [https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2790608&group_id=176962 Feature Requests item #2790608] | ||
+ | == Overview == | ||
+ | After checking out the Windows installer by Kai for AD , i said to myself we need something like this for GNU/Linux !!,You can check the alpha installer created for AD from http://www.satyaakam.net/Ad start testing and report back to me satyaakam at gmail dot com . | ||
+ | Following files are listed in the directory mind you this is the first cut of the installer , start testing and report back to me about how the installer performs | ||
+ | * ADempiere-342s-linux-installer.bin ( 32 bit Version) | ||
+ | * ADempiere-342s-0.x86_64.rpm ( For RPM based distros ) | ||
+ | * ADempiere-342s-linux-x64-installer.bin ( Should work on any Distro) | ||
+ | Prerequisites: Java installed , PostgreSQL installed | ||
+ | Unlike the Windows installer this installer for the time being only does installation of Adempiere in a location it does not install or check for PostgreSQL, Java. Future release will have these included . | ||
+ | === Assumptions === | ||
+ | The installers is build using an external software - Bitrock. This program enables to create installers for a variety of platforms. In this project an installer for GNU/Linux, will be created. | ||
+ | === Dependencies === | ||
+ | To build installers [http://bitrock.com/products_installbuilder_overview.html Bitrock] is needed. | ||
+ | == Technical Documentation == | ||
+ | |||
+ | ===Installer.xml=== | ||
+ | |||
+ | <nowiki><project></nowiki> | ||
+ | <shortName>ADempiere</shortName> | ||
+ | <fullName>ADempiere</fullName> | ||
+ | <version>342s</version> | ||
+ | <installerFilename></installerFilename> | ||
+ | <readmeFile>licenses/release.txt</readmeFile> | ||
+ | <licenseFile>licenses/license.txt</licenseFile> | ||
+ | <leftImage>images/left.png</leftImage> | ||
+ | <logoImage>images/logo.png</logoImage> | ||
+ | <splashImage>images/adempiere.png</splashImage> | ||
+ | <postInstallationActionList> | ||
+ | <runProgram> | ||
+ | <program>${installdir}Adempiere/RUN_setup.sh</program> | ||
+ | <programArguments></programArguments> | ||
+ | </runProgram> | ||
+ | </postInstallationActionList> | ||
+ | <a2555a>1</a2555a> | ||
+ | <enableRollback>1</enableRollback> | ||
+ | <enableTimestamp>1</enableTimestamp> | ||
+ | <vendor>adempiere.org</vendor> | ||
+ | <componentList> | ||
+ | <component> | ||
+ | <name>default</name> | ||
+ | <description>Default Component</description> | ||
+ | <canBeEdited>1</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>../Pentaho/Adempiere</origin> | ||
+ | </distributionDirectory> | ||
+ | </distributionFileList> | ||
+ | <shortcutList> | ||
+ | <shortcut> | ||
+ | <comment>Uninstall</comment> | ||
+ | <exec>${installdir}/${uninstallerName}</exec> | ||
+ | <icon></icon> | ||
+ | <name>Uninstall ${product_fullname}</name> | ||
+ | <path>${installdir}</path> | ||
+ | <platforms>all</platforms> | ||
+ | <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> | ||
+ | </folder> | ||
+ | <folder> | ||
+ | <description>Program Files</description> | ||
+ | <destination>${installdir}</destination> | ||
+ | <name>programfilesosx</name> | ||
+ | <platforms>osx</platforms> | ||
+ | </folder> | ||
+ | </folderList> | ||
+ | <startMenuShortcutList> | ||
+ | <startMenuShortcut> | ||
+ | <comment>Uninstall ${product_fullname}</comment> | ||
+ | <name>Uninstall ${product_fullname}</name> | ||
+ | <runInTerminal>0</runInTerminal> | ||
+ | <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec> | ||
+ | <windowsExecArgs></windowsExecArgs> | ||
+ | <windowsIcon></windowsIcon> | ||
+ | <windowsPath>${installdir}/</windowsPath> | ||
+ | </startMenuShortcut> | ||
+ | </startMenuShortcutList> | ||
+ | </component> | ||
+ | </componentList> | ||
+ | <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>30</width> | ||
+ | </directoryParameter> | ||
+ | </parameterList> | ||
+ | <platformOptionsList> | ||
+ | <platformOptions> | ||
+ | <platform>linux</platform> | ||
+ | </platformOptions> | ||
+ | </platformOptionsList> | ||
+ | <nowiki></project></nowiki> | ||
==Links== | ==Links== |
Latest revision as of 23:24, 23 May 2009
Contents
Introduction
This project leads to create Adempiere installer for GNU/Linux using using Bitrock. This will allow users to install Adempiere an easy way. To track the development and bugs here is the feature request Feature Requests item #2790608
Overview
After checking out the Windows installer by Kai for AD , i said to myself we need something like this for GNU/Linux !!,You can check the alpha installer created for AD from http://www.satyaakam.net/Ad start testing and report back to me satyaakam at gmail dot com .
Following files are listed in the directory mind you this is the first cut of the installer , start testing and report back to me about how the installer performs
* ADempiere-342s-linux-installer.bin ( 32 bit Version) * ADempiere-342s-0.x86_64.rpm ( For RPM based distros ) * ADempiere-342s-linux-x64-installer.bin ( Should work on any Distro)
Prerequisites: Java installed , PostgreSQL installed
Unlike the Windows installer this installer for the time being only does installation of Adempiere in a location it does not install or check for PostgreSQL, Java. Future release will have these included .
Assumptions
The installers is build using an external software - Bitrock. This program enables to create installers for a variety of platforms. In this project an installer for GNU/Linux, will be created.
Dependencies
To build installers Bitrock is needed.
Technical Documentation
Installer.xml
<project> <shortName>ADempiere</shortName> <fullName>ADempiere</fullName> <version>342s</version> <installerFilename></installerFilename> <readmeFile>licenses/release.txt</readmeFile> <licenseFile>licenses/license.txt</licenseFile> <leftImage>images/left.png</leftImage> <logoImage>images/logo.png</logoImage> <splashImage>images/adempiere.png</splashImage> <postInstallationActionList> <runProgram> <program>${installdir}Adempiere/RUN_setup.sh</program> <programArguments></programArguments> </runProgram> </postInstallationActionList> <a2555a>1</a2555a> <enableRollback>1</enableRollback> <enableTimestamp>1</enableTimestamp> <vendor>adempiere.org</vendor> <componentList> <component> <name>default</name> <description>Default Component</description> <canBeEdited>1</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>../Pentaho/Adempiere</origin> </distributionDirectory> </distributionFileList> <shortcutList> <shortcut> <comment>Uninstall</comment> <exec>${installdir}/${uninstallerName}</exec> <icon></icon> <name>Uninstall ${product_fullname}</name> <path>${installdir}</path> <platforms>all</platforms> <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> </folder> <folder> <description>Program Files</description> <destination>${installdir}</destination> <name>programfilesosx</name> <platforms>osx</platforms> </folder> </folderList> <startMenuShortcutList> <startMenuShortcut> <comment>Uninstall ${product_fullname}</comment> <name>Uninstall ${product_fullname}</name> <runInTerminal>0</runInTerminal> <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec> <windowsExecArgs></windowsExecArgs> <windowsIcon></windowsIcon> <windowsPath>${installdir}/</windowsPath> </startMenuShortcut> </startMenuShortcutList> </component> </componentList> <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>30</width> </directoryParameter> </parameterList> <platformOptionsList> <platformOptions> <platform>linux</platform> </platformOptions> </platformOptionsList> </project>