Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7569523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:11:12+00:00 2026-05-30T15:11:12+00:00

Can somebody explain (better than the technet/msdn docs) what the auto provider exactly does,

  • 0

Can somebody explain (better than the technet/msdn docs) what the auto provider exactly does, how it works, and when to use it.

This is in regard to Web Deploy. I’ve seen a lot of documentation specifying -dest:auto and it’s not really making sense to me.

The auto provider specifies that the provider on a destination will be
the same as the source provider.

Example

msdeploy.exe -verb:sync -source:appHostConfig=”MySite”
-dest:auto,computername=Server1

The auto provider enables you to avoid entering the full path for the
-dest argument when the destination argument is the same as the
-source argument. It also removes the need to copy the manifest file
separately from an archive or package.

The auto provider takes the source that you specify and uses a
corresponding location on the destination computer. For example, if
you specify appHostConfig=Site1 as the source, the destination on the
target computer will be Site1. This is useful when you want to
synchronize a Web site “as is” to a remote machine.

technet docs for auto provider

Example that doesn’t make sense:

msdeploy.exe -verb:sync -source:package=myapp.zip -dest:auto

Why would you ever set the destination exactly to the source? What is the point? Aren’t you simply overwiting the source with iteslf?

The generated cmd file generated from publishing a package in VS2010 generates something like this:

"C:\Program Files\IIS\Microsoft Web Deploy V2\\msdeploy.exe" -source:package='MySourcePath' -dest:auto"  

Doesn’t auto mean the source will just overwrite itself? But it doesn’t, it actually updates the IIS web site (based on the settings in the manifest)

I’ve tried using package as the destination and in this case it did update the source package and not the IIS site.

The catalyst for this question is that I’m implementing CI and I ‘ve always used msbuild/xcopy in the past. I want to utilize msdeploy now. I want to understand it rather than simply calling the myproject.cmd that’s generated from visual studio.

For example, this SO link specifies using the auto provider for the dest argument.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T15:11:14+00:00Added an answer on May 30, 2026 at 3:11 pm

    I think you’ve actually figured out the answer for yourself.

    If the source is a package and the destination is auto, that simply means that the components specified inside the package will be “unzipped” and placed on the destination server. In the -source:package -dest:auto syntax, “auto” does not mean that the package itself is the destination.

    And, as you observe, if you specify a package as the destination, whatever you specify for the source will indeed be packaged up as a zip file that you can later use as a source to deploy elsewhere.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can somebody explain to me why the following works: template<class T> class MyTemplateClass {
Can somebody explain what ASPXAuth cookie does? My website uses forms auth and I
Can somebody please explain how to use macros in x86 assembly coding
Can somebody explain to me where I'm going wrong with this login setup? I've
Can somebody explain this entry in web.xml ? When it has to be used
Can somebody explain me why this T-SQL code only returns one row with the
Can somebody explain me why the small piece of code doesn't work? This is
I'm trying to optimize this mysql query using EXPLAIN. Can somebody please help me
Can somebody explain what is the meaning of this error? org.hibernate.MappingException: Same physical table
Can somebody explain me what I am doing wrong? This is teh error I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.