I published a ClickOnce application from Visual Studio 2012, and selected the .NET 4.0 runtime and Microsoft Report Viewer 2012 as prerequisites. I also selected to downloa
The files that were downloaded from Microsoft had a different public key than what was specified in the bootstrapper configuration files (Product.xml). At least some of them had been published after VS 2012 was released and must have been signed with a different key. I had to extract the public key from the digital signature certificate and use it to replace the public key specified in the product.xml file. After this, it worked fine.
To extract the public key:
Properties.Digital Signatures tab.Details button.General tab, click the View Certificate button.Certificate window, click the Details tab and locate the field called Public Key.Product.xml file for this installer package.