Add nsis-mode (closes #888)