Nullsoft Scriptable Install System (NSIS) is a free, open source software that allows you to easily create installers. Creating an installer involves writing a script file (with an '.nsi' extension) and then compiling the script using the NSIS compiler, which will generate an '.exe'.
See the NSIS homepage.
See NSIS User Manual.