When I create a new Windows Service in Visual Studio 2010, I get the message stating to use InstallUtil and net start to run the service.
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the
C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestServiceTestServiceobjx86DebugTestService.exe
assembly's progress.
The file is located at C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTes
tServiceTestServiceobjx86DebugTestService.InstallLog.
Installing assembly 'C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestS erviceTestServiceobjx86DebugTestService.exe'.
Affected parameters are:
logtoconsole =
logfile = C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestServiceT
estServiceobjx86DebugTestService.InstallLog
assemblypath = C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestServ iceTestServiceobjx86DebugTestService.exe
No public installers with the RunInstallerAttribute.Yes attribute
could be found in the C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestServiceTestSe rviceobjx86DebugTestService.exe
assembly.
The Install phase completed successfully, and the Commit phase is
beginning.
See the contents of the log file for the
C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestServiceTestServiceobjx86DebugTestService.exe
assembly's progress.
The file is located at C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTes
tServiceTestServiceobjx86DebugTestService.InstallLog.
Committing assembly 'C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestS erviceTestServiceobjx86DebugTestService.exe'.
Affected parameters are:
logtoconsole =
logfile = C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestServiceT
estServiceobjx86DebugTestService.InstallLog
assemblypath = C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestServ iceTestServiceobjx86DebugTestService.exe
No public installers with the RunInstallerAttribute.Yes attribute
could be found in the C:UsersmyusernameDocumentsVisual Studio
2010ProjectsTestServiceTestSe rviceobjx86DebugTestService.exe
assembly.
Remove InstallState file because there are no installers.
The Commit phase completed successfully.
The transacted install has completed.
The service name is invalid.
More help is available by typing NET HELPMSG 2185.