How can we set the default path for IIS deployment

tim's Avatar


20 Oct, 2018 07:13 PM

We're using the AppVeyor deployment agent and would like to have the sites install into a set folder. What property do we need to set in the yml to do this?

Ideally we want them to go into:

"" would be specific to the solution and www to the project.


  1. Support Staff 1 Posted by Owen McDonnell on 22 Oct, 2018 06:15 PM

    Owen McDonnell's Avatar

    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).

  2. Support Staff 2 Posted by Ilya Finkelshte... on 22 Oct, 2018 06:32 PM

    Ilya Finkelshteyn's Avatar

    Hi Tim,

    You can set that path using path setting inside the Agent Deployment environment (check this part of documentation).

    If you need to change this path dynamically based on solution and the project, you can pass this setting as environment variable as described here. If you hit some issues with this, please send us your YAML and agent environment settings screenshot.

    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.


  3. Ilya Finkelshteyn closed this discussion on 22 Dec, 2018 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac