# HG changeset patch # User John D # Date 1433208304 14400 # Node ID 125325a2a2c451da237fa33b39d532f6d2d4a8a8 # Parent f96ff976ede71d525741e6d7ed71701e28817395 nsis-installer: delete remaining files in reboot * makeinst-script.mk: on errors removing files, prompt to delete files on reboot. diff -r f96ff976ede7 -r 125325a2a2c4 makeinst-script.sh --- a/makeinst-script.sh Thu May 28 21:51:36 2015 -0400 +++ b/makeinst-script.sh Mon Jun 01 21:25:04 2015 -0400 @@ -379,8 +379,12 @@ ; didnt remove directory ? most likely from not all files removed IfErrors 0 uninstall_done - MessageBox MB_YESNO "One or more folders were not deleted because they contain extra files. Try to delete them?" IDNO uninstall_done + MessageBox MB_YESNO "One or more folders were not uninstalled because they contain extra files. Try to delete them?" IDNO uninstall_done RMDir /r "\$INSTDIR" + + IfErrors 0 uninstall_done + MessageBox MB_YESNO "One of more files were still not uninstalled. Do you want to delete them on the next reboot?" IDNO uninstall_done + RMDir /r /REBOOTOK "\$INSTDIR" uninstall_done: SectionEnd