Added MacroWrappedFunction for NSIS