Configure a web application for deployment

You are using parameters for your Web Deploy. You want to automate the creation of the SetParameters file and make sure that it has the correct values. What do you use?

MSDeploy with the setParamFile attribute.
XmlPoke with MSBuild.
This is not possible. You need to edit the SetParameters file manually.
XmlPoke with MSDeploy.