473,407 Members | 2,315 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,407 software developers and data experts.

Deployment Project and Windows Service

Have you ever used a .net deployment project to install a windows
service? If so, then i ran into an issue recently that maybe you could
shed some light on. I am sure I probably did something wrong, but I am
experiencing something weird and am not sure if it has something to do
with the way the WindowServiceInstaller class was created or if i did
something wrong in my deployment project.

Basically what happens is that after I build the deployment project, i
can install and uninstall the windows service just fine on my own
machine, but after I install it on another machine, the uninstall part
doesnt work right. It looks like it uninstalls it, but what happens is
that it leaves the service in the windows service list and then just
the exe in the install directory (there are a few dependent dlls it
gets rid of just fine).

fyi, my deployment project has the 4 custom actions setup with the
output of the primary object per one of the many webpages i found that
talks about setting up a deployment project for a windows service.

weird huh? isnt that what always happens with programmers. "well it
works on my machine" lol

Oct 2 '07 #1
1 2534


Please do not multi post.

You have the same post in the csharp newsgroup.


<ki**********@zywave.comwrote in message
news:11**********************@57g2000hsv.googlegro ups.com...
Have you ever used a .net deployment project to install a windows
service? If so, then i ran into an issue recently that maybe you could
shed some light on. I am sure I probably did something wrong, but I am
experiencing something weird and am not sure if it has something to do
with the way the WindowServiceInstaller class was created or if i did
something wrong in my deployment project.

Basically what happens is that after I build the deployment project, i
can install and uninstall the windows service just fine on my own
machine, but after I install it on another machine, the uninstall part
doesnt work right. It looks like it uninstalls it, but what happens is
that it leaves the service in the windows service list and then just
the exe in the install directory (there are a few dependent dlls it
gets rid of just fine).

fyi, my deployment project has the 4 custom actions setup with the
output of the primary object per one of the many webpages i found that
talks about setting up a deployment project for a windows service.

weird huh? isnt that what always happens with programmers. "well it
works on my machine" lol

Oct 2 '07 #2

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

Similar topics

1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
0
by: yawnb | last post by:
I have a windows service written in C++ .NET. I am able to install it fine from the command prompt with "service.exe" -Install. I added a deployment project with a custom action and selected the...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
2
by: russ.haley | last post by:
I have created a small windows service in C# that installs using the service installer classes and a deployment project. I have been able to install the service but the uninstallation does not...
1
by: acteon | last post by:
Hello, I made a deployment project to install a web service I made. I had to include a merge module for a Ibm database package. My deployment project is producing a .MSM file in my release...
1
balabaster
by: balabaster | last post by:
Hi, I'm trying to figure out how to install multiple instances of a Windows Service on a single machine using the deployment Setup Project. We have a Windows Service that's configurable through...
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
1
by: kirk.quinbar | last post by:
Have you ever used a .net deployment project to install a windows service? If so, then i ran into an issue recently that maybe you could shed some light on. I am sure I probably did something...
5
by: tshad | last post by:
I have a Windows Service that I am deploying by setting a Deployment project in my solution. The problem I am having is with the app.config file. This where we store our connection string and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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
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
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
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...

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.