Adding ElasticSearch to an existing Windows Only Installation



1. Download the package from here into a scratch area on the Server

https://www.mqattach.com/download/protected/Shared/Lucene_Install_Win.zip

You will need your assigned protected login to access the download 


2. Run the install.bat as a Administrative user 
This should setup and configure Apache Lucene Engine ready for use


Technical Details of what is done


  • Prereq check – runs a Pre-Requisite Check
  • Path setup – builds paths like D:\<Product>_OS\Services\ElasticSearch (binaries/config) and D:\<Product>_OS\Data\ElasticSearch (data, logs, api-keys, backups); verifies you've already manually extracted the ES zip to the Services folder — it doesn't download anything
  • Creates the directory tree
  • Deploys config – copies elasticsearch.yml, jvm.options, log4j2.properties from the deployment package, rewriting path.data/path.logs to the dynamic paths (backs up existing configs first)
  • Installs & starts the Windows service (elasticsearch-service-x64), optionally reinstalling an existing one
  • Resets the elastic password – auto-generated in -AutoConfirm mode, or interactive prompt otherwise; saves it to elastic-password.txt
  • Firewall rules – opens ports 9200/9300
  • Creates an API key with app-level privileges, saved to api-key.env
  • Prints a summary with paths, credentials, and next steps