?
Solved

Problem understanding MSDeploy's -dest param

Posted on 2011-09-02
2
Medium Priority
?
940 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 500 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

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 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