Reputation: 83
I am currently deploying my windows services manually on the server.
One time Steps:
D:\InstallDir
InstallUtil.Exe
) and another batch file to uninstall windows service and copied in the install folderHere are the steps I perform to upgrade:
InstallUtil /u
)InstallUtil WIndowsService.Exe
)I would like to automate upgrade steps; can you suggest deployment strategy in this scenario?
Upvotes: 8
Views: 21523
Reputation: 73564
There's a walk through for setting up a Setup Project for a Windows Service. I've used it and it's simple to use and simple to create. It creates a standard .msi file to install from. Since it's a standard Setup project creating a standard msi, you can set it to automatically uninstall previous versions, etc.
http://support.microsoft.com/kb/317421
Upvotes: 9
Reputation: 136391
You can use an installer like Inno-setup
, check this related question using inno-setup
Inno Setup for Windows service
.
Upvotes: 2