if you have been working with System Center Virtual Machine Manager 2012 and tried to deploy web application as web tier you might see the below error although your InstallWebDeploy.cmd runs with result exit code (0).:
An operation for an application (Stock Traders Web 5, WebDeploy) failed on the virtual machine (test1.jitpros.local). Detailed error message: ApplicationFrameworkNotInstalled;2.0.1070.
The service (sdsd) was not successfully deployed. Review the event log to determine the cause before you take corrective action.
The script command (cmd.exe InstallWebDeploy.cmd) was executed on the computer (test1.jitpros.local) and returned a result exit code (0).
Application deployment failed for one or more tiers or application hosts in the service (sdsd). Check job logs to get more information on the failed operation.
For Some reason , I think this happens if you have been using System Center Virtual Machine Manager 2012 beta and then you uninstalled it and reinstalled the RC version. The Webdeploy.msi package does not get upgraded to solve this problem Visit http://www.iis.net/download/webdeploy , download the latest web deploy package and replace you existing webdeploy.msi packing in VMM library in: