SignTool failures - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

toschlog
Posts: 26
Joined: Fri Jun 10, 2011 5:39 pm

SignTool failures

I have an installer that's failing to build because SignTool sometimes can't handle very large files. The error messages I get are:

Creating EXE file...
The digital signing of the EXE failed. Error Message:Done Adding Additional Store
Number of errors: 1
SignTool Error: ISignedCode::Sign returned error: 0x80070008
Not enough storage is available to process this command.
SignTool Error: An error occurred while attempting to sign: C:\workspace\Tools Setup.exe
Installer failed with error code 536805277

Apparently this is a known problem with SignTool. The article http://msdn.microsoft.com/en-US/library ... spx?ppud=4 contains this text: "When signing an executable file that is larger than approximately 300 megabytes for use on a computer running Windows XP with Service Pack 2 (SP2) and later, you should use catalog signing with the MakeCat tool rather than use the SignTool tool. Depending on the available system resources of the computer on which the file is verified, some applications may not be able to verify the binary signature of a large file. For more information, see KB article 922225."

So what can I do inside of Advanced Installer? Do I have the option of using catalog signing? Would it be possible for AI to try calling SignTool again if it fails the first time?

Thanks.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SignTool failures

Hello,

Unfortunately, this seems to be a SignTool limitation. In that case you should manually try to sign your exe file using the MakeCat tool.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”