Option to delete script dependency files after task has completed
How can I remove scripting dependency files once the task has completed?
As an example I have created a script with 2 dependencies; a Mac .dmg installer file and a .sh script. The script basically converts the .dmg file into a .cdr file (I am doing this to bypass License Agreement so the install is completely silent) and then it copies the .app file to the Applications folder.
This is working fine but I can't figure out how to tell the script wizard to remove the dependency files when it is finished. The "Distribution" section of KACE has a tick box for removing files on job completion but the script section doesn't have this option.
Is there an existing way to do this or if not can the option to remove these files from the user machine be included in the same way as it is for the Distribution feature?
