Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-02-2019, 10:18 AM
dhollman dhollman is online now
Registered User
 
Join Date: 09-26-2013
Posts: 9
SignTool Error: SignerSign() failed when run from VBP

I have recently started using a code signing certificate which is housed on a USB dongle.

Previously when using a PFX file for the certificate I could sign code without issue from VBP. But now I am running into an error:

Code:
Done Adding Additional Store
Error information: "Error: SignerSign() failed." (-2147023673/0x800704c7)
SignTool Error: An unexpected internal error has occurred.

This occurs both when using the Sign Code action, or even just running signtool in a Run Program action. (Same error, either way).

If I run signtool manually on the command line (not using VBP) there is no error.

What has to happen when signtool runs is that some local software interfaces with the USB dongle and prompts you for a password before signing can take place. This works from the command line but does NOT occur when running from VBP. This is likely the cause of the mysterious error above.

I'm not sure what to do to get this to work from VBP...

Thanks
Reply With Quote
  #2  
Old 05-02-2019, 02:17 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
You have to provide a password in a UI prompt from an automated build? Yuck.

Maybe try checking 'Use interactive desktop' on the Advanced tab, but note the caveats at https://kinook.com/VisBuildPro/Manua...dvancedtab.htm.

Another possibility might be to call from a Run Program action and uncheck 'Hide application window' on the Program tab.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:23 PM.


Copyright © 1999-2023 Kinook Software, Inc.