Generate a SHA256 hash for the installer.
Syntax WINGET hash [--file] \file [\options] [-?] Arguments: -f,--file \file The path to the file to be hashed. -m,--msix Specifies that the hash command will also create the SHA-256 SignatureSha256 for use with MSIX installers. --verbose-logs Used to override the logging setting and create a verbose log. -?, --help Get additional help on this command.
Generate a hash:
C:\> WINGET hash \demo\myapp.exe
“I think Americans should have a policy of love. That should be the foreign policy, love. Export Love” ~ Ziggy Marley
GitHub repository
WINGET - Discover, install, upgrade, remove and configure applications on Windows computers.
PowerShell: Get-FileHash - Compute the hash value for a file by using a specified hash algorithm.
MSIEXEC - Microsoft Windows Installer.
WUAUCLT - Windows Update.