I'm not a build guy, apologies if this is basic. We have an existing setup program, creates the web server, virtual directory etc. Used to use the old Web Deployment project, now on VS2013, we have the package option. I created a publish profile VS creates the package, (zipfile) and also the cmd file to execute it, manifest file etc.
I can manually "Import" the zip file into IIS, so it seems valid.
Trying to execute MSDeploy from inside the setup project, it fails.
This https://technet.microsoft.com/en-us/library/dd569034(v=ws.10).aspx says
"Unpackage the contents of the Package.zip file and put them in the C:\temp folder. Do not delete any files that already exist in the destination folder."
msdeploy.exe -verb:sync -source:package=C:\package.zip -dest:contentpath=C:\temp -enableRule:DoNotDeleteRule
our application path has spaces, so I've included quotes (\") around the source file and destination folder.
msdeploy.exe -verb:sync -source:package="C:\Program files\myApp\package.zip" -dest:contentpath="C:\program files\myApp\webUI"
When I execute it, I get this error:
Error: Source (sitemanifest) and destination (contentPath) are not compatible for the given operation.
Error count: 1.
without the quotes, it complains that "files" is an invalid parameter.
Am I missing something obvious?
TIA