Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Problem understanding MSDeploy's -dest param

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

Industry Leaders: 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

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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

618 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