tag:help.appveyor.com,2012-11-13:/discussions/questions/28347-how-can-we-set-the-default-path-for-iis-deploymentAppVeyor: Discussion 2018-12-22T21:00:21Ztag:help.appveyor.com,2012-11-13:Comment/463011582018-10-22T18:15:20Z2018-10-22T18:15:20ZHow can we set the default path for IIS deployment<div><p>Can you share a screenshot of your environment settings and share your yml config file (feel free to make the discussion private if you prefer).</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/463011582018-10-22T18:32:02Z2018-10-22T18:32:02ZHow can we set the default path for IIS deployment<div><p>Hi Tim,</p>
<p>You can set that path using <code>path</code> setting inside the Agent Deployment environment (check <a href="https://www.appveyor.com/docs/deployment/agent/#deploying-artifact-package-as-iis-web-site">this</a> part of documentation).</p>
<p>If you need to change this path dynamically based on solution and the project, you can pass this setting as environment variable as described <a href="https://www.appveyor.com/docs/deployment/agent/#overriding-settings-while-deploying-from-build">here</a>. If you hit some issues with this, please send us your YAML and agent environment settings screenshot.</p>
<p>Other option is to create separate agent environment with hard-coded path and use specific agent environment with specific solution. This is less elegant than using environment variables, but also will work.</p>
<p>Ilya.</p></div>Ilya Finkelshteyn