There's no support in Visual Studio for either running code before the install or for controlling services using the built-in support in MSI. The "normal" way to do this is to just add the service name to the ServiceControl table with whatever method is offered by the tool'sIDE :
http://msdn2.microsoft.com/en-us/library/aa371634.aspx
that stops services early in the install and then restarts them after the files have been installed. Since Visual Studio does't support this you'd have to use Orca.
The documentation and associated utility here might help you see how it works:
http://www.installsite.org/pages/en/msi/tips.htm"Installing Services with Visual Studio".