Page 1 of 1

Authenticode with pfx requires embedded password

Posted: Mon Aug 13, 2012 8:29 am
by khalprin
Hello,

I'm trying to use a .pfx file for signing my installation. I want to be prompted for the password, so I leave the password field empty. Building the executable does not prompt for the password and always fails with the error:
Signing installation executable
Error during build: Unable to sign installation executable

However, if enter the password as part of the project configuration the build succeeds.

When I switch to the spc/pvk files and leave the password field empty, I'm prompted for the password and the build succeeds.

Is this a known bug...why is there no prompt for a password when using a pfx file?

Thanks.

Re: Authenticode with pfx requires embedded password

Posted: Mon Aug 13, 2012 1:10 pm
by FrancescoT
Dear User,

This is by design. The SPC/PVK tool that is prompting for the password is not InstallAware but the code signing tools that are used. In fact, if a password is specified in the SPC/PVK files, there will be no prompt for them either. The PFX tool apparently does not offer this unintentional side effect.

Regards