|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Setup windows serviceHi
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 See if this sample helps.
http://www.codeproject.com/vb/net/WindowsServiceInstall.asp Regards, Trevor Benedict MCSD "René Jensen" <renehjen***@gmail.com> wrote in message I have 2 questions about distribution of windows services.news:1195021131.420001.84350@o38g2000hse.googlegroups.com... Hi 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
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é Here is solution that is readily available
http://www.codeproject.com/install/sercviceinstallerext.asp Regards, Trevor Benedict MCSD Show quoteHide quote "René Jensen" <rene_spam@theanimalhouse.dk> wrote in message news:473d2a82$0$90274$14726298@news.sunsite.dk... >> http://www.codeproject.com/vb/net/WindowsServiceInstall.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é > Here is solution that is readily available That one was easier to use, but it still uses API's but never mind that :)> http://www.codeproject.com/install/sercviceinstallerext.asp Does anyone know how to make a service Click once?
Build a string for arithmetic operation
clearing dataset or datatable Force form to foreground? Using an Excel sheet as a DB table Replacing control arrays in .NET Structures and Delegates and ByRef Arguments Split a large application Problem drawing a WMF File VB.NET2005 (and Working in VB6) vb.net and crystalreportviewer solution Example of System::Collections::Generic::LinkedList [noobie] |
|||||||||||||||||||||||