added support for NSIS by Jan T. Sott