G'day,
I'm using the wrapper on windows for several projects, but have run into a problem with one of them. On a particular system, I've had other programs set up as services which worked fine, and I've run this particular program stand alone, but when I try to run the installer batch file it says
CreateService failed - The specified service already exists. (0x431)
Does that mean anything to anybody? Any help would be much appreciated.
Thanks,
Dan
Logged In: YES
user_id=228081
Originator: NO
Dan,
You are getting that when you attempt to install the Wrapper as a service correct?
That is the message you get when another service of the same name is already installed. Is it possible that you had already installed the service on that system? Or that another unrelated service shares the same name?
The service name is set here:
http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-name.html
Cheers,
Leif
Logged In: YES
user_id=1913939
Originator: NO
Leif,
Thats right I tried to install as a service and got that message. I carefully checked the services list as under 'control panel\administative tools' and compared it with the entry in the wrapper.conf file and there are definitely no other services by the same name installed. Is that services tool the only reference for installed services, or is it possible that the service was installed but is hidden or was only partially installed and I could find out about it elsewhere?
Regards,
Dan
Logged In: YES
user_id=228081
Originator: NO
Dan,
The service name is set using:
wrapper.ntservice.name=myapp
http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-name.html
The nameyou are seeing in other places is the display name:
http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-displayname.html
To see if another service is running, try opening a command console and running:
> net stop myapp
If it says no such service then the service is not installed. It will give you
a different message if another service by that name is running or simply installed.
Cheers,
Leif
Logged In: YES
user_id=1913939
Originator: NO
ah ha, that was it, thank Leif, I was looking for the .name in the services list rather than the .displayName which was set to something I didn't expect, so it had in fact been installed. Thanks for your help.