how can I delete a folder and its contents?
Posted: Thu Aug 29, 2013 4:19 am
As part of uninstall, I want to remove a folder and its content, that was created by the running application.
I have managed to delete a folder which only has one file (the log) with:
The other folders have too much content to remove in this way. I simply want to remove a folder and all of its contents (like 'delete' in Windows Explorer).
I have tried the following, without any success:
What do I need to do?
BTW, this code is in
Regards, John
I have managed to delete a folder which only has one file (the log) with:
Code: Select all
Delete Files $MYPROFILES$\Romonet\$TITLE$\logging\romonet.log (when uninstalling)
The other folders have too much content to remove in this way. I simply want to remove a folder and all of its contents (like 'delete' in Windows Explorer).
I have tried the following, without any success:
Code: Select all
Recursively Delete Files $INSTALLDIR$\configuration
What do I need to do?
BTW, this code is in
Code: Select all
[DEFINE REGION: Perform Uninstallation]
Regards, John