This short script installs syncthing and NSSM using chocolatey, a Windows Package Manager.
NSSM is included to enable easy creation of an autostart service for syncthing.
Using this installation method, syncthing.exe is installed into C:\ProgramData\chocolatey\bin\.