Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce/VS Boostrapper Signed File Validation
 

ClickOnce/VS Boostrapper Signed File Validation

What kind of validation is done on signed files by the ClickOnce/VS Boostrapper? The prerequisite manifests have a PublicKeyattribute on the PackageFile that corresponds to the public key for the digital signature. In what way is this public key used to verify the signature of the signed file?What methods are used for the validation (educated guesses are welcome)?

Thanks,

Shane

sjimmerson  Friday, June 01, 2007 10:30 PM

The public key is used as a first level of defense by the bootstrapper: if the public key of the downloaded package does not match what the bootstrapper was built with, the installation will fail out of the box.

More checks are then done by the bootstrapper; I'm not going to go into many details, but it is similar to what is done in the Windows Installer Guide around bootstrapping. See in particular "Internet Download Bootstrapping" on MSDN (http://msdn2.microsoft.com/en-us/library/aa369557.aspx)

Mike Wade - MSFT  Monday, June 04, 2007 10:33 PM

The public key is used as a first level of defense by the bootstrapper: if the public key of the downloaded package does not match what the bootstrapper was built with, the installation will fail out of the box.

More checks are then done by the bootstrapper; I'm not going to go into many details, but it is similar to what is done in the Windows Installer Guide around bootstrapping. See in particular "Internet Download Bootstrapping" on MSDN (http://msdn2.microsoft.com/en-us/library/aa369557.aspx)

Mike Wade - MSFT  Monday, June 04, 2007 10:33 PM

You can use google to search for other answers

Custom Search

More Threads

• Clickonce install under Firefox 3 confusing to end users
• clickonce install cannot find setup.exe
• DeploymentDownloadException when attempting to install a ClickOnce app
• Referencing install directory on a registry value
• How can modify the shortcut created by ClickOnce?
• ClickOnce: copy one assembly in multiple subfolders
• Update to .NET 3.0
• How to resign / override exist certificate in Deploy & Applicationi manifests?
• Prerequisites on Network Drive
• ClickOnce setup for multiple applications