The issue was the metadata.json location was incorrect.
The error message was hilariously unhelpful.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Recently we've rebuilt a Azure VM we use to build installers with Inno Setup with signing. All our installer generation processed worked a few days ago.
Now we are getting an error a file doesn't exist even though it clearly exists. We are thinking this is a type of access or permissions issue?
Here is the command we are using:
C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64>signtool sign /debug /fd SHA256 /tr "http://timestamp.acs.microsoft.com" /td SHA256 /dlib "C:\Installs\Agent\Extras\tsc-dll\Azure.CodeSigning.Dlib.dll" /dmdf "C:\Installs\Agent\Extras\metadata.json" "C:\Installs\Working\DataAgent.exe
Error:
SignTool Error: File not found: C:\Installs\Working\DataAgent.exe
Here is a screenshot of the error:
*** Moved from Windows / Other/Unknown / Other Windows apps ***
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.
The issue was the metadata.json location was incorrect.
The error message was hilariously unhelpful.
Hello,
Thank you for posting in Microsoft Support Community. Based on the description, I understand your question is related to Sign Tool.
Since Sign Tool is not currently supported in the Microsoft Support Community, it is recommended to repost your question in Microsoft Q&A.
https://learn.microsoft.com/en-us/answers/questions/
Thank you for your understanding and support. If you have any question or concern, please feel free to let us know.