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