Forum Discussion
Unable to sign msix package with signtool.exe error: File not Found
I am trying to sign a msix package locally with signtools.exe on cmd
I get the error
Done Additional Store
SignTool Error: File not found: file.msix
Can i please get some guidance on this.
This works fine when i sign a .exe file
Tested with \Windows Kits\10\bin\x64 and \Windows Kits\10\bin\x86
4 Replies
Anisa123 Would need to see more details on the command line, but I'd guess this:
- Signtool does not accept a path to the file containing spaces in the folder structure. Even if you use quotes.
- Anisa123Copper Contributor
TIMOTHY_MANGAN this is the command I'm running
C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe sign /fd SHA256 /f "C:\BuildFiles\Cert-2021.pfx" /p "xxxxx" "C:\BuildFiles\Design.msix"
ThanksAnisa123 The command line you provided looks correct to me, assuming the files are in place and password correct.
That the error suggested "file.msix" indicates that either you generalized the error return, the command line was not what was typed here, or that I have no clue as to what the issue is.
The feedback hub might be suggested as you can attach things to Microsoft, along with telemetry they gather, and have them take a look.