installer.nsh 314 B

1234567891011121314151617
  1. !include "LogicLib.nsh"
  2. !macro customInstall
  3. Push $0
  4. StrCpy $0 0
  5. ${If} ${Errors}
  6. StrCpy $0 1
  7. ${EndIf}
  8. ; Finish can launch the app while NSIS removes its remaining plugin directory.
  9. RMDir /r "$PLUGINSDIR\7z-out"
  10. ${If} $0 == 1
  11. SetErrors
  12. ${Else}
  13. ClearErrors
  14. ${EndIf}
  15. Pop $0
  16. !macroend