Skip to content

Commit

Permalink
Fix uninstall confirmation messagebox and revert previous change.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Mar 3, 2019
1 parent 66540dd commit d006e04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hspy_bundle/NSIS_installer_script.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,8 @@ Function UN.onInit
${EndIf}

#Verify the uninstaller - last chance to back out
MessageBox MB_OKCANCEL "Permanantly remove ${APPNAME} ${APPVERSION}?" /SD IDOK IDOK next
MessageBox MB_OKCANCEL "Permanantly remove ${APPNAME} ${APPVERSION}?" /SD IDOK IDOK next IDCANCEL cancel
cancel:
Abort
next:
FunctionEnd
Expand All @@ -374,7 +375,7 @@ Section "Uninstall"
${EndIf}
!insertmacro __DELETE_MACRO_NAME__ $INSTDIR
# Remove leftover python distribution directory
RMDir "${APP_INSTDIR}\${PYTHON_FOLDER}"
# RMDir "${APP_INSTDIR}\${PYTHON_FOLDER}"
DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
# Remove StartMenu entries
Delete "$SMPROGRAMS\${APPNAME}\HyperSpyUI.lnk"
Expand Down

0 comments on commit d006e04

Please sign in to comment.