Installing an NT service with msi

P

petesouthwest

Hi

I have created an NT Service Application using the template avaiable in
delphi 6. I would like to now create an msi for the project so that it
can be installed via group policy to all the machines in a network.

I have included my exe file for my service and in the registry section
added a key with the name of the service ie:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{service name}
as from what i have read this seems to be required and i assume the msi
should create the entry. However, on assigning my package to a group of
computers for testing the service does not appear to be available, or
running.

Should I be doing something else or is it not possible to install a
service via group policy?

Many thanks for any help given
Pete
 
P

Phil Wilson

You use MSI to install a Service by putting an entry in the ServiceInstall
table (and the ServiceControl table if you want to start it at install time
and delete it at uninstall time). Not by adding registry data (although that
would probably work if you'd added them all correctly).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top