Meddington / OutlookPrivacyPlugin

A PGP encryption plugin for Outlook 2010, 2013 and 2016.
BSD 3-Clause "New" or "Revised" License
272 stars 60 forks source link

Singing Issue of Installer #69

Closed Fightbackman closed 9 years ago

Fightbackman commented 9 years ago

German error Message of the .vsto file.

Short translation: The code signingn certifiacte isn't trusted.

"Benutzerdefinierte Funktionen können in dieser Anwendung nicht verwendet werden, weil das Zertifikat, mit dem das Bereitstellungsmanifest für Outlook Privacy Plugin BETA signiert wurde, oder sein Speicherort nicht vertrauenswürdig sind. Wenden Sie sich an den Administrator, um weitere Unterstützung zu erhalten."

After that i started the the setup.exe directly and get the same error. Thies is the detailed eror report:

Name: Outlook Privacy Plugin BETA Von: file:///C:/Users/Lukas/Desktop/OutlookPrivacyPlugin-BETA-40/OutlookPrivacyPlugin.vsto

\ Ausnahmetext ** System.Security.SecurityException: enutzerdefinierte Funktionen können in dieser Anwendung nicht verwendet werden, weil das Zertifikat, mit dem das Bereitstellungsmanifest für Outlook Privacy Plugin BETA signiert wurde, oder sein Speicherort nicht vertrauenswürdig sind. Wenden Sie sich an den Administrator, um weitere Unterstützung zu erhalten. bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustPromptKeyInternal(ClickOnceTrustPromptKeyValue promptKeyValue, DeploymentSignatureInformation signatureInformation, String productName, TrustStatus status) bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustUsingPromptKey(Uri manifest, DeploymentSignatureInformation signatureInformation, String productName, TrustStatus status) bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.ProcessSHA2Manifest(ActivationContext context, DeploymentSignatureInformation signatureInformation, PermissionSet permissionsRequested, Uri manifest, ManifestSignatureInformationCollection signatures, AddInInstallationStatus installState, TrustStatus sha256TrustStatus, X509Certificate2 sha256PublisherCert) bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.VerifySecurity(ActivationContext context, Uri manifest, AddInInstallationStatus installState) bei Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn() Die Zone der Assembly, bei der ein Fehler aufgetreten ist: MyComputer

ttrueten commented 9 years ago

The error can be reproduced with me. I just can use Beta 35. ...

ttrueten commented 9 years ago

Solved! Source Drive must be a local Drive, not Network...

Fightbackman commented 9 years ago

Used local drive, was no difference

ttrueten commented 9 years ago

Did you unlock the zip File?

Elompenta commented 9 years ago

is there no solution with the "unlock" Problem? Sorry - but I doesnt develop for Windows - so i dont know

Meddington commented 9 years ago

Combining this into #77 which is a fuller solution.

However to work around typically you will:

  1. Unblock zip
  2. Install from local drive
  3. On Windows 8.1 you may need to add the certificate to your trust store during installation