1
votes

I have written a very simple add-in that adds a button to the ribbon of outlook (C#).

I have spent days trying to get this very simple add-in to install on another machine using the clickonce method.

I have published clickonce to ftp using Visual Studio. All fine so far.

Upon running the resulting vsto (or setup.exe) on a different machine I am getting the error:

'System.Security.SecurityException: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for Add-In or its location is not trusted. Contact your administrator for further assistance.'

I understand the idea behind a certificate being required to remove rogue add-ins being added to Outlook. I have signed the clickonce deployment using a test certificate on my machine.

Simply is it possible, without paying for a third-party certificate, to give a user the clickonce url and them install it without me having to do anything to their machine? (and/or domain etc.) This is ideally to be used by lots of enterprise users. Altering their environment isn't practical.

Many thanks.

1

1 Answers

0
votes

Check your certificate chain. Most likely you need to place a copy of the certificate into:

Certificates - Current User\Trusted Root Certification Authorities

...so your "issuer" is trusted in order for your certificate to be trusted.