1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 14:27:56 +00:00

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" "" "" "" !insertmacro UAC_AsUser_ExecShell "" "$INSTDIR\qbittorrent.exe" "" "" ""
FunctionEnd FunctionEnd
Function .onInstSuccess
SetErrorLevel 0
FunctionEnd

View File

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