VS.NET Deployment proj: can it install a service?

  • Thread starter Thread starter Ken Overton
  • Start date Start date
K

Ken Overton

I've built a service that can be easily installed by simply copying it
into place and running InstallUtil.exe -install <service.exe>. But it'd
be great if a Setup project could do that because then the one setup.exe
could take care of all that messy transactionality stuff. But I can't
find anything about getting one to run arbitrary commands. Is that not
possible?

-- kov
 
Im not 100% sure of what you are asking here Ken, but if the question is
whether or not you can supply parameters/arguments for a .Net installer, the
answer is yes. If you are asking whether or not a Windows Service can be
packaged and installed using the .Net installation wizard, the answer is yes.

Maybe you might clarify a little so that so more helpful help (excuse me!)
can be issued :o)
 
billr said:
Maybe you might clarify a little so that so more helpful help (excuse me!)
can be issued :o)

Sorry -- I was referring to the bit where the Windows service is
actually registered as a service and started. But I think I found my
answer -- I'm supposed to create a custom action that does that part,
then add the custom action to the deployment project.

-- kov
 
Back
Top