473,497 Members | 2,051 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 1957
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****@idonotlikespam.cce.umn.edu> wrote in message
news:u#**************@TK2MSFTNGP10.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****@idonotlikespam.cce.umn.edu> wrote in message
news:ej**************@TK2MSFTNGP11.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****@idonotlikespam.cce.umn.edu> wrote in message
news:u#**************@TK2MSFTNGP10.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
3656
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...
6
9034
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. ...
2
21852
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...
0
1296
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...
2
4656
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...
4
1979
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...
7
4332
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...
0
2670
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...
0
1784
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...
5
3268
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?...
0
7121
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
6993
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...
1
6881
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...
0
7375
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
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3088
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
1411
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 ...
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.