Users are getting a VSTO Exception while installing my addin on computers without my certificate installed (unknown certificate). The certificate is a purchased code signing certificate class 2, which is working on another application.
I create my installation files via ClickOnce. The ClickOnce setup.exe gets signed and I am signing the dll in the Post-build with
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\signtool.exe" sign /f cert.pfx /p pw "$(ProjectDir)obj\Release\myAddin.dll"
I want to deploy the addin via C# code in another application. If I register my Addin in the registry i get the above error.
If I run the setup.exe it is installing properly, but this is not a option since no silent install is supported.
How do I get rid of the error? Or is there any other way to install the Addin silently? Thanks