redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Windows 10 - KB 3118401 - signtool.exe error

Mon Mar 02, 2020 11:27 am

After latest Windows 10 1909, common update 2020-2 I have error on signing project.

Error description:
ERROR: Digital signature. KB 3118401 is not installed. Selected "signtool.exe" requires the Windows update known as "Update for Universal C Runtime in Windows, KB 3118401".

If I check web site:
https://support.microsoft.com/sl-si/hel ... in-windows

There is no appropriate update for Windows 10 neither for Advanced Installer (16.8).

So how could I resolve this problem? Is this somehow bug on the newest Windows OS update or problem with AI 16.8?

Signing tool is working normally - checked via "kSign" tool which I'm using for other projects.

Thank you for support.
Attachments
signtool_windows.png
signtool_windows.png (8.44KiB)Viewed 14655 times
signtool_error.png
signtool_error.png (13.91KiB)Viewed 14655 times
signtool.png
signtool.png (83.36KiB)Viewed 14655 times

redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Re: Windows 10 - KB 3118401 - signtool.exe error

Mon Mar 02, 2020 11:28 am

No updates on Windows - all up-to-date..
Attachments
signtool_windows_no_update.png
signtool_windows_no_update.png (24.43KiB)Viewed 14660 times

redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Re: Windows 10 - KB 3118401 - signtool.exe error

Mon Mar 02, 2020 12:33 pm

Tried also to install latest Windows 10 SDK, but error is still there.

https://developer.microsoft.com/en-us/w ... ws-10-sdk/

Changed from:
C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe

To:
C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe

redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Re: Windows 10 - KB 3118401 - signtool.exe error

Mon Mar 02, 2020 1:22 pm

I also tried to install VS 2019 and same story.

Then I tried to install also "The latest supported Visual C++ downloads", based on "https://github.com/microsoft/vscode-mss ... equirement" but that also did not fix the problem..
https://support.microsoft.com/en-us/hel ... -downloads

So, now I'm thinking that problem is in Advanced Installer 16.8 and latest Windows 10 update..

Any solution?
Attachments
visual_studio_2019.png
visual_studio_2019.png (93.83KiB)Viewed 14653 times

redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Re: Windows 10 - KB 3118401 - signtool.exe error

Mon Mar 02, 2020 3:08 pm

PS. This "KB 3118401" is not for Windows 10, so there should be some other KB to replace this.. Can not install this KB because it's for Windows 2012 R2 or Windows 8.1 and not for Windows 10.

I also send project to your support mail. Please help..

Any solution?

redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Re: Windows 10 - KB 3118401 - signtool.exe error

Mon Mar 02, 2020 5:18 pm

Obviously after last Windows update Advanced Installer detect Windows OS version incorrectly and because of that signing is not correctly done - want to have installed "KB 3118401" which is not needed in Windows 10 at all and do not even exist for Windows 10 OS.

So, is there any hotfix from Advanced Installer...??

sharning
Posts: 1
Joined: Mon Mar 02, 2020 12:07 pm

Re: Windows 10 - KB 3118401 - signtool.exe error

Mon Mar 02, 2020 11:37 pm

Hi All, after playing around
I was able to make a workaround by using the windows 10 dev kit signtool

First Install windows 10 dev Kit

Then under Tools in Advanced Installer:

point to

C:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe
The signtool.exe I used that works is version 10.0.18362.1 date modified 18 March 2019

I am running windows 10 X64 with latest updates and signing x86 code.

I am sure a "hotfix" will be needed.

redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Re: Windows 10 - KB 3118401 - signtool.exe error

Tue Mar 03, 2020 8:00 am

Can you give me link to the latest Windows 10 Dev Kit...

Because I probably install latest dev kit and I do not find path as you provided:
C:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe

I tried to copy singtool.exe to path as you provided, but the error is the same as before..

Can you provide me signtool.exe which you used..

redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Re: Windows 10 - KB 3118401 - signtool.exe error

Tue Mar 03, 2020 8:27 am

I tried every signtool.exe which I found and all provide me the same "KB 3118401" error...
Attachments
signtool_path.png
signtool_path.png (315.21KiB)Viewed 14609 times

h.hasenack
Posts: 15
Joined: Wed Aug 26, 2015 1:28 pm

Re: Windows 10 - KB 3118401 - signtool.exe error

Tue Mar 03, 2020 9:20 am

Same problem here, its driving me nuts.

=================
Checking builds status
Build required.

[ DefaultBuild ]
Remove output folder (ignore failure)
Create output folder
Add readme.txt
Add Smallworld Plugin Help.pdf
Add Network installation.doc
Add icon
Add Smallworld Exporter Installationshinweise.pdf
Add NexusDB_Win64.zip
Add NexusDB_Win64.zip
Add NexusDB ODBC Driver installation file
Add LCC-ANT muliple language manuals (pdf)
Add LCC-AMQM multiple language manuals (pdf)
Creating MSI database (nl)
Writing Summary Information
Creating MSI database (en)
Writing Summary Information
Creating MSI database (de)
Writing Summary Information
Building package:
S:\Sources\InstallScripts\LCCAMQM37WIN64\Setup_LCCAMQM37WIN64.exe
Prepare build
Detecting MSI incompatible resources
ERROR: Digital signature. KB 3118401 is not installed. Selected "signtool.exe" requires the Windows update known as "Update for Universal C Runtime in Windows, KB 3118401".

Build finished because an error was encountered.
----------------------------
Kind regards,

Hans Hasenack
S&G Asset Management
Netherlands

h.hasenack
Posts: 15
Joined: Wed Aug 26, 2015 1:28 pm

Re: Windows 10 - KB 3118401 - signtool.exe error

Tue Mar 03, 2020 9:23 am

Yes same over here:

Checking builds status
Build required.

[ DefaultBuild ]
Remove output folder (ignore failure)
Create output folder
Add readme.txt
Add Smallworld Plugin Help.pdf
Add Network installation.doc
Add icon
Add Smallworld Exporter Installationshinweise.pdf
Add NexusDB_Win64.zip
Add NexusDB_Win64.zip
Add NexusDB ODBC Driver installation file
Add LCC-ANT muliple language manuals (pdf)
Add LCC-AMQM multiple language manuals (pdf)
Creating MSI database (nl)
Writing Summary Information
Creating MSI database (en)
Writing Summary Information
Creating MSI database (de)
Writing Summary Information
Building package:
S:\Sources\InstallScripts\LCCAMQM37WIN64\Setup_LCCAMQM37WIN64.exe
Prepare build
Detecting MSI incompatible resources
ERROR: Digital signature. KB 3118401 is not installed. Selected "signtool.exe" requires the Windows update known as "Update for Universal C Runtime in Windows, KB 3118401".

Build finished because an error was encountered.
----------------------------
Kind regards,

Hans Hasenack
S&G Asset Management
Netherlands

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

Re: Windows 10 - KB 3118401 - signtool.exe error

Tue Mar 03, 2020 10:43 am

Hi,

After further investigating on this it seems the behavior is caused by a recent issue Microsoft introduced with their latest system update: February 27, 2020—KB4535996. After this Windows system update it seems SignTool.exe no longer works.

We reported this issue to Microsoft and will be waiting for a fix.

Until Microsoft fixes this bug the only workaround we found so far is to manually rollback/uninstall KB4535996 system update.

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

redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Re: Windows 10 - KB 3118401 - signtool.exe error

Tue Mar 03, 2020 1:58 pm

So, is there any info how much time this will take?

Because program like "kSign" is working normaly. But be honest, they included signtool.exe into their instalation to avoid such kind problems.. Maybe also Advanced Installer should do that..

redzion
Posts: 58
Joined: Sun Sep 07, 2014 3:38 pm
Contact:  Website Facebook Skype Twitter YouTube

Re: Windows 10 - KB 3118401 - signtool.exe error

Tue Mar 03, 2020 6:20 pm

Also, you should aware that our work is completly blocked - windows reverse update is not optional - to many things can go wrong..

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

Re: Windows 10 - KB 3118401 - signtool.exe error

Wed Mar 04, 2020 10:10 am

Hi,

Just tested and I can confirm there is a workaround solution. Have a look on "Re: SignTool.exe gets broken after February 27, 2020—KB4535996 Windows Update".

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

Return to “Common Problems”