I created a file bundle to:
-Create directory
-Copy file to directory
-launch EXE file in directory
-Delete directory

My bundle does everything perfectly and my application installs every single time. However the directory will not delete. I'm not seeing why either. I've tried adding a 15 second delay but to no avail.

I'm guessing that once ZEN launches my application it immediately tries to delete the directory. Since windows is using a file in that directory it's impossible to delete it.

How do I sequence things so my directory gets deleted after the program installs?