elasticsearch installer for windows.
Pascal C PowerShell JavaScript Inno Setup Batchfile Makefile
Permalink
Failed to load latest commit information.
src Update to upstream release 0.90.11. Feb 9, 2014
vendor Update to upstream release 1.7.2. Sep 28, 2015
.gitignore Add Vagrant environment. Aug 21, 2016
Makefile update to upstream release 5.0.1 Nov 27, 2016
README.txt For now on bundle the latest JRE. Jul 29, 2014
Vagrantfile update the vagrant environment Nov 27, 2016
Vagrantfile-ConEmu.reg update the vagrant environment Nov 27, 2016
Vagrantfile-ConEmu.xml update the vagrant environment Nov 27, 2016
Vagrantfile-locale.ps1 Add Vagrant environment. Aug 21, 2016
Vagrantfile-provision.ps1 update the vagrant environment Nov 27, 2016
elasticsearch Guide.url Add initial version of the setup program. Feb 20, 2011
elasticsearch Home.url Add initial version of the setup program. Feb 20, 2011
elasticsearch Setup Home.url Add initial version of the setup program. Feb 20, 2011
elasticsearch-cmd.cmd Show how to install the ingest-attachment plugin instead of the depre… Aug 28, 2016
elasticsearch.ico update art. May 2, 2013
elasticsearch.iss update the jre Nov 27, 2016
elasticsearchw-install.cmd Add initial version of the setup program. Feb 20, 2011
elasticsearchw-uninstall.cmd Add initial version of the setup program. Feb 20, 2011
elasticsearchw-update.cmd Update to upstream release 5.0.0-beta1. Sep 25, 2016
java.pas Require JRE 1.7+. Mar 2, 2012
jre.js For now on bundle the latest JRE. Jul 29, 2014
service-account.pas Add initial version of the setup program. Feb 20, 2011
service.pas Add initial version of the setup program. Feb 20, 2011
shortcut.pas Add Command Prompt shortcut. Jul 30, 2014
wizard-small.bmp update art. May 2, 2013
wizard.bmp update art. May 2, 2013

README.txt

Download the binaries from:

  https://github.com/rgl/elasticsearch-setup/releases

------

This directory contains the files needed to create the elasticsearch setup
program for Windows.

You first need to install Unicode Inno Setup from:

    http://www.jrsoftware.org/isdl.php#stable

NB Get the isetup-5.5.4-unicode.exe file.

And then, only, msys from MinGW by following the guide at:

    http://blog.ruilopes.com/post/2143557964/sane-shell-environment-on-windows

And then install the TDM64 bundle from:

    http://tdm-gcc.tdragon.net/

And then install PhantomJS from:

    http://phantomjs.org/

And add everything into your PATH.

You should now be ready to build the setup with:

    make

It should create two files with the name pattern:

  elasticsearch-VERSION-setup-NN-bit.exe

These are the only files that need to be redistributed.

NB If the above step complains about a missing unzip.exe or wget.exe, you
   can install them with:

        mingw-get install msys-unzip
        mingw-get install msys-wget


The setup will do the following when installing the application:

 * install all files into Program Files (the user can change the
   actual location)

 * create the elasticsearch Windows account (with Logon as service
   privilege)

 * install a Windows Service to automatically start elasticsearch
   (run as the elasticsearch account) at boot (but has to be manually
   started after install...).

 * grant the elasticsearch account:
     * read permissions to the "config" directory.
     * full permissions to the "data" and "logs" directories.

 * create a bunch of Start Menu entries (link to home page, guide, etc).


If you need to modify any service related setting (e.g. the maximum
memory used by the JVM) edit the file:

    lib\elasticsearchw-update.cmd

And then run it in a Administrator Command Prompt.

------

The setup uses SetACL.exe to grant NTFS file permissions to the
elasticsearch account. SetACL can be download from:

    http://helgeklein.com/setacl/

The setup uses procrun.exe to launch elasticsearch as a Windows service.
procrun is included in the Apache Commons Daemon project available at:

    http://commons.apache.org/daemon/