473,320 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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
Aug 13 '05 #1
2 1355
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)
--
--

Of all words of tongue and pen, the saddest are: "It might have been"
"Ken Overton" wrote:
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

Aug 15 '05 #2
billr wrote:

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
Aug 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: yawnb | last post by:
I have a windows service written in C++ .NET. I am able to install it fine from the command prompt with "service.exe" -Install. I added a deployment project with a custom action and selected the...
0
by: greg | last post by:
I created deployment project for my web application (to install on the same computer so I dont need to add runtime) Added project output AND content files would not build content...
2
by: Ken Overton | last post by:
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...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
2
by: Brian Cuthie | last post by:
Please excuse me if this is an often asked question, but I've been unable to locate an answer. I have a web service that I've packaged up using a VS.NET 2003 "Web Service Deployment" project....
1
by: SKarnis | last post by:
I have created a simple ASP.NET Web Service with VB on Win XP Pro SP2, IIS 5.1, .NET 1.1. Service works in Visual Studio environment. Created an deployment package. Tried running the deployment...
1
balabaster
by: balabaster | last post by:
Hi, I'm trying to figure out how to install multiple instances of a Windows Service on a single machine using the deployment Setup Project. We have a Windows Service that's configurable through...
1
by: kirk.quinbar | last post by:
Have you ever used a .net deployment project to install a windows service? If so, then i ran into an issue recently that maybe you could shed some light on. I am sure I probably did something...
3
by: DGleeson3 | last post by:
Hello All Hope Im posting in the right place. If not please point me elsewhere. We are developing a reasonably standard Web application. VS2005 ASP.NET SQL server 2005. The unusual...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.