Shaddix
Shaddix

Reputation: 6109

Customizing web deploy publish procedure

I'm investigating the powerful of WebDeploy based on Scott Hanselman's post. I was using Web Setup Project before, and trying to find an analog for Custom Actions in Web Deploy.

Generally, is there a place in WebDeploy procedure I could integrate into, and execute some particular c# code that could perform some install/upgrade actions?

Upvotes: 3

Views: 1401

Answers (1)

timamm
timamm

Reputation: 932

If you use the command-line version of Web Deploy, you can leverage the runCommand provider or the preSync or postSync command line switches to run an executable on the destination server as part of a Web Deploy operation. For more information, see my answer to the StackOverflow question Use MSDeploy to copy an executable to a server and to then run same.

Upvotes: 1

Related Questions