Software Publisher Certificate error - Advanced Installer Community
vegasje
Posts: 1
Joined: Thu Oct 23, 2014 11:33 pm

Software Publisher Certificate error

I am using a cer format certificate, and a pvk format private key. I am using Advanced Installer 11.6.

When building the installer, I receive the error message:

Code: Select all

The digital signing of the external cabinets failed. Error Message:SignTool Error: Invalid command: /spc
I have the most recent version of SignTool--the version that comes with the Windows 8.1 SDK.

Has anyone else seen this error and/or know how to move forward?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Software Publisher Certificate error

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

This may happen if you haven't added the "SignCode.exe" as an "External Tool" to be used by Advanced Installer to sign your projects. So, can you go to "File menu -> Options -> External Tools" and add "SignCode.exe" in there.

If you don't have "SignCode.exe" installed on your build machine (you have installed only SignTool.exe), then you can convert your .CER certificate file to a .PFX certificate type and, then use the PFX certificate in "Digital Signature" page. You can use pvk2pfx to create a PFX certificate from the CER and PVK files, such that SignTool may be used.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”