I have an application that create a Log folder if it doesn't exist and log files (per date) each time the application run. I have created a setup for the application. When uninstalling the application, the Log folder is still there with all the log files. Is there a way to remove the folder from the file system when uninstalling the application?
I succeed to add a folder that is created during the installation. In case no log files are created inside this folder, the uninstall operation remove also the Log folder. But if there are files inside, the remove operation remove the entire installation but the folder with its contents are still in the file system. Is there a way to remove those files during the uninstall operation?