How to install NT service (Delphi)

Got a problem you cannot solve? Try here.
Post Reply
victoria_eagle
Posts: 2
Joined: Wed Oct 24, 2007 4:45 am

How to install NT service (Delphi)

Post 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
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post 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
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
victoria_eagle
Posts: 2
Joined: Wed Oct 24, 2007 4:45 am

Post 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
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

Thanks victoria_eagle. Comming soon is an IA Knowledgebase. We will include this in there.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Post Reply