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: UnInstall does not delete some of the files and directories.
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
Jun 09, 2010
07:23 PM
UnInstall does not delete some of the files and directories.
Hello,
I use InstallShield 2009 IS-MSI project. When I call the Remove from the Maintenance dialog or from the Add/Remove Programs some of the directories and files remain undeleted after the uninstall process finishes. What is the reason for that and how can I fix it? I do not modify those files which are not deleted.
I appreciate your help on this one!
Thanks!
blaza76
I use InstallShield 2009 IS-MSI project. When I call the Remove from the Maintenance dialog or from the Add/Remove Programs some of the directories and files remain undeleted after the uninstall process finishes. What is the reason for that and how can I fix it? I do not modify those files which are not deleted.
I appreciate your help on this one!
Thanks!
blaza76
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 17, 2010
05:22 PM
Hi,
Please note that files that were not installed with the setup will not be removed during uninstallation. So if these files are created by your application, for example, then they will not be removed by default by the setup.
Another common cause of files being left behind during uninstall is if the shared count for the files has become off on the machine so that Windows Installer still thinks that the files are in use by a different install. To see if this is the case, you can install your setup on a clean machine. Then uninstall it immediately to see if the files were removed.
If the shared reference count does not seem to be the problem, then you may want to log the uninstallation to see if that yields any clues.
How to enable Windows Installer logging
http://support.microsoft.com/kb/223300/en-us
Note that multiple log files may be created for an InstallScript MSI setup.
-Ajay
Please note that files that were not installed with the setup will not be removed during uninstallation. So if these files are created by your application, for example, then they will not be removed by default by the setup.
Another common cause of files being left behind during uninstall is if the shared count for the files has become off on the machine so that Windows Installer still thinks that the files are in use by a different install. To see if this is the case, you can install your setup on a clean machine. Then uninstall it immediately to see if the files were removed.
If the shared reference count does not seem to be the problem, then you may want to log the uninstallation to see if that yields any clues.
How to enable Windows Installer logging
http://support.microsoft.com/kb/223300/en-us
Note that multiple log files may be created for an InstallScript MSI setup.
-Ajay
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)