There is no installer. Just download and run any version you need: WinForms (recommended) or console.
.NET 6.0 Runtime is required: https://dotnet.microsoft.com/en-us/download
If you find this app useful, stars are appreciated :)
ℹ Technical info + checksums
PressSleepKeyWF.exe, 165 KB, 16.04.2022 — VT ReportD5E3D0E654D019D21DCBDD5F7657DFE8D16C8929DF280021BFC44989C4E05520
PressSleepKeyConsole.exe, 159 KB, 16.04.2022 — VT Report8A21560DC285A71BF42DA79C8846494A23174ABF3B2995A1620FA840B80E602B
Tested on Windows 10 21H1 x64. Earlier versions are likely to be OK as well, but I did not test that.