Installer fails after digital signing - Advanced Installer Community
capeesko
Posts: 4
Joined: Tue Apr 28, 2015 9:32 am

Installer fails after digital signing

Hi,

I exist in a large enterprise and digital certificate is not released to anyone to reduce abuse. To digitally sign our installers we have an in house process running "signtool.exe" using PSEXEC.
The command line is "psexec [(\**********) - dedicated server that hosts certificate] -u xxx -p yyy “C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool.exe” sign <AI installer>"

The process works and the digital signature tab appears when properties on installer is called up. I can also confirm that my company's name comes up as publisher or author at beginning of installer launch - double click on installer.

My problem is thus; The signed installer starts off okay, goes through "installing prerequisite" then onto "Configuring ???" then abruptly ends installation by jumping to "Finish" page with no errors.

Very strange. First i thought my PC was corrupted then I tried the unsigned installer and it worked.

Is there anything I need to do to fix this issue.

I'm running AI 12.5 build 66677 on Windows 7 professional

Thanks

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

Re: Installer fails after digital signing

Hello Moshud,

Welcome to our forums.

Please take a look on our "Digital Signing Single EXE error" thread which debates a similar behavior. Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
capeesko
Posts: 4
Joined: Tue Apr 28, 2015 9:32 am

Re: Installer fails after digital signing

Hi Daniel,

Thanks for pointing me in the right direction. I understand why my externally signed installer closed without warning. And I will try out what was suggested.

I have one question though would the installer .EXE certificate override the .MSI certificate hence final behaviour of the installer is to use and display the external added certificate?

Thanks

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

Re: Installer fails after digital signing

Hello Moshud,
I have one question though would the installer .EXE certificate override the .MSI certificate hence final behaviour of the installer is to use and display the external added certificate?
Yes, during installation the EXE external signature should be displayed.

All the best.
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
capeesko
Posts: 4
Joined: Tue Apr 28, 2015 9:32 am

Re: Installer fails after digital signing

Hi Daniel,

Tried out your advise; created a test certificate and used to signed my AI .EXE installer through the AI user interface. I checked and installer carried my test certificate and installer as expected. Now I signed my installer with my company certificate which was successful. Started external signed installer, installer proceeded and prompted me to confirm UAC and showed me my company's certificate, see below;
esko cert.jpg
esko cert.jpg (36.8 KiB) Viewed 4366 times
.

However, at the same point I experience the same problem after "Configuring <app name>" installer jumps to "Finish" screen.

What part of your solution did I not follow or missed. I have the installer rather big could I upload somewhere?

I await your reply.

- Moshud
capeesko
Posts: 4
Joined: Tue Apr 28, 2015 9:32 am

Re: Installer fails after digital signing

For anyone following this thread, the solution prescribed work around by Daniel worked for me when I upgraded/updated to AI v13.2 build 72932.

- Moshud
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installer fails after digital signing

Hi Moshud,

Thank you for your confirmation.

Indeed, this option is available starting with the 13.0 version of Advanced Installer.

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

Return to “Common Problems”