Mercurial > mxe-octave
comparison tools/makeinst-script.sh.in @ 4725:12bfaba26c8d
* tools/makeinst-script.sh.in: clear erros before doing RMDir INSTDIR
author | John Donoghue |
---|---|
date | Mon, 04 Jun 2018 13:54:03 -0400 |
parents | 213da5688be0 |
children | e839056b9a65 |
comparison
equal
deleted
inserted
replaced
4724:3f65a9fa9ad0 | 4725:12bfaba26c8d |
---|---|
473 done | 473 done |
474 | 474 |
475 # last bit of the uninstaller | 475 # last bit of the uninstaller |
476 cat >> $OUTFILE << EOF | 476 cat >> $OUTFILE << EOF |
477 Delete "\$INSTDIR\\*.*" | 477 Delete "\$INSTDIR\\*.*" |
478 ClearErrors | |
478 RmDir "\$INSTDIR" | 479 RmDir "\$INSTDIR" |
479 | 480 |
480 ; didnt remove directory ? most likely from not all files removed | 481 ; didnt remove directory ? most likely from not all files removed |
481 IfErrors 0 uninstall_done | 482 IfErrors 0 uninstall_done |
482 MessageBox MB_YESNO "One or more folders were not uninstalled because they contain extra files. Try to delete them?" /SD IDYES IDNO uninstall_done | 483 MessageBox MB_YESNO "One or more folders were not uninstalled because they contain extra files. Try to delete them?" /SD IDYES IDNO uninstall_done |