ClickOnce Deployment w/ Prerequisites in IIS
I encountered an issue where I deployed a .NET 3.5 WPF application to the server.
The deployment was hosted in IIS and the prerequisites were marked with "download from the same location as my application"
The publish works and everything seems up and running.
As soon as I entered the deployment page to install the application in a machine without .NET v3.5, I got the installation window which was all nice but then I received an error.
Clicking Details revealed that it couldn't download files with ".msu" and ".msp" extensions.
The solution was to go to the IIS in the server machine, go to the website where the deployment resided and add the following MIME Types:
.msp --> application/octet-stream
.msu --> application/octet-stream
(IIS --> WebSite/Virtual Directory Properties --> HTTP Headers --> MIME Types)
The deployment in the client machine worked perfectly afterwards.