It looks like the uninstall script can sometimes leave an empty www/exec folder behind. It looks like there might still be a process running or something like that that prevents deletion - or maybe the sc stop apache2.4 returns before it is complete. Also, the xampp uninstall returns well before the uninstallation is complete. There may need to be some sleep commands or checks at the end of the run to make sure uninstallation is truly complete before reporting it to the user.
It looks like the uninstall script can sometimes leave an empty www/exec folder behind. It looks like there might still be a process running or something like that that prevents deletion - or maybe the sc stop apache2.4 returns before it is complete. Also, the xampp uninstall returns well before the uninstallation is complete. There may need to be some sleep commands or checks at the end of the run to make sure uninstallation is truly complete before reporting it to the user.