Code, to be saved in „helloworld.nsi“:
Name "Hello World" OutFile "helloworld.exe" Section "Hello World" MessageBox MB_OK "Hello World!" SectionEnd
Compile it with:
<Path to NSIS>\makensis.exe <Path to script>\helloworld.nsi