Page 1 of 1

Authenticode signing (prompted twice)

Posted: Sun Oct 15, 2006 9:14 am
by MarkRichards
Hello,

I just integrated Authenticode signing into two InstallAware projects, and I noticed that I'm actually prompted for the cert password twice during the build process (a compressed build in this case). The first prompt occurs near the start of the build, and the second toward the end.

I understand that signcode.exe can't accept a password as an input parameter, and so the password prompts are a necessary annoyance. But I'm why InstallAware prompts me for it twice?

Posted: Sun Oct 15, 2006 10:36 am
by MichaelNesmith
Because it is signed twice...both crucial files inside and outside the package. This is necessary for Vista.

Posted: Mon Nov 13, 2006 1:25 pm
by zipzap
Suggestion: Could you cache the password from the first time and just apply it for the second time?

Posted: Mon Nov 13, 2006 2:11 pm
by MichaelNesmith
That's a good idea, but if that were possible, we could have gotten rid of the prompt altogether.

Posted: Tue Nov 14, 2006 4:24 am
by H4nd0
I've been automating the signing with AutoIt3. See my post here:

http://forums.installaware.com/viewtopic.php?t=351