# HG changeset patch # User John D # Date 1432863933 14400 # Node ID 14ad478dc07b82d25a3a889b46dd19e68f12c8a7 # Parent 30391f9f46e812ae2f4cb95b84dcf017b4f381a1 Installer: prompt to unstill additional files (Bug #45188) * makeinst-script.sh: prompt on failure to selete INSTDIR and try delete all. diff -r 30391f9f46e8 -r 14ad478dc07b makeinst-script.sh --- a/makeinst-script.sh Wed May 27 19:12:43 2015 -0400 +++ b/makeinst-script.sh Thu May 28 21:45:33 2015 -0400 @@ -376,6 +376,13 @@ cat >> $OUTFILE << EOF Delete "\$INSTDIR\\*.*" RmDir "\$INSTDIR" + + ; 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 + RMDir /r "\$INSTDIR" +uninstall_done: + SectionEnd ; Function to detect Windows version and abort if Octave is unsupported in the current platform