Merge pull request #6584 from Chocobo1/nsis

NSIS: set exit code to 0 on install/uninstall success
This commit is contained in:
sledgehammer999
2017-04-04 01:09:29 +03:00
committed by GitHub
2 changed files with 47 additions and 39 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