Mel
Posts: 47
Joined: Fri Jul 10, 2020 10:59 am

Cant sign files with Advanced Installer ?

I used to be able to sign my files with earlier versions. Now that I have upgraded Advanced Installer the signing is not working , I get an error:

Win32 Error [2148204800]: "No signature was present in the subject. "

I run this through Jenkins and Advanced Installer for signing is configured


This is urgent as i need to release in next day, so any help would be appreciated.

How can i sign my files without getting an error ?
Catalin
Posts: 6637
Joined: Wed Jun 13, 2018 7:49 am

Re: Cant sign files with Advanced Installer ?

Hello Mel,

Based on your description, I would say some configurations are wrong.

If possible, could you please forward me the entire build log so I can have a look over it?

Additionally, could you pelase try the following:

- build the setup unsigned

- open a command prompt and run the same command line to sign the package

Note: you should be using the same user account your Jenkins build agent is using

and let me know if that works?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Mel
Posts: 47
Joined: Fri Jul 10, 2020 10:59 am

Re: Cant sign files with Advanced Installer ?

I have tried that and still gives the same error .
Catalin
Posts: 6637
Joined: Wed Jun 13, 2018 7:49 am

Re: Cant sign files with Advanced Installer ?

Hello,

If that gives the same error, then there might be a problem with signtool or the command line you are using.

Unfortunately, I'm afraid I can not assist that much considering my expertise regarding signtool is quite limited. :(

Please let me know if there is anything I could assist you with here and I will gladly do so.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Mel
Posts: 47
Joined: Fri Jul 10, 2020 10:59 am

Re: Cant sign files with Advanced Installer ?

I really need to get this going . So are you suggesting update the signtool ?

How can i fix this ? It started when i upgraded Advanced Installer
Catalin
Posts: 6637
Joined: Wed Jun 13, 2018 7:49 am

Re: Cant sign files with Advanced Installer ?

Hello,

Please accept my apologies for the delayed reply - we had some days off here due to Orthodox Easter.

What I'm saying is that the signtool is at fault here.

Advanced Installer uses it to sign your files.

If you manually use signtool (outside of Advanced Installer) to sign the MSI and receive the same error, then the problem is not with Advanced Installer (as the signing process was done completely outside of Advanced Installer without any interaction).

What I would advise here is finding a SignTool which can sign your files and then use that in Advanced Installer as a "Custom" SignTool.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”