updated for NSIS 3.0a