Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Resolved: Error message when installing Windows software, untrusted certificate

12.11.2018 (👁716)


Problem:

When installing a Windows application, the following message appears saying that custom functions can not be used because of a certificate.

 

 

Error message:

User-defined functions can not be used in this application because the certificate that signed the deployment manifest for the add-in or its location is untrusted.

Contact the administrator for further assistance

 

Error message during installation

 

 

System.Security.SecrutiyException

Microsoft.VisualStudio.Tools.Application.Deployment.ClickOnceAddinTrustElevator.VerifyTrust

 

Where is the certificate?

For Windows projects (WPF, Addin, Winforms, VSTO Addin, COM) you will find the certificate under Project-> Properties-> Signing.

the certification

 

Solution:

The solution is pretty simple. You do not really have to add a confidential certificate to the project.

Simply turn off the Signing-> Sign the ClickOnce manifest option-> OFF

 

Solution 2: Certificate via Windows Store

You can create a certificate through the Windows Store if you have a Microsoft Developer account on Windows Store.

 

 

View:

Properties and settings of the created certificate via Store

 

Certificate details

 

Export certificate

 

For distribution purposes, you can then export the certificate.

Copy to file->

 

Certificate Export: DER-encoded-binary x.509 or base-64 encoded