Currently, installation procedure on Windows is quite complex with many chances to make a mistake.
We should have either or both:
1) Script which would check sanity of the environment before installation.
2) A script which would install EWS from extracted ZIP, wherever it is.
3) Script which would test the installed EWS.
Ad 1) - would check:
- whether it is running under Administrator,
- Java vendor and version in JAVA_HOME,
- whether EWS, or standalone httpd or Tomcat, is not already installed,
- whether the default ports are not in use (and WARN if they are),
Ad 2) - would:
- copy the files where they should be,
- run the post-install script
- eventually ask whether user wants to install httpd / Tomcat as a service, and if so, which Tomcat.
Ad 3) - would
- Start / stop apache (service if installed in 2), check for return code.
- Start / stop tomcat (service if installed in 2), check for return code.