IS2021 R2 still creates a web.config file in IIS10 but does not remove it?
When a Basic MSI installer built using IS2010 that creates and configures a virtual directory in IIS is executed, it seems to create a web.config file in that directory, on Windows OSes with IIS 10 (Windows 10). This web.config file contains some settings for that virtual directory, such as access permissions, the default document, etc. However, during uninstallation, the web.config file is not deleted and gets left behind.
Why does InstallShield leave behind a web.config file that it originally created on its own? Has anyone else noticed this? Is there a simple way to avoid this situation, other than through brute force means like forcing a deletion by adding an entry to the RemoveFile table or adding a dummy web.config file to the installer?