Authenticode signing (prompted twice)

Got a problem you cannot solve? Try here.
Post Reply
MarkRichards
Posts: 47
Joined: Tue Apr 18, 2006 8:39 am

Authenticode signing (prompted twice)

Post 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?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Because it is signed twice...both crucial files inside and outside the package. This is necessary for Vista.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
zipzap
Posts: 17
Joined: Wed Nov 08, 2006 2:01 pm

Post by zipzap »

Suggestion: Could you cache the password from the first time and just apply it for the second time?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

That's a good idea, but if that were possible, we could have gotten rid of the prompt altogether.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
H4nd0
Posts: 92
Joined: Thu Nov 09, 2006 8:16 am
Location: Sydney, AU
Contact:

Post by H4nd0 »

I've been automating the signing with AutoIt3. See my post here:

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