You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mazharnazeer <ma...@mettoni.com> on 2011/05/15 07:53:41 UTC
How to Detect ActiveMQ installation
Hi,
I have included ActiveMQ in my Installshield project to be installed during
my product's installation. Currently I have included version 5.5.0 of
ActiveMQ.
I want to know that how my installer should know that there is already a
version of ActiveMQ installed on the target machine. Such that the customer
has his own copy of ActiveMQ installed before installing my product. In this
case, I want that my install should not copy its ActiveMQ included version.
But configure the customer installed Active MQ copy to work with my product.
Please help me in getting following information of ActiveMQ.
1. The installed version of ActiveMQ.
2. Installation Path of ActiveMQ.
Thanks.
--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-Detect-ActiveMQ-installation-tp3523910p3523910.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: How to Detect ActiveMQ installation
Posted by padmarag lokhande <pa...@gmail.com>.
You could check for ACTIVEMQ_HOME variable on the system or alternately look
for activemq.exe on Path.
In case user has just UnZipped ActiveMQ, it may not be possible to detect
installation.
Anyway, if user has modified default settings (like connector port) it'll
anyway be difficult for you to use that in your app.
My suggestion would be to install ActiveMQ using custom (non-default) ports
EVERYTIME. This way you won't have clashes with user installed AMQ.
Regards,
Padmarag
On Sun, May 15, 2011 at 11:23 AM, mazharnazeer <ma...@mettoni.com>wrote:
> Hi,
>
> I have included ActiveMQ in my Installshield project to be installed during
> my product's installation. Currently I have included version 5.5.0 of
> ActiveMQ.
>
> I want to know that how my installer should know that there is already a
> version of ActiveMQ installed on the target machine. Such that the customer
> has his own copy of ActiveMQ installed before installing my product. In
> this
> case, I want that my install should not copy its ActiveMQ included version.
> But configure the customer installed Active MQ copy to work with my
> product.
>
> Please help me in getting following information of ActiveMQ.
>
> 1. The installed version of ActiveMQ.
> 2. Installation Path of ActiveMQ.
>
> Thanks.
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/How-to-Detect-ActiveMQ-installation-tp3523910p3523910.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
Regards,
Padmarag
Re: How to Detect ActiveMQ installation
Posted by mahens <ma...@gmail.com>.
connect to Activemq admin using ( http://localhost:8161/admin/ ) it will give
the version information like:
Name localhost
Version 5.4.2
ID ID:WINMG230082-5XY-2767-1305542202830-0:1
Store percent used 0
Memory percent used 0
Temp percent used 0
--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-Detect-ActiveMQ-installation-tp3523910p3525920.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: How to Detect ActiveMQ installation
Posted by mazharnazeer <ma...@mettoni.com>.
Hi,
I have seen that way, but it just confirms that whehter service is running
or not. This doesn't fulfill my purpose. I want to know following if
ActiveMQ service found.
1. The installed version of ActiveMQ.
2. Installation Path of ActiveMQ.
--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-Detect-ActiveMQ-installation-tp3523910p3525497.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: How to Detect ActiveMQ installation
Posted by Christoph Burmeister <ch...@googlemail.com>.
Hi,
if you're on a windows-system you could probably make a lookup to the
service-table via "sc query type= service". Then you can parse the
result for ActiveMQ. Maybe that helps?
best,
christoph
2011/5/15 mazharnazeer <ma...@mettoni.com>:
> Hi,
>
> I have included ActiveMQ in my Installshield project to be installed during
> my product's installation. Currently I have included version 5.5.0 of
> ActiveMQ.
>
> I want to know that how my installer should know that there is already a
> version of ActiveMQ installed on the target machine. Such that the customer
> has his own copy of ActiveMQ installed before installing my product. In this
> case, I want that my install should not copy its ActiveMQ included version.
> But configure the customer installed Active MQ copy to work with my product.
>
> Please help me in getting following information of ActiveMQ.
>
> 1. The installed version of ActiveMQ.
> 2. Installation Path of ActiveMQ.
>
> Thanks.
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/How-to-Detect-ActiveMQ-installation-tp3523910p3523910.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>