473,467 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Installers for services

I've created an installer project for my dotnet windows service from visual
studio. I've run the installer and it's depositing the files in their
directory ok
What do I now need to do to install/register the service? I notice that COM
objects are provided for registering automatically but not services.
I've included the file "installutil.exe" in the project. Do I add something
to my project to run this file? Where does it go ?
I assume I'll also have to add something to check for a previous version and
unregister that one.

many thanks
Nov 17 '05 #1
1 1030
Hi,

Add the installer to the project, then add a setup project to the solution,
add the primary output of your service to the setup, finally add a custom
action. IIRC there is a very good article in MSDN about this.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Claire" <as*******@ntlworld.com> wrote in message
news:ut**************@tk2msftngp13.phx.gbl...
I've created an installer project for my dotnet windows service from
visual studio. I've run the installer and it's depositing the files in
their directory ok
What do I now need to do to install/register the service? I notice that
COM objects are provided for registering automatically but not services.
I've included the file "installutil.exe" in the project. Do I add
something to my project to run this file? Where does it go ?
I assume I'll also have to add something to check for a previous version
and unregister that one.

many thanks

Nov 17 '05 #2

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

Similar topics

3
by: Brian Elmegaard | last post by:
Hi, I can find a few questions regarding the use of distutils for making non-python windows installers, but none of them really helps. Are there any pointers on how to do this? Can it be done? ...
2
by: Marius Horak | last post by:
I have to modify an existing window service. I runs on a PC at different location (France). After modification I tried to install on my PC (W2K, SP3) and VS2003. I'm getting 'No public...
0
by: Marcus | last post by:
I'm having a problem with the .NET installers that I create using Visual Studio .NET. I'm able to create the installers and deploy them on the target machine, however, when I run the installed...
0
by: BenS | last post by:
Hi I've a Windows Service with an installer that works fine. I've updated the code and have to re-deploy the new version. I've set the installer to remove previous versions of the service....
1
by: SPE - Stani's Python Editor | last post by:
A SPE user reported this on the SPE users forum (http://developer.berlios.de/forum/message.php?msg_id=21944): >My setup is as follows: >SPE-0.7.5 >Python 2.4 (from the Cygwin packages) >...
2
by: K.S.Wong | last post by:
Hi all, I am trying to find out what tools (platform-independent if possible) that I can use to package a goup (few) of installers to become an exe application. I have heard of Py2exe but have...
2
by: sdstraub | last post by:
I have created 5 services in my project, in the 1st service I set servicestorun = array of all 5 services, I have a project installer with 5 service installers, one for each service. I have code...
0
by: 33223 | last post by:
Installers Each device within the wireless network (computer, printers, auxiliaries) must be installed with a Network Interface Card, or NIC. The NIC transmits wireless signals from the access...
1
by: baburk | last post by:
Hi all, Iam getting this errormessage when i called this function. This function is for to log the error message. Generic.EventLogManager' does not contain a definition for...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.