activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FastEddie <f...@ict.usc.edu>
Subject NSIS installer script - win32
Date Fri, 14 Nov 2008 03:06:44 GMT

ActiveMQ is missing a nice installer for Win32 that installs the ActiveMQ
server as a Win32 service.

I wrote this script for NSIS that will package up the distribution and
create an installer that copies it to C:\Program Files, starts the service
using \bin\win32\InstallService.bat and provides an uninstaller (displays in
Add/Remove, etc).

I had to make small modifications to the .bat files in order for this to
work properly:
- in InstallService.bat / UninstallService.bat, remove the pauses at the
bottom of the files
- in InstallService.bat, don't fail if JAVA_HOME is undefined.  default to
java.exe (users don't have JAVA_HOME defined out of the box)

To use, change ACTIVEMQ_SOURCE_DIR to wherever you have your ActiveMQ
distribution set, and change the ACTIVEMQ_VERSION to match.

This is provided for anyone else interested in having an installer for the
ActiveMQ server.

(Script is attached)
http://www.nabble.com/file/p20493957/apache-activemq.nsi apache-activemq.nsi 
-- 
View this message in context: http://www.nabble.com/NSIS-installer-script---win32-tp20493957p20493957.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message