!include "LogicLib.nsh" !macro customInstall Push $0 StrCpy $0 0 ${If} ${Errors} StrCpy $0 1 ${EndIf} ; Finish can launch the app while NSIS removes its remaining plugin directory. RMDir /r "$PLUGINSDIR\7z-out" ${If} $0 == 1 SetErrors ${Else} ClearErrors ${EndIf} Pop $0 !macroend