Browse Source

Merge pull request #6584 from Chocobo1/nsis

NSIS: set exit code to 0 on install/uninstall success
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
027607490a
  1. 4
      dist/windows/installer.nsi
  2. 4
      dist/windows/uninstaller.nsi

4
dist/windows/installer.nsi vendored

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

4
dist/windows/uninstaller.nsi vendored

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

Loading…
Cancel
Save