Custom installer to install as a Windows service multiple times on the same server
2 July, 2014
Hi. We have a customer that is interested in running our customised Yellowfin (packaged with dashboards and reports relating to our software) and wish to have multiple installations on the same server. Our custom installer is set to install as a Windows service by default and on the first installation it creates the Windows service, however subsequent installations do not. I've checked the path of the service and it is still set to the path of the initial install therefore it doesn't override the existing service. In the commons-daemon log file for the subsequent installs the following is produced.:
[2014-07-02 13:38:24] [info] Commons Daemon procrun (1.0.7.0 32-bit) started
[2014-07-02 13:38:24] [info] Service name Apache Tomcat
[2014-07-02 13:38:25] [error] The specified service already exists.
[2014-07-02 13:38:25] [error] Failed installing '' service
[2014-07-02 13:38:25] [error] The specified service already exists.
[2014-07-02 13:38:25] [error] Commons Daemon procrun failed with exit value: 7 (Failed to )
[2014-07-02 13:38:25] [error] The specified service already exists.
Do I have any way to create the multiple services when using the custom installer? If not please raise an enhancement to give the ability to do so (i.e. maybe automatically add the name of the Yellowfin database to the end) or give the ability in the installer to specify the service name.
Also could it default the service startup to Automatic instead of Manual?
Regards,
Michael
[2014-07-02 13:38:24] [info] Commons Daemon procrun (1.0.7.0 32-bit) started
[2014-07-02 13:38:24] [info] Service name Apache Tomcat
[2014-07-02 13:38:25] [error] The specified service already exists.
[2014-07-02 13:38:25] [error] Failed installing '' service
[2014-07-02 13:38:25] [error] The specified service already exists.
[2014-07-02 13:38:25] [error] Commons Daemon procrun failed with exit value: 7 (Failed to )
[2014-07-02 13:38:25] [error] The specified service already exists.
Do I have any way to create the multiple services when using the custom installer? If not please raise an enhancement to give the ability to do so (i.e. maybe automatically add the name of the Yellowfin database to the end) or give the ability in the installer to specify the service name.
Also could it default the service startup to Automatic instead of Manual?
Regards,
Michael
Hi Michael,
I have added an enhancement request for both items in the same task (TASK ID = 166844).
However no ETA has been given, as we're not actually sure if this is possible to do in our YF installer at the moment.
Sorry for the inconvenience.
At this point in time, the client will need to manually install the service under a different name, and also set it to 'automatic'.
Out of curiosity, why is the user installing multiple instances on the same PC?
It's not something that we commonly see.
Regards,
David
I have added an enhancement request for both items in the same task (TASK ID = 166844).
However no ETA has been given, as we're not actually sure if this is possible to do in our YF installer at the moment.
Sorry for the inconvenience.
At this point in time, the client will need to manually install the service under a different name, and also set it to 'automatic'.
Out of curiosity, why is the user installing multiple instances on the same PC?
It's not something that we commonly see.
Regards,
David
Thanks David.
Because we want to package content with the installer it makes it easier for them to install an update in their testing environment and test there before they install into their training and production environments.
Regards,
Michael
Because we want to package content with the installer it makes it easier for them to install an update in their testing environment and test there before they install into their training and production environments.
Regards,
Michael