Is it possible to deploy the contents of a folder (plain Html files) to a specific web application on a remote IIS6/7 server?
The following command does not error, but neither does it publish any files to the remote server:
msdeploy.exe -verb:sync -source:dirPath="c:\myHtmlFiles" -dest:auto,ComputerName="http://deploy.mycompany.co.uk/msdeploy?site=TestSite",includeAcls="false",username="administrator",password="myPassword" -enableRule:DoNotDeleteRule -disableLink:AppPoolExtension -disableLink:ContentExtension -allowUntrusted
NOTE:
- WebDeploy is correctly installed on the destination server and works happily with packages created from msbuild scripts for .NET projects.
- 'http://deploy.mycompany.co.uk/msdeploy' is correct for the listening end-point.
- The '?site=TestSite' query string was suggested elsewhere, but does not work.
- The 'TestSite' web application exists on the target server.
- Parameter files and -setParam do not work, and renders errors relating to the source not supporting the parameter 'IIS Web Application Name' if you attempt to set, declare, or provide it.