Avatar of bozworthy
Flag for United States of America asked on

Trying install a windows service

I have a pretty simple service that reads a file and inserts rows to sql server.  I have debugged it and it's working to my satisfaction at this point.  I commented the debugging lines out and did a build.  The build succeeds.  Then I go to the VB command line and change the directory to the location of the exe and run "InstallUtil myProject.exe" and get a successful Commit and install message.  However my service does not appear in the list of services.  I have turned off my VPN firewall and am running all this as Admin.  

Any ideas why it's not installing?
Visual Basic.NET

Avatar of undefined
Last Comment

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Got it.  The first link was very helpful.  I had previously added an Installer class and for whatever reason that was not working.  When I clicked the "Add Installer" link and followed the directions as outlined in the article the service was successfully installed.
Your help has saved me hundreds of hours of internet surfing.