John500
asked on
Installing a Windows Service using - installutil / MyProject.exe
I'm trying to install a service but having no luck. The message returned from 'installutil' (see picture below) is encouraging but nothing shows up in the Service Manager.
Also, how necessary is the 'public installer' option? This service will probably be deployed as part of an image. How about install privileges - if an administrator is the only expected installer, the installation should not need a project installer program - right?
Thanks!
install.jpg
Also, how necessary is the 'public installer' option? This service will probably be deployed as part of an image. How about install privileges - if an administrator is the only expected installer, the installation should not need a project installer program - right?
Thanks!
install.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
private void InitializeComponent()
{
components = new System.ComponentModel.Cont
this.Servicename = "TestService";
}
I believe the 'CreateService()' function is for older VS builds like VS 6.0.
Also, the following link provides an explanation of how to ensure the Service will install by adding a project installer:
http://csharpcomputing.com/Tutorials/Lesson22.htm
I