Digital sign failed with version 12.7.1 build 68466 in Windows 7 - Advanced Installer Community
Rorschach
Posts: 11
Joined: Thu Oct 10, 2013 3:37 am

Digital sign failed with version 12.7.1 build 68466 in Windows 7

Hi
There is no this problem in before version. Also by using signtool.exe in windows SDK it is OK.

The digital signing of the WindowsVolume\ProgramData\ABB\Ekip View\gacutil.exe file failed. Error Message:Certificate:

Subject[ABB Technology Ltd.] Issuer[ABB Issuing CA 6]
digisign.exe error. /as switch requires Windows 8 or aboveHRESULT: -2147024809. Error message: The parameter is incorrect.
digisign.exe sign /sha1 e7d1aa2bfea2c5ae3f977834d8c7473de973b4c0 /as /d Ekip View /fd SHA256 /tr

http://timestamp.geotrust.com/tsa /td sha256

Advanced Installer 12.7.1 build 68466
*** Stack Trace (x86) ***

[0x7759c42d] RaiseException()
[0x025128ce] -----
[0x015d8785] -----
[0x015d5ce9] -----
[0x015d5aa4] -----
[0x015e2ec9] -----
[0x015e2ce4] -----
[0x0158a3d9] -----
[0x013ee798] -----
[0x013ed91e] -----
[0x013ec3d9] -----
[0x013ec184] -----
[0x013ebf57] -----
[0x013eada2] -----
[0x013e97af] -----
[0x025480a0] -----
[0x0254d0bc] -----
[0x01e18cd8] -----
[0x01e18e09] -----
[0x77c59882] RtlInitializeExceptionChain()
[0x77c59855] RtlInitializeExceptionChain()
[0x01170000] MODULE_BASE_ADDRESS
Attachments
Capture.PNG
Capture.PNG (33.99 KiB) Viewed 3751 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Digital sign failed with version 12.7.1 build 68466 in Windows 7

Hello,

Please note that dual signing is supported starting with Windows 7 SP1, thus your build machine must run on Windows 7 SP1 (or newer) with Windows 8 Platform SDK (or newer) installed if you are using the SignTool.

If you are using the DigiSign to perform the dual signing you need at least Windows 8 on the build machine. This is happening because the API that we are using is not available on Windows 7.

You can also take a look on the SHA-2 Digital Signature Upgrade article which may be useful to you.

If you have other questions, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Rorschach
Posts: 11
Joined: Thu Oct 10, 2013 3:37 am

Re: Digital sign failed with version 12.7.1 build 68466 in Windows 7

Hi Dan
I changed back to use AI 12.6.1 and there is no this problem (in the same build machine and same AI project).
So is there anything changed about digital sign between 12.6.1 and 12.7.1?
How should I config the AI project or my build machine in order to use new version of AI? (I can not install Windows 8 OS because I need to follow company rule, but Windows 8 SDK is OK to install. And my build machine is Win7 with SP1.)
Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Digital sign failed with version 12.7.1 build 68466 in Windows 7

Hello,

Starting with the 12.7 version of Advanced Installer, the DigiSign supports SHA-1/2 smart double-signing. However, to use the DigiSign, you need to run at least on a Windows 8 build machine. This is happening because the API that we are using is not available on Windows 7.

In your case, you can use the SignTool to sign the installation package as an external tool. Note that you need to use the SignTool from the latest Windows 8 SDK on a build machine with Windows 7 SP1.

You can also take a look on the SHA-2 Digital Signature Upgrade article which may be useful to you.

Please let me know if there is anything else I can help you with.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”