This works between my XP PC and my XP Virtual Machine. My questions.
1. Do you see any issues that may occur using this approach in a production environment?
2. Because this works I am now concerned about security do you think that the encryptPassword, userName, and password provider modifiers are enough to secure the MSDeployAgentService?
Thanks
Step 1. copy the App_Offline.htm to shutdown the web site.
msdeploy.exe -verb:sync -source:contentPath="c:\App_Offline.htm" -dest:contentPath=C:\TestWeb\App_Offline.htm,computerName=http://COMPUTER-VPC1:81/MsDeployAgentService/
Step 2. Perform a simple database update for proof of concept.
msdeploy.exe -verb:sync -source:dbFullSql="c:\TestSQL.sql" -dest:dbFullSql="Data Source=COMPUTER-VPC1;Initial Catalog=msdeployTEST;User Id=sa;password=Password#9",computerName=http://COMPUTER-VPC1:81/MsDeployAgentService/
Step 3. Bring the web site back up by downloading an entire new version of the web site changing the directory in the process.
msdeploy -verb:sync -source:metaKey=lm/w3svc/1/ROOT/TestWeb -dest:metaKey=lm/w3svc/1/ROOT/TestWeb,computerName=http://COMPUTER-VPC1:81/MsDeployAgentService/
On my source machine the virtual directory of the web site is C:\TestWeb_1_0_0_0. On the destination machine the the virtual directory of the web site was C:\TestWeb. After Step 3 the destination machine has all new files under C:\TestWeb_1_0_0_0.