🚀 DevOps & SRE Certification Program 📅 Starting: 1st of Every Month 🤝 +91 8409492687 🔍 Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Windows Service does not appear in Windows Service Control Manager

msiexpert created the topic: Windows Service does not appear in Windows Service Control Manager
Hi
I am building a windows service with VS2010 Beta 2. I created a windows service project in vb. I added a ServiceController object to the service designer, I also added a ServiceInstaller and ServiceProcessInstaller and configured the ServiceInstaller.ServiceName = Service Project Name. I also added a deployment project with the correct Primary output project and the necessary additional dll and xml files I am using.

When I install using the .msi file the project installed successfully under the correct application directory and I get successful install message, however the service does not show up in the Service Control Manager. The platform is Vista Premium Service Pack 2. Also when I build the thing in VS2010 I always get the following warning message:

Warning 1 Item ‘Microsoft .NET Framework 4 Client Profile (x86 and x64)’ could not find any of dependent items ‘Microsoft.Windows.Installer.3.1, Microsoft.Windows.Installer.4.5’.

All the components used in the service are .NET 2.0 or lower. I have set the complier options to .NET 2.0 through to .NET 4.0 Beta. I always get the warning message. Any ideas why the Service Control Manager is not picking up my service? Any help much appreciated.

InstallerGeek replied the topic: Re: Windows Service does not appear in Windows Service Control Manager
Sounds like an overly complicated project. I recommend reading this article:
visualstudiomagazine.com/Articles/2005/1…Windows-Service.aspx

I found the code in that article to be overly complicated for my service application needs, so I developed a simple version which I will post in a separate reply.

Not sure if this information will help, but simpler is usually better.

Subscribe
Notify of
guest


0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x