winget install YourName.HelloNotes. This page shows how to create the files winget and Chocolatey need, and a download page for your website. All three commands read a finished setup file.
Run them on the final, signed file: they record its checksum, so any change afterwards breaks the listing. Each needs --url, the https address people download that exact file from.
winget
winget is built into current versions of Windows.winget folder next to the setup file. The package id is built from your publisher and app id, such as HelloInc.Hello. Without --license, they say Proprietary and Bach warns.
Check them and submit:
winget install HelloInc.Hello.
The manifests tell winget to install silently, to update by running the new setup file, and that Windows 10 version 1809 or newer is needed.
Update the listing automatically
If you use Bach’s release workflow,bach workflow --winget HelloInc.Hello makes it open the winget pull request after each normal release. Add a repository secret WINGET_TOKEN (a classic GitHub token with the public_repo scope). The first listing has to be submitted by hand, as above.
Chocolatey
--license takes a link or a short license name such as MIT. The version must be one NuGet accepts, such as 1.4.2 or 1.4.2-beta. See bach choco.
A download page
download folder next to the setup file. It uses no scripts, so you can upload it to any web host. Add --notes-file for a short “What’s new” list and --winget <id> to show the winget command. See bach page.