PDA

View Full Version : Code signing process failed. Error Code: -1 (small picture attached)



NewsArchive
03-27-2009, 02:17 AM
Hi,

Out of the blue I suddenly got this errormessage on all my scripts,
I havent changed my installscripts but somthing has changed om my PC, the signcode.exe eksists, the pfx file exist.

tried to press debug but it did not give me any more information than I already have, what can be the cause to this?



--
Med Vennlig Hilsen
Tor-Bjarne Henriksen
Berghs Metall as
"We make IT easy"
Http://www.fakturaprogram.no
Http://www.winvask.no

NewsArchive
03-27-2009, 02:17 AM
Hi Tor-Bjarne,

> Out of the blue I suddenly got this errormessage on all my scripts,
> I havent changed my installscripts but somthing has changed om my
> PC, the signcode.exe eksists, the pfx file exist.
>
> tried to press debug but it did not give me any more information
> than I already have, what can be the cause to this?

If it happens "out of the blue", perhaps your certificate expired ;-)

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-27-2009, 02:18 AM
"Out of the" pc I send you a prof that my certificate does not expire before 07.08.2011




--
Med Vennlig Hilsen
Tor-Bjarne Henriksen
Berghs Metall as
"We make IT easy"
Http://www.fakturaprogram.no
Http://www.winvask.no

NewsArchive
03-27-2009, 02:18 AM
>
> "Out of the" pc I send you a prof that my certificate does not expire
> before 07.08.2011
>

Yes, certificate is valid. Then I assume you are really using a .PFX with
SignCode instead of SignTool, right ;-)

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-27-2009, 02:19 AM
And your errors "GEN1061" (.spc and .pvk) are reported from the
pre-processor. Update the link to your .spc and .pvk files in your
"#code-sign application..." directives and if your certificate is valid, you
should be done.

Friedrich

NewsArchive
03-27-2009, 02:20 AM
Hi,

Thank you for your reply :)

I dont use spc and pvk? but pfx and signcode.exe to sign?
"How to" This was described by you a long time ago and I have not changed this :)

Attached is 1. Code sign line


--
Med Vennlig Hilsen
Tor-Bjarne Henriksen
Berghs Metall as
"We make IT easy"
Http://www.fakturaprogram.no
Http://www.winvask.no

NewsArchive
03-27-2009, 02:21 AM
Hi Tor-Bjarne,

> Thank you for your reply :)
>
> I dont use spc and pvk? but pfx and signcode.exe to sign?
> "How to" This was described by you a long time ago and I have not changed
> this :)
>
> Attached is 1. Code sign line

Your script is correct! But you changed the location for the code-signing
tool in the IDE!

If you are using a .PFX instead of a .SPC/.PVK, you have to change Tools |
Options... | File Locations Tab -> Digital Signature from SignCode.exe to
SignTool.exe and you are done ;-)

Does this help?

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-27-2009, 02:21 AM
Or from the manual:

Friedrich

NewsArchive
03-27-2009, 02:23 AM
>
> the signcode.exe eksists, the pfx file exist
>

And another important information. .PFX does not use signcode.exe at all.
It uses SignTool.exe.

So if you are really using a .PFX, you have to use SignTool.exe (see
attached screenshot). Make sure you have access to SignTool.exe.

Hope this helps.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner