FlareDesign
Posts: 12
Joined: Mon Jul 23, 2012 7:03 pm

Hangs when signing on Windows 7

Advanced Installer Version 9.8 is hanging for me when it tries to sign an .exe

It prompts for the password then just hangs and becomes totally unresponsive.

Here's the only output I see....

Code: Select all

Checking builds status... done.
Build required.
[ DefaultBuild ]
Building package (en_GB): C:\XXX\Installer\Setup Files\Main.exe 
Preparing files... 
and that's it.

I have just obtained a new certificate but have tried both the .p12 and .pfx files (which I'm aware are the same under the hood) and I'm also sure the password is correct.
FlareDesign
Posts: 12
Joined: Mon Jul 23, 2012 7:03 pm

Re: Hangs when signing on Windows 7

Tech support, can you please respond, even if just tell me where to look to see what's going on. Log files anywhere?

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

Re: Hangs when signing on Windows 7

Hello,

I'm not sure why this happens. Can you please try to manually sign the related EXE file using "Signtool.exe" and see if it is successfully signed?

Also, in Advanced Installer please go to "File menu -> Options -> External Tools" and make sure the "Use an external tool" option is checked and a valid Signtool.exe path is filled in.

If this is of no help to you, please send us your .aip (project file) to support at advancedinstaller dot com so we can test and investigate its settings.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FlareDesign
Posts: 12
Joined: Mon Jul 23, 2012 7:03 pm

Re: Hangs when signing on Windows 7

Thanks Daniel, I will try that
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: Hangs when signing on Windows 7

We have had trouble with the internal AI sign tool taking an extremely long time to complete. We obtained an external version of SignTool.exe and changed the external tools setting to point to it instead.
FlareDesign
Posts: 12
Joined: Mon Jul 23, 2012 7:03 pm

Re: Hangs when signing on Windows 7

Thanks guys, changing to an external SignTool.exe worked. There must have been something about the new certificate that the internal sign tool didn't like.

Anyhow fixed now by changing to an external SignTool.exe as per your suggestion.

Thanks again!
grire974
Posts: 1
Joined: Fri Aug 17, 2018 4:29 am

Re: Hangs when signing on Windows 7

Update: on windows 10 - there was a Windows alert dialogue asking me for permission to access a crypto key; it didn't gain focus, i eventually noticed the dialogue flashing in the task bar.. Allowed permisison & then everything was fine after that.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Hangs when signing on Windows 7

Hello,

Thank you for sharing your feedback with us. Certainly this will be useful to other users too.

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

Return to “Common Problems”