There doesn't seem to be a nant-contrib users list, so I'll post this here.

I'm writing an installer that needs to install a Windows service (written in
C#).  I had created a vdproj to install it, but it's a bit limited (and not
directly callable from NAnt) so I'm moving it to use the <msi> task.  I have
everything set up and working except installing and un-installing the
service.  The question is how should I do this?  The example on the wiki
says to use custom tables (ServiceInstall and ServiceControl) however if I
view my VS created msi file, then it uses custom actions to install and
uninstall the service and has no entries in the Service tables mentioned.
Are there any advantages to either method?  Which one is the preferred one?

Any pointers appreciated,

Cheers,

Bill



UK businesses use 2 million tonnes of paper each year.
THINK before you PRINT this email.
______________________________________________________________

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person 
or organisation to 
whom it is addressed.  Its contents are confidential and may be protected in 
law.  Unauthorised use,
 copying or disclosure of any of it may be unlawful.  If you are not the 
intended recipient, please 
contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, 
which could damage your 
own computer system.  While Marlborough Stirling has taken every reasonable 
precaution to minimise 
this risk, we cannot accept liability for any damage, which you sustain as a 
result of software 
viruses.  You should carry out your own virus checking procedure before opening 
any attachment.

Marlborough Stirling plc, Registered in England and Wales 
Registered No. 3008820,
Jessop House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000     Fax: 01242 547100
http://www.marlborough-stirling.com



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to