Error when installing via Web Platform Installer

Topics: Installing Orchard
Jan 10, 2014 at 3:02 PM
I'm trying to install Orchard using the Web Platform Installer. In IIS7, I'm clicking on my site (which is using an application pool configured for .NET v4 integrated pipeline) and clicking on Web Platform Installer. I search for "Orchard" and click Add, then Install. The first time I tried, it successfully installed the other prerequisites but couldn't install Orchard. So now, only Orchard CMS is listed as a prerequisite (so that's good, right?). I click "I Accept" and then an error pops up which says:
Could not load file or assembly 'Microsoft.Web.Deployment,
Version=9.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.
I can only click on OK, and when I do this another error comes up that says:
Operation is not valid due to the current state of the object.
I can only click OK, and when I do I'm at the configure screen, but there's nothing in the Web Site dropdown or in the IP address dropdown.

This is the install log:
DownloadManager Warning: 0 : No apps with IisApp parameter. Moving to next page.
DownloadManager Information: 0 : Using chosen site ''
DownloadManager Error: 0 : System.InvalidOperationException: Operation is not valid due to the current state of the object.
   at Microsoft.Web.PlatformInstaller.UI.AppSitePage.CreateSiteAndShowOverwriteWarningIfNeeded(String& siteName)
   at Microsoft.Web.PlatformInstaller.UI.AppSitePage.OnNext()
DownloadManager Information: 0 : Using chosen site ''
DownloadManager Error: 0 : System.InvalidOperationException: Operation is not valid due to the current state of the object.
   at Microsoft.Web.PlatformInstaller.UI.AppSitePage.CreateSiteAndShowOverwriteWarningIfNeeded(String& siteName)
   at Microsoft.Web.PlatformInstaller.UI.AppSitePage.OnNext()
DownloadManager Information: 0 : User has canceled the current installation
DownloadManager Information: 0 : Clearing cart
DownloadManager Information: 0 : Adding product Orchard CMS (OrchardCMS) to cart
DownloadManager Information: 0 : Adding product 'OrchardCMS'
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Downloading file 'http://orchard.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=759690' to: C:\Users\Administrator\AppData\Local\Temp\2\tmp1EA7.tmp
DownloadManager Information: 0 : http://orchard.codeplex.com/Project/Download/FileDownload.aspx?DownloadId=759690 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Location: http://orchard.codeplex.com/Download?DownloadId=759690
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
X-Content-Type-Options: nosniff
X-FRAME-OPTIONS: SAMEORIGIN
Date: Fri, 10 Jan 2014 14:57:52 GMT
Content-Length: 171


DownloadManager Information: 0 : http://orchard.codeplex.com/Download?DownloadId=759690 responded with 301
DownloadManager Information: 0 : Response headers:
HTTP/1.1 301 Moved Permanently
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: http://orchard.codeplex.com/downloads/get/759690
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 4.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Content-Type-Options: nosniff
X-FRAME-OPTIONS: SAMEORIGIN
Date: Fri, 10 Jan 2014 14:57:52 GMT
Content-Length: 165


DownloadManager Information: 0 : http://orchard.codeplex.com/downloads/get/759690 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: public, max-age=0
Content-Type: text/html; charset=utf-8
Expires: Fri, 10 Jan 2014 14:57:53 GMT
Last-Modified: Fri, 10 Jan 2014 14:57:53 GMT
Location: http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=orchard&DownloadId=759690&FileTime=130293562044670000&Build=20841
Vary: *
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 4.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Content-Type-Options: nosniff
X-FRAME-OPTIONS: SAMEORIGIN
Date: Fri, 10 Jan 2014 14:57:52 GMT
Content-Length: 263


DownloadManager Information: 0 : Content-disposition header: attachment; filename=Orchard.Web.1.7.2.zip
DownloadManager Information: 0 : Number of bytes downloaded over the internet: '21971703'
DownloadManager Information: 0 : Number of bytes after possible decompression: '21971703'
DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
DownloadManager Information: 0 : Moving downloaded file 'C:\Users\Administrator\AppData\Local\Temp\2\tmp1EA7.tmp' to: C:\Users\Administrator\AppData\Local\Microsoft\Web Platform Installer\installers\OrchardCMS\B26FA8EC65E4B646D9A61B65ECD291D74F846B0D\Orchard.Web.1.7.2.zip
DownloadManager Error: 0 : System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Deployment, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Web.Deployment, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at Microsoft.Web.PlatformInstaller.MSDeployProxy.GetDeclaredParameters()
   at Microsoft.Web.PlatformInstaller.MSDeployPackage.get_DeclaredParameters()
   at Microsoft.Web.PlatformInstaller.UI.AppSitePage.GetApplicationName(MSDeployPackage package, String& appName)
   at Microsoft.Web.PlatformInstaller.UI.AppSitePage.InitializeComponent()


DownloadManager Warning: 0 : No apps with IisApp parameter. Moving to next page.
DownloadManager Information: 0 : Using chosen site ''
DownloadManager Error: 0 : System.InvalidOperationException: Operation is not valid due to the current state of the object.
   at Microsoft.Web.PlatformInstaller.UI.AppSitePage.CreateSiteAndShowOverwriteWarningIfNeeded(String& siteName)
   at Microsoft.Web.PlatformInstaller.UI.AppSitePage.OnNext()
DownloadManager Information: 0 : User has canceled the current installation
Should I go about installing it a different way? Seems like using the Web Platform Installer should be a foolproof way of installing it.