PDA

View Full Version : Code Signing Suddenly Failed



NewsArchive
01-08-2007, 04:09 AM
SB 6.0.1718

I have code signing switched on in both the "General Information" and
for 3 separate files at the top of the script with #code-sign application.

All has been working well, now all of a sudden it's stopped and I get a
"GEN1053: Code signing process failed" message for each and every
signing attempt.

The password dialog box is being displayed. The password does appear to
be being entered.

If I remove the password from the "General Information" page and type it
in manually code signing works. Unfortunately you can't leave the
password field blank on the #code-sign application statement, so I'm a
little seriously stuck right now!

This is exactly the same issue as described by another user in the
thread "SB6 installer signing"

I may be able to add a little information though.

This morning it was all working fine.

THEN I INSTALLED INTERNET EXPLORER 7!

Since installing IE7 it no longer works. This is the only thing that
has changed in the few hours I've been working today.
--
Simon Craythorn
InterVations, Inc
http://www.intervations.com

NewsArchive
01-08-2007, 04:09 AM
I originated the other thread, and I'm also running IE7.
Jane

NewsArchive
01-08-2007, 04:10 AM
> All has been working well, now all of a sudden it's stopped and I get a
> "GEN1053: Code signing process failed" message for each and every
> signing attempt.
>
> The password dialog box is being displayed. The password does appear to
> be being entered.
>
> If I remove the password from the "General Information" page and type it
> in manually code signing works. Unfortunately you can't leave the
> password field blank on the #code-sign application statement, so I'm a
> little seriously stuck right now!

Simon,

JAT ...

Check to be sure that your certificate did not just expire.

If it did, the automated signing would be an obvious failure, but the
manual one would "appear" to work unless you look closely at the output
from the compile script - then you would see a blue line of the compile
output log indicating that the signing had failed.

That is easy to miss in a big compile.

Good luck!


Charles





--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
01-08-2007, 04:10 AM
No, the certificate is still very much valid.

I've temporarily replaced the #code-sign script command with #run and am
running signcode with a command line so that I can type the password in
myself. A bit of a pain because I have to do it 4 times for this
project, but the .exe's are all definitely signed correctly.

If it's any help to Friedrich, I have a hunch that SetupBuilder is
clicking the OK button too quickly and the last character is not being
captured. I'm not certain about that but I did manage to get SB to work
occasionally by doing things that would cause a processor slow-down
while it was signing.
--
Simon Craythorn
InterVations, Inc
http://www.intervations.com

NewsArchive
01-08-2007, 04:10 AM
Hi Simon,

Thank you for the information. We also have IE7 on two machines, but have
not seen this here. We are using the code-signing feature 300-400 times per
day.

In the next maintenance build I'll wait, say, one second before "pressing"
return. Hopefully this will help.

I'll also make sure the password field can be left blank on the #code-sign
application statement.

Thanks again,
Friedrich

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

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes