This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: IS2010 creates web.config file in IIS7 but does not remove it?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2009
12:45 AM
IS2010 creates web.config file in IIS7 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 7.0 or IIS 7.5 (i.e. Windows Vista, Windows Server 2008, Windows 7, etc.). 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?
Thank you.
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?
Thank you.
(2) Replies
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2012
02:44 PM
I realize this thread is 3 years old, but I've noticed that this happens with InstallShield 2012 Spring. No one seem to have an answer to why it does it, or how to get the file to uninstall.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 14, 2022
08:54 AM
Bump, this is still occurring in IS 2021 R2.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)