Deploying Windows Service Application

I have developed a windows service which is working fine thro visual studio. i am trying to deploy it on local machine using " installutil" .

When i rung this in command prompt, i am getting the following message and the service is not avialable in services.msc.

Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the F:\kh\khapp\kh_winservice\bin\release\s
msservice.exe assembly's progress.
The file is located at F:\kh\khapp\kh_winservice\bin\release\smsservice.InstallL
og.
Installing assembly 'F:\kh\khapp\kh_winservice\bin\release\smsservice.exe'.
Affected parameters are:
   logtoconsole =
   logfile = F:\kh\khapp\kh_winservice\bin\release\smsservice.InstallLog
   assemblypath = F:\kh\khapp\kh_winservice\bin\release\smsservice.exe
No public installers with the RunInstallerAttribute.Yes attribute could be found
 in the F:\kh\khapp\kh_winservice\bin\release\smsservice.exe assembly.

The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the F:\kh\khapp\kh_winservice\bin\release\s
msservice.exe assembly's progress.
The file is located at F:\kh\khapp\kh_winservice\bin\release\smsservice.InstallL
og.
Committing assembly 'F:\kh\khapp\kh_winservice\bin\release\smsservice.exe'.
Affected parameters are:
   logtoconsole =
   logfile = F:\kh\khapp\kh_winservice\bin\release\smsservice.InstallLog
   assemblypath = F:\kh\khapp\kh_winservice\bin\release\smsservice.exe
No public installers with the RunInstallerAttribute.Yes attribute could be found
 in the F:\kh\khapp\kh_winservice\bin\release\smsservice.exe assembly.
Remove InstallState file because there are no installers.

The Commit phase completed successfully.

The transacted install has completed.

I request an expert to resolve this issue at the earliest.
vensaliAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

WilliamCommented:
Did you add or does the solution have the installer for service?
I have not done a service in years, however I do remember there being some installer class for the service.
0
Bob LearnedCommented:
You need to open the Service code file in the designer by right clicking on the file in the Solution Explorer, and selecting the "Add Installer" option.  That step will create the ProjectInstaller class.  Double-click the class and set the properties.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.