Link to home
Start Free TrialLog in
Avatar of bozworthy
bozworthyFlag 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?
Avatar of CooPzZ
Flag of Australia image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bozworthy


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.