Giter VIP home page Giter VIP logo

adempiereinstaller's Introduction

ADempiere Installer

Tools to install ADempiere quickly and easily.

Currently Windows installers are available for x32 and x64 systems. Generic installers are planned.

Windows Installer - Readme


1 - Introduction

The idea of this installer is to create a series of easy to use Windows setup wizards for installing ADempiere with very few clicks. The scripts are based on the NSIS (Nullsoft Scriptable Install System, http://nsis.sourceforge.net). It does the following steps:

  • Install JDK (Optional if not installed)
  • Install PostgreSQL (Optional if not installed)
  • Install ADempiere
  • Set all necessary environment variables
  • Run an ADempiere build (RUN_SilentSetup)
  • Import the database (RUN_ImportAdempiere)
  • Apply migration scripts (RUN_MigrateXML)
  • Install the server as a service and start the service
  • Create program icons

If Postgres is installed, no options are provided and the defaults are used in the setup. This provides a very simple installation process.

2 - Using the NSIS scripts

The main script is in the file "Adempiere_winx64.nsi". The file "Adempiere_winx32.nsi" sets a few defines and then includes the x64.nsi file. The x64.nsi script includes all the other files. The files can be set as on-line or off-line. In off-line mode, the script will need access to a directory with the full build of Adempiere as well as the java and postgres installers. These will be bundled into the output setup executables.

There are several folders in the install_scripts directory:

bin : Contains the final output executable installer which can be published. (Do not include in the repository.)

language: A folder with the language files.

tools : Containing the setup programs for the JDK and PostgreSQL. These binaries are not/should not be included in the repository but will be required if the installer is executed with !define OFF-LINE. If OFF-LINE is not defined, the installer will not include any binaries but will instead download from the respective web sites.

utils : Contains batch files and other supporting files

Please look into the "Adempiere_winx64.nsi" file before running this script. There are some "!define" lines, which should be adjusted for the specific versions of ADempiere, JAVA and Postgres.

Execute the installers directly with the NSIS software or use the ANT build file build_windows_installers.xml.

3 - Necessary NSIS software and plugins

The scripts are based on the NSIS version 3.0b2.

The following NSIS plugins are required and must be installed:

There is a NSIS plugin for Eclipse available at:

Read more about it at http://eclipsensis.sourceforge.net/index.shtml

4 - Contributions

Original installer scripts: Kai Schaeffer, Schaeffer AG (http://www.schaeffer-ag.de) Upgrades for 361: Red1 Upgrades for 380+: Michael McKay

adempiereinstaller's People

Contributors

e-evolution avatar mckayerp avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.