i have 2 applications, one is windows application, the other is windows service.
the windows application must start and stop the windows service.
so i neeed to have, a setup that can install both at the same. the windows application must start and stop the service.
is that possible
i have other question, when i desinstall the program can it stop the service and desinstall the windows service and the windows application
my purpose is to make a program, that uses windows service, controlled by windows application.
Thanks for helping

Windows Service
ben999000
Yes it is possible to control a Windows Service from a Windows form app using the ServiceController class. Please see http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemServiceProcessServiceControllerClassStartTopic.asp
for more information and a code sample.
Stovesy
Steven's link shows how to start and stop a Windows Service in code.
The following sample shows how to build a installer for the service:
http://www.codeproject.com/dotnet/simplewindowsservice.asp
Regards,
Vikram