As promised, here is a full installer for OpenClinica 3.1.4 (beta,since more testing needed) for Windows. Goal was to automate all the steps listed athttps://docs.openclinica.com/3.1/installation/installing-openclinica-windows#content-title-3761
and I am able to do that. There are few kinks and some things will change as I get more feedback from Openclinica team and the user community.
Few things to know about current installer release:
OpenClinica is installed under 'C:/OpenClinica'.
Installer creates a service 'OpenClinica' instead of 'Apache tomcat 6' but internally service still links to tomcat binary.
A programs menu,desktop shortcuts are created to start/stop/open OpenClinica. Ideally user should get an ability to control this so will consider this in next push.
Has been tested with windows7, windows 8, windows server 2008 and 2012. On each of the mentioned platforms, I was able to log on to openclinica using standard username/password.
Has been compiled with Apache Tomcat release 6.0.32, JRE 6 update 24, postgres 188.8.131.52 and Openclinica-184.108.40.206. I really wanted to keep mentioned packages out of installer to 1) keep the package smaller 2)User could get more control over version of each of the above but it would require way too much that effort that I could not afford to spend on right now.
Post-install steps from 9.2.8 - 9.2.13 are automated and the installation is configured automatically.
9.2.8 : Installer prompts for dbame, username, password and superuser password.
9.2.9 - 9.2.10 : All tomcat properties gets added as mentioned in install document except CPU cores are calculated and filled automatically (9.2.10) . RAM should be configurable as well but not available to be changed in this release. Right now it RAM gets sets to default as suggested in the install document.
9.2.11 - 9.2.12 : datainfo.properties (for both OpenClinica and OpenClinica-ws) is modified with the value specified by user during install. User has an option to configure admin email for web services.
**Delay** : There is an intentional delay (5 mins.) added to make sure Tomcat, OpenClinica are completely installed before any of the post-install steps are started. Tomcat does not issues any trigger of complete installation and parsing the log files or scanning services registry option did not help. Will try to fix this in subsequent releases.
If OpenClinica is uninstalled, installer does not remove the data directory and your dats is still preserved. If you do a re-install on the same machine and DB name is kept same, OpenClinica will use the old DB and not create a new one. Remove the old folder manually from under 'postgres8./data'
Here is the URL once again : https://s3-us-west-1.amazonaws.com/vig.share/OC/OpenClinica_3.1.4_201310071711.exe
That's all for now. Questions/comments/feedback, please get in touch. Once we finalize, happy to create a document to go with the installer.