473,386 Members | 1,745 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,386 software developers and data experts.

Self installing service problem

Hi there,
I have written a C# service that self installs by running the
..exe with a parameter. A log is produced when it does this. At a customer
site where they have had to re-install, they are getting an error. See the
log file below. It fails because the name already exists, but then fails to
uninstall because it does not exist! Eh??? There is no service with that
name in the Services applet.

Running a transacted installation.

Beginning the Install phase of the installation.
Installing service ConnectorService...
Creating EventLog source ConnectorService in log Application...

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The name is already in use as either a
service name or a service display name

The Rollback phase of the installation is beginning.
Restoring event log to previous state for source ConnectorService.

The Rollback phase completed successfully.

The transacted install has completed.
The uninstall is beginning.
Removing EventLog source ConnectorService.
Service ConnectorService is being removed from the system...
An exception occurred during the uninstallation of the
System.ServiceProcess.ServiceInstaller installer.
System.ComponentModel.Win32Exception: The specified service does not exist
as an installed service
An exception occurred while uninstalling. This exception will be ignored and
the uninstall will continue. However, the application might not be fully
uninstalled after the uninstall is complete.

The uninstall has completed.
Jul 12 '06 #1
0 1532

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

Similar topics

0
by: Anonieko Ramos | last post by:
Self Installing Service Enter a topic name to show or a new topic name to create; then press Enter .. Start by writing a service. This involves deriving a class from...
2
by: Paulers | last post by:
Hello all, Can someone point me in the right direction to some information that will guide me in the creation of a self-installing service? I have a service that I created using vb.net and it...
15
by: =?Utf-8?B?RWxpb3Ro?= | last post by:
I try to install Windows Services but it show this error during the installation process, "Insufficient System resources exist to complete the requested service." I created this Services in VB...
4
by: Dave Burns | last post by:
I am self hosting a Web Service in a Windows service. I am trying to start the service using the NT AUTHORITY\NetworkService account. I get a NullReferenceException on ServiceHost.Open() in the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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...

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.