I sell my clients a hosting package (free sub domain) with Web Host Manager, so that they can access several saas.
I have the applications inside WHM "skel" folder. I do not give them file manager or FTP access to prevent access to scripts.
They do have access to MySQL, PHPmyAdmin and Cron
The client can set up dbs and then run the installation file by typing in their browser "client.mydomain.com/application/install"
At my leisure, I can eventually delete their install directories.

However, I have one application that requires deletion of the install directory before using the app.

Is there a way to modify the script(s) to automate deletion of a install folder inside a script after installation without file manager or FTP access?

If this is possible, pls indicate how much your help will cost me :-)