I have an application that I am deploying through ClickOnce. I do all the manifest generation / signature in the MSBuild script. Until today, we have used a self-generated certificate, but now I have a certificate from Verisign.
I can successfully sign my manifests with mage.exe, and the new certificate and Publisher field are displayed correctly when I run "myapp.Application" to install the application.
However, if I run Bootstrapper (setup.exe), which I created for the application, the installer now says that Publisher is unknown (as if I had not signed my manifests). I can't figure out what I need to do for Bootstrapper in order to get the publisher to display correctly in the installation confirmation dialog. I tried to sign Bootstrapper using SignTool, but that does not seem to matter.
The pseudocode is as follows:
- Create application manifest (using mage.exe)
- Sign application manifest (using mage.exe)
- Create a deployment manifest (using the GenerateDeploymentManifest MSBuild task)
- manifest deployment character (using mage.exe)
- Generate bootloader (using the GenerateBootstrapper task)
- Boostrapper Icon (using SignTool.exe)
Please post my code with pleasure if there are no obvious problems with my workflow / tools.
Thanks in advance!
Jonah source share