> >
> >>-----Original Message-----
> >>From: Stephen McConnell [mailto:[EMAIL PROTECTED]
>
> In principal I agree with the above. In practice I think we are going
> to have to come up with some good installer solution so that we don't
> end up with multiple installations that end up conflicting with each
other.
>
> Cheers, Steve.
I've been thinking about this today since I'm putting together our base
merlin client installation package. My requirements may be different than
what you have in mind. The idea is to have a single application group home
-- some standard directory structure under which all our client applications
can reside and share common resources (JRE's, merlin, etc). This is what
we've come up with:
Environmental Variables:
MYGROUP_HOME = C:\mygroup
JAVA_HOME = %MYGROUP_HOME%\java\jre1.4
Basic Directory Structure:
%MYGROUP_HOME%
\apps
\java
\merlin
Under apps you have a directory for each separate application, i.e.:
\apps
\james
\http
\myapp
Under each of these you would have:
\apps\myapp\
block.xml
config.xml
merlin.properties
ntwrapper.xml
InstallService.bat
UninstallService.bat
Run.bat
Since you can define ${merlin.home} in merlin.properties, I don't need that
environmental variable. Instead, all I need is to define the working
directory ( ${merin.dir} or the -home option ) as
%MYGROUP_HOME%\apps\${app.name} to pick up the merlin.properties and away we
go! This allows each app under \apps to have its own merlin.properties and
nt service configuration in addition to any other special resources.
While this may not exactly address the issue of how we should build a merlin
installer, I think it points out that it is already possible to handle
multiple applications or services using a single merlin installation. It
also shows that NO environmental variables are absolutely required, meaning
that if you properly use merlin.properties, you can have many merlin
installations without much trouble.
J. Aaron Farr
SONY ELECTRONICS
DDP-CIM
(724) 696-7653
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]