473,322 Members | 1,409 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,322 software developers and data experts.

Setup windows service

Hi

I have 2 questions about distribution of windows services.

1: How do you perform a click once on a windows service, so that I can
be updated on a regular basis? I can only find out how to distribute
the service by using a installer. So when I need to update I have to
uninstall and reinstall?

2: How do you make the installer setup up restart parameters for the
service (those where you say 1st time it crashes then do this, 2nd
time do this, etc? I have found one guide that requires loads of API
calls; sure it should be possible using managed code?

Thanks in advance

René Jensen

Nov 14 '07 #1
4 1517
See if this sample helps.

http://www.codeproject.com/vb/net/Wi...iceInstall.asp

Regards,

Trevor Benedict
MCSD

"René Jensen" <re*********@gmail.comwrote in message
news:11*********************@o38g2000hse.googlegro ups.com...
Hi

I have 2 questions about distribution of windows services.

1: How do you perform a click once on a windows service, so that I can
be updated on a regular basis? I can only find out how to distribute
the service by using a installer. So when I need to update I have to
uninstall and reinstall?

2: How do you make the installer setup up restart parameters for the
service (those where you say 1st time it crashes then do this, 2nd
time do this, etc? I have found one guide that requires loads of API
calls; sure it should be possible using managed code?

Thanks in advance

René Jensen
Nov 14 '07 #2
http://www.codeproject.com/vb/net/Wi...iceInstall.asp
Thanks Treavor, but that example is the only one i have been able to
find so far, and that one requeres a few API calls.
René
Nov 16 '07 #3
Here is solution that is readily available
http://www.codeproject.com/install/s...stallerext.asp

Regards,

Trevor Benedict
MCSD

"René Jensen" <re*******@theanimalhouse.dkwrote in message
news:47***********************@news.sunsite.dk...
>http://www.codeproject.com/vb/net/Wi...iceInstall.asp


Thanks Treavor, but that example is the only one i have been able to
find so far, and that one requeres a few API calls.
René

Nov 16 '07 #4
Here is solution that is readily available
http://www.codeproject.com/install/s...stallerext.asp
That one was easier to use, but it still uses API's but never mind that :)

Does anyone know how to make a service Click once?
Nov 20 '07 #5

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

Similar topics

2
by: Byron | last post by:
I have a Windows form application developed in VS 2003 C# I am using Installshield to install it. After running Setup, each time a new user runs the application for the first time Setup attempts...
1
by: Philip Wagenaar | last post by:
I have a Visual Studio Solution with 4 four projects. 1) class library 2) console app 3) windows service 4) setup project The console app en and the windows service both use the dll from the...
8
by: Ankit Aneja | last post by:
Hi I have made a windows service in C#.Net Now I want to create a setup of this service http://www.codeproject.com/dotnet/simplewindowsservice.asp I read this article Now my service is also using...
0
by: JM | last post by:
I have created simple windows service which just write message to event log when it starts and stops. I am able to install it succesfully using: installutil <service_file.exe>, where...
4
by: Mark Rae | last post by:
Hi, I have created a Windows service and have followed Microsoft' instructions here: http://support.microsoft.com/kb/816169 in order to create a setup project for it so it can be installed on a...
1
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls-...
2
by: =?Utf-8?B?Um9nZWxpbw==?= | last post by:
I know this has been answered, I just can't find it. can someone point me to a URL or thread that shows how to install a web service in a Windows Setup Project ? I need to install a windows app,...
1
by: jehugaleahsa | last post by:
Hello: I wrote an .exe that I would like to be called by a service I am deploying to a server. However, I am not sure how to tell the setup project to include the .exe. Also, I do not know...
0
by: msalman | last post by:
Hey I created a windows service and added it to a setup project. The setup project should install the service and run it but for some reasons it doesn't install the service and gives following...
1
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I am reviewing Windows service programming. I'm running VS2005 and programming in VB. I've just found an example in Support: 'How to create a Setup project for a Windows Service in Visual Basic...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
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

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.