Solved

Problem understanding MSDeploy's -dest param

Posted on 2011-09-02
2
930 Views
Last Modified: 2012-05-12
I have a site named myWeb. It's path is C:\inetpub\wwwroot\myWeb. I'm trying to devise the msdeploy commandline that will update the current contents with myWeb.zip's deployment package.

To my mind it should be:

"msdeploy" -verb:sync -source:contentPath="C:\deployContents\myWeb.zip" -dest:contentPath="C:\inetpub\wwwroot\myWeb" 

Open in new window


or maybe just using the site name instead of the site's path. But i get:

Error: Cannot create the file 'C:\inetpub\wwwroot\myWeb' because a directory with the same name already exists.
0
Comment
Question by:juststeve
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
Kent Dyer earned 125 total points
ID: 36476843
I would use the second example on this page to do what you need..

http://www.hanselman.com/blog/MSDeployNewIISWebDeploymentTool.aspx

HTH,

Kent
0
 

Author Comment

by:juststeve
ID: 36478319
You make a good point - i should be explicitly coding objectives all the way from VS.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question