NSIS: set exit code to 0 on install/uninstall success

Closes #6129.
This commit is contained in:
Chocobo1 2017-03-31 14:49:23 +08:00
parent d2e02605e9
commit b4d474b770
2 changed files with 8 additions and 0 deletions

View File

@ -228,3 +228,7 @@ Function PageFinishRun
!insertmacro UAC_AsUser_ExecShell "" "$INSTDIR\qbittorrent.exe" "" "" ""
FunctionEnd
Function .onInstSuccess
SetErrorLevel 0
FunctionEnd

View File

@ -166,3 +166,7 @@ Function un.check_instance
notfound:
FunctionEnd
Function un.onUninstSuccess
SetErrorLevel 0
FunctionEnd