locked
How to enter Web Deploy Parameters for a package without installing to IIS RRS feed

  • Question

  • User37557691 posted

    Typically web deploy parameters are entered at install time, either: (1) as prompted by IIS during "Import Package" or (2) provided to msdeploy.exe in -setParamFile or -setParam

    I'd like to do something a little different: instead of providing the parameter values at install time, I'd like to create a package that is configured with all of the web deploy parameters and then install that directly into IIS.  The reason I'm considering this route is to allow me to archive the package so I can easily re-install if a later release is found defective.

    I've played around with creating a new package using msdeploy.exe -verb:sync -source:package="source.zip" -dest:package="dest.zip" -setParam...... and the result is another package, but it cannot be installed into IIS using msdeploy because of "Error: A value for the 'setAclUser' setting must be specified when the 'setAcl' provider is used with a physical path."

    I suppose an alternative to my desired approach is to install the web package using one of the two conventional ways described in the first line of this post and then subsequently sync the contents of the site or application using msdeploy.  Is there a suggested set of command line parameters to use for this approach?

    I suppose another approach is simply to keep the SetParameters.xml file along with the package .zip and to make sure it contains all of the parameter values.

    This post seems related: http://forums.asp.net/t/1923387.aspx?How+to+keep+deployment+parameter+values+for+update+installation

    Wednesday, October 30, 2013 10:05 AM

All replies

  • User-1426144113 posted

    Hi,

    I think there is not this feature now, I think you can post it in http://forums.iis.net/

    On the other hand, you can submit this feature of iis.

    Thanks

    Friday, November 1, 2013 2:06 AM