Page 1 of 1

How to install NT service (Delphi)

Posted: Wed Oct 24, 2007 4:57 am
by victoria_eagle
Hello, I need to add NT service to the installation.
I add "install service" action to Advanced Options/Services.

After I run the installation I can see the name of my service on the windows services list. BUT when I try to start it it does not start properly. It's status turns into "Starting" and stays like that forever.

I suppose the problem might be in registering the service but I don't know how to do it in InstallAware.

I really need your help here!

Thank you

Vicky

Posted: Wed Oct 24, 2007 10:55 am
by Alex_Ronquillo
Make sure you are installing all the files required by the service with Install Files command. Please read the topic Install Service in the help file

Posted: Thu Oct 25, 2007 4:12 am
by victoria_eagle
Thank you! Actualy I've managed to fix that problem. As I said I had to go to registry to find out what is going on there.

It was silly mistake, really.

The the service name you specify in InstallAware MUST be the same as the name your dive your service in Delphi! I didn't know that.

I suppose, you should put a note in your documentation about this issue as I noticed there were a few people telling you about same problem as I had.

vicky

Posted: Thu Oct 25, 2007 1:04 pm
by Alex_Ronquillo
Thanks victoria_eagle. Comming soon is an IA Knowledgebase. We will include this in there.