My software comes with a HTML Help file (.chm). This file, together with my binaries, are included in my Wix Setup. The problem is that whenever the .chm file is opened a .chw file (HTML Help Index) is generated in the same directory. Then, when I uninstall my software this newly generated .chw file prevents the uninstaller to remove the installation folder.
How do I tell Wix to remove the folder even though this file has been created? I guess it's a bad idea to explicitly remove the folder since you don't know where the user chose to install the software.
What's the best Wix approach when facing auto-generated temporary files like this one?