I'm pretty new to msdeploy, but I would like use it to create a package/zip file containing only the files of a website that have been changed.
I cannot use msdeploy to deploy the files directly since I don't have access to installing Web Deploy on the production server. That's why I need to get a zip file, which I can copy to the production server and unzip manually to replace the changed files (not optimal I know).
If I run the following command, I get a textual output of which files are to be added/update/deleted:
"c:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" ^
-verb:sync ^
-source:contentPath="D:\MyProject" ^
-dest:contentPath="MySite",ComputerName="https://MyServer/MsDeploy.axd?site=MySite",UserName="MyUsername",Password="MyPassword",AuthType="Basic" ^
-whatif ^
Is there any way of having msdeploy save this output to a zip file/package rather than just printing it?
The IIS version is 7, if that makes a difference.