With the latest versions of Visual Studio, the “built-in” install creator isn’t “built-in” anymore. And you are offered a free version of Installshield LE instead. I have never been able to create a installer that can install a windows service for Win XP with it. But when it is as easy as it is, why bother???
Copy the files to your destination folder on your XP system.
We assume a few things when we install it:
sc create myservicename DisplayName= “MyService” binPath= “c:\MyServices\MyService.exe”
myservicename is the actual service name, and it is the name you will find in the registry.
When you are done with your service, and want to get rid of it:
sc delete myservicename