Auto install then auto start a windows service

I need to be able to auto install a windows service into control panel.  The service will be transfered to a remote computer.  There are no people at the computer so a standard install package can not be manually clicked, to install the service on the machine.  Due to security there's no way to install it remotely.  I need an automated method of installing a windows service into the control panel services and then starting it.

Steps:
1 copy windows service.exe to remote computer
2 remote comp[uter automatically install service into control panel and start the service

Questions welcomed.  I'm new to windows services so detailed and descriptive expllanations are prefered.


Any ideas??
Steve7423Asked:
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.

lacheur42Commented:
There's a utility that's part of the .net framework to install service:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>InstallUtil.exe /?

You can start a service with the command:
net start

These can be bundled with the service.exe file as a batch file script.

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
Steve7423Author Commented:
I'm considering using the SC command rather than the installUtil.  I have security permissions to consider which will have a defining impact on my decision and abiltiy to manage a service on the remote computer.  

Would visual studio need to be on the remote computer?
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
WCF

From novice to tech pro — start learning today.