473,803 Members | 3,943 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows service - installer

I've created a windows service that has a reference to another class library
project. This all exists in VS.NET as a single solution. It is in release
mode, and I'm ready to create an installer. I've added a new project to my
solution of the type "Setup Wizard". I indicated it was a Windows
Application, and that I wanted everything included with the exception of the
debug files. I did not add any additional files.

I've never used the Setup Wizard before. Is there a better way to do this?
Any red flags or items I should be aware of?

Thanks in advance.

Mark
Nov 16 '05 #1
2 1976
Just installed it on a W2003 Server. No error messages during installation.
HOWEVER, when I go to Services to start it up, it's not listed at all.

I've successfully deployed it on my own machine using InstallUtil.exe , but I
was under the impression that the installer Setup Wizard would do this for
me???

Thanks in advance.
Mark

"Mark" <mf****@idonotl ikespam.cce.umn .edu> wrote in message
news:u#******** ******@TK2MSFTN GP10.phx.gbl...
I've created a windows service that has a reference to another class library project. This all exists in VS.NET as a single solution. It is in release mode, and I'm ready to create an installer. I've added a new project to my solution of the type "Setup Wizard". I indicated it was a Windows
Application, and that I wanted everything included with the exception of the debug files. I did not add any additional files.

I've never used the Setup Wizard before. Is there a better way to do this? Any red flags or items I should be aware of?

Thanks in advance.

Mark

Nov 16 '05 #2
Mark,
You need to add the assembly where the service is as a custom action in the
setup.

In order to use the custom action You need to add a Project installer your
project that has a service installer in it...

http://msdn.microsoft.com/library/de...plications.asp

http://msdn.microsoft.com/library/de...pplication.asp

Hope this helps
Jay

"Mark" <mf****@idonotl ikespam.cce.umn .edu> wrote in message
news:ej******** ******@TK2MSFTN GP11.phx.gbl...
Just installed it on a W2003 Server. No error messages during
installation.
HOWEVER, when I go to Services to start it up, it's not listed at all.

I've successfully deployed it on my own machine using InstallUtil.exe , but
I
was under the impression that the installer Setup Wizard would do this for
me???

Thanks in advance.
Mark

"Mark" <mf****@idonotl ikespam.cce.umn .edu> wrote in message
news:u#******** ******@TK2MSFTN GP10.phx.gbl...
I've created a windows service that has a reference to another class

library
project. This all exists in VS.NET as a single solution. It is in

release
mode, and I'm ready to create an installer. I've added a new project to

my
solution of the type "Setup Wizard". I indicated it was a Windows
Application, and that I wanted everything included with the exception of

the
debug files. I did not add any additional files.

I've never used the Setup Wizard before. Is there a better way to do

this?
Any red flags or items I should be aware of?

Thanks in advance.

Mark


Nov 16 '05 #3

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

Similar topics

7
3689
by: sidd | last post by:
Hi All, i have some doubts on .net windows services.. please see if some one could help me understand this.. 1)is it possible to install a windows service which does not have a installer added to it, using installutil.exe OR is it must to have an installer to the service project to be able to
6
9064
by: tuuky | last post by:
I've created a Windows Service in C# and an installer project for it. I installed the service using the packaged installer project and the service was installed correctly and it runs fine. I've since made some changes to this service. I then proceded to uninstall it (Add/Remove Programs) to install the new one. However, the service still shows under Services, but the .exe is gone. I can't install the new version of the service,...
2
21916
by: Mark | last post by:
I created an extremely simple windows service that only writes to the EventLogs on Stop and Pause. I installed it using the InstallUtil.exe program, the output of which is below. It appears to be successful. I'm now ready to start my service (I think) but the NET START command does not appear to indicate that the service is available to be run. The output for NET START is below as well. The Services list in the W2K administrator...
0
1313
by: Vipul Patel | last post by:
Hi, There is a project requirement to create an installer for a windows service created in VC++ 7.0 unmanaged code. Can any one guide to a link or working sample as to where I can get the references to creating a installer for the windows service. This windows service is required to be installed and started, before other files in my installed can be installed. Tool used: VS .NET 2003 (Deployment projects) I was using the VS.NET 2003 IDE...
2
4690
by: letibal | last post by:
Hello, I have written a windows service and created an installer for it. The service runs under the system accounts. When started, it launches a GUI. By default, the InteractiveProcess property of the service is not set (this can be checked by right-clicking on the service in the Services window (Admin tools>Services), choosing Properties, LogOn tab). In order to enable my service to launch a GUI at startup, I added the following lines...
4
2007
by: Rob R. Ainscough | last post by:
The task is brain dead simple - Uninstall prior Windows Service and Install newer version of Windows Service Background: 1. My Windows Service written in .NET 1.1 and deployed via MSI (Windows Installer) 2. My Windows Service is upgraded to .NET 2.0 with deployment project using MSI (Windows Installer) Upgrade code is the same from the .NET 1.1 version to the .NET 2.0 version
7
4390
by: sunil | last post by:
Hi all, I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based on the code sample, it provides the feature to install service under LocalSystem account. What I need is to install service under NT AUTHORITY\NetworkService, so that my service can access the shared network resources.
0
2700
by: =?Utf-8?B?U2ltb25EZXY=?= | last post by:
Hi All I would like to install the same Windows Service project on the same server under different names, one for each customer. I have been able to do it but I would like an expert opinion as to whether my solution is robust or whether there is a better way to do it. What I've been trying to do is to create a core project with different extension projects, one for each customer. I wanted to create a different Setup project for each...
0
1826
balabaster
by: balabaster | last post by:
Hi, I know this question has been answered before (somewhat) but I have a twist... I've written a client/server application where the server portion runs as a windows service and allows connections across the network from remote users. The application all works like a charm and is very effective. However, during testing it occured to me that hooking up to the remote user's computer across the network without their knowledge could be...
5
3312
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name? Why do I need to set a property within my code to the service name? Are all these required or am I just doing this for consistency purposes?
0
9703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9564
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10316
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10295
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6842
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5500
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
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 we have to send another system

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.