jusvu
Posts: 17
Joined: Tue Nov 02, 2021 9:28 am

Signing does not work after installing KB5074109

Hi! I have been using Advanced Installer for years and it has been working great. Now, when I received the Windows Update KB5074109, signtool stopped working. If I uninstall the update, it works OK, but since my PC is company IT controlled it keeps pushing the same update again and again. Have you seen this kind of problem? Any advice what I might try?

Here's the error I see:

Code: Select all

Severity Code Description Project File Line Suppression State Error AiCommandLineException: Invalid process execution "C:\Program Files (x86)\Caphyon\Advanced Installer 23.5.1\bin\x86\AdvancedInstaller.com" - Aip File "C:\MyApp\MyAppSetup\MyAppSetup.aip" Arguments/Commands "build -buildslist DefaultBuild -drop_content" Return code "-536805276", Message "build -buildslist DefaultBuild -drop_content Checking builds status Build required.

[ DefaultBuild ] 
Building package: C:\MyApp\MyAppSetup\MyAppSetup.exe

Prepare build 
Preparing files 
The digital signing of the APPDIR\MyApp\[|AI_PROPPATH_FILENAME_PERBUILD_MyApp.exe] file failed. Error message: 'Done Adding Additional Store
Error information: "Error: SignerSign() failed." (-2146959355/0x80080005)
SignTool Error: An unexpected internal error has occurred.

For a possible solution please check our Digital Signature FAQ from:
https://www.advancedinstaller.com/user-guide/faq-digital-signature.html  ' 
 
Build finished because an error was encountered.
"
   at Caphyon.AdvInstExtUtils.AdvInst.ExecuteAic(String aAipFilePath, List`1 aCommands)
   at Caphyon.AdvInstExtUtils.AdvInst.UpdateAndBuild(IEnumerable`1 projectsOutputs, String aAipFilePath, String configuration, String aOutputDir, String aPackageName, Boolean aRebuild)
   at Caphyon.AdvInstExtUtils.AdvInst.Execute()	MyAppSetup	MyAppSetup.aip	0	
Thanks in advance
Last edited by jusvu on Thu Mar 12, 2026 1:02 pm, edited 1 time in total.
jusvu
Posts: 17
Joined: Tue Nov 02, 2021 9:28 am

Re: Signing does not work after installing KB5074109

...forgot to say that if I call Signtool from command prompt, it works OK.

Here's the command I use (which works OK):

Code: Select all

"C:\Program Files (x86)\Caphyon\Advanced Installer 23.5.1\third-party\winsdk\x64\signtool.exe" sign /debug /fd SHA256 /sha1 <my_cert_thumbprint_here> MyApp.exe
jusvu
Posts: 17
Joined: Tue Nov 02, 2021 9:28 am

Re: Signing does not work after installing KB5074109

More information on this: I tried to run the sign command in command prompt and it works:

Code: Select all

"C:\Program Files (x86)\Caphyon\Advanced Installer 23.5.1\bin\x86\AdvancedInstaller.com" /build "D:\GitLab\MyApp\MyAppSetup\MyAppSetup.aip" -buildslist DefaultBuild -drop_content
I suspect the problem is with Advanced Installer Visual Studio extension. I tried to uninstall/install the VS extension, but it didn't help.

Could you check what those error codes mean? I couldn't find any information about them.
jusvu
Posts: 17
Joined: Tue Nov 02, 2021 9:28 am

Re: Signing does not work after installing KB5074109

I updated to Visual Studio 2026 -> installed the new Advanced Installer VS extension 2026 and signing works now OK !
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: Signing does not work after installing KB5074109

Hello,

Apologies for the quite delayed reply on this.

Thank you for your followup!

I am glad to hear everything is working as expected now.

Let us know if you encounter any other problems and we will gladly assist.

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

Return to “Common Problems”