Hi,
I’ve made a PowerShell script that implements the instructions:
https://docs.geoserver.org/latest/en/developer/win-installer.html
The script clones the Geoserver repo, downloads NSIS and the required plugin, unzips, copies the required files from the git repository and compiles the installer.
p.s. The NSIS script requires the files LICENSE.txt, GPL.txt that are not present in the bin archive and needed to be copied from the git repo (The instructions missing this part).
The script handles that as well.
Feel free to use.
Kind regards,
Idan