Signing executable bigger than 2 GB does not work! - Advanced Installer Community
SubZero
Posts: 63
Joined: Mon Mar 14, 2011 10:29 am

Signing executable bigger than 2 GB does not work!

Hi AI-Team
we are currently using AI version 10.9. recently our *.executable attained a file size bigger than 2 GB. Unfortunately this seems to be a problem for digisign, because we can't sign our executable anymore. Is this a known bug? The certificate itself is OK, I still can sign smaller older versions!

Here is the log output:

Checking builds status... done.
Build required.

[ InstallationOfflineGesamt64bit ]
Building package (de): C:\eclipse_workspaces\trunk3.7\de.pds.application\temp\install\builds\Server-2.24.0.203758-trunk.exe
Reusing archives from cache... done.
Creating MSI database... done.
Writing Summary Information... done.
Signing MSI... Certificate: Subject[MYFIRM] Issuer[GlobalSign CodeSigning CA - G2] done.
Compressing MSI database... done.
Creating EXE file... error.
The digital signing of the EXE failed. Error Message:Certificate: Subject[MYFIRM] Issuer[GlobalSign CodeSigning CA - G2]
digisign.exe error. Signing file. HRESULT: -2146762749. Error message: Das für den Antragsteller angegebene Formular wird vom angegebenen Vertrauensanbieter nicht unterstützt oder ist ihm nicht bekannt.
digisign.exe sign /sha1 ***** /t http://timestamp.verisign.com/scripts/timstamp.dll

Build finished because an error was encountered.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Signing executable bigger than 2 GB does not work!

Hello,

I've tested your scenario but I cannot replicate it.
In order to have a better view about this, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate this?

Also, can you please try to select an external tools(e.g. SignTool.exe which comes with Microsoft Windows SDK) to sign your installation package?
This can be done from menu bar -> "Options" -> "External Tools..." -> select a correct path for the utility. If "Use and external tool" option is not enabled, Advanced Installer's DigiSign.exe default tool will be used.

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

Return to “Common Problems”