Reputation: 12842
I am very new to Windows Services, but I managed to develop and install one 'polling' Windows Service. Now, I have some updates to the service, and which is installed on lot of PCs. Should I use uninstall(old version) and install(new version) procedure to update my service ? Or should I just replace the MyService.exe ?
Upvotes: 0
Views: 1857
Reputation: 14541
You could just replace the MyService.exe file. But make sure that the service is in stopped state before replacing it on filesystem, otherwise windows won't allow you to do that. Once replaced, you can start the service, and your new code will be effective from then onward.
Upvotes: 2