question

alisa22-5545 avatar image
0 Votes"
alisa22-5545 asked RoyLi-MSFT commented

SignTool Error: This file format cannot be signed because it is not recognized


"C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe" sign /fd sha256 /sha1 <HASH> "C<PATH>.msix"

We had this error previously and this was resolved by using the signtools.exe from Windows SDK 10.0.17763.0.
Using signtools.exe from version 10.0.17763.0 now results in the above error.

Tested using signtools.exe from a version newer versions 10.0.18362.0 and 10.0.19041.0 still no luck

The command works fine for other file formats. Tested with .exe
Seems to be just an issue with .msix files

Any ideas on this issue

not-supported
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am using windows-sdk-10-version-1903 in the build testing using signtool from the corresponding sdk
With signtools.exe from C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe I get the error

Done Adding Additional Store
SignTool Error: An unexpected internal error has occurred.
Error information: "Error: SignerSign() failed." (-2147024885/0x8007000b)

added the /debug option didn't get any additional information

0 Votes 0 ·

Since your issue is related to package MSIX files, you could ask about this issue in MSIX development forum


0 Votes 0 ·

0 Answers