Removing a Windows Service from a Deployment Package
I know that you can install your windows service via the VS deployment system I made. But how do you deploy updates after that? Every time I deploy a new version it says the service already exists and exits.
I tried to add a small DOS CMD file with the following: net stop [ServiceName] sc remove [ServiceName]
This will work fine if I can just run it, but the custom scripting options in the Deployment system do not allow this type of file.
How can I either a). Update my package on client computers or b). run this uninstall utility from my installer so I can run the update?
Any help would be greatly appreciated.
Hello,
Storm
0
Storm
source
to share