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: File not getting removed after uninstallation
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
‎May 15, 2013
02:08 AM
File not getting removed after uninstallation
Hi all,
I have made an installer (Basic MSI) in IS2011. It installs successfully on the system. But when I uninstall it (using all possible methods) 1 file (its a Shared DLL) remains on the system. Surprisingly, even the SharedDLL count of that file in the registry goes off when uninstalled, but the file is still there. Also, there are no Processes that are holding it there.
When I viewed the uninstallation logs, I found that the component that has this file, is not listed in the InstallFinalize step, & is also not present in the RemoveFiles step. After a while, I just changed the Component Code GUID of that component, & everything worked fine!
What could be the reason behind this? And how did it work just by changing the GUID ?
Please help.
Thanks in advance.
I have made an installer (Basic MSI) in IS2011. It installs successfully on the system. But when I uninstall it (using all possible methods) 1 file (its a Shared DLL) remains on the system. Surprisingly, even the SharedDLL count of that file in the registry goes off when uninstalled, but the file is still there. Also, there are no Processes that are holding it there.
When I viewed the uninstallation logs, I found that the component that has this file, is not listed in the InstallFinalize step, & is also not present in the RemoveFiles step. After a while, I just changed the Component Code GUID of that component, & everything worked fine!
What could be the reason behind this? And how did it work just by changing the GUID ?
Please help.
Thanks in advance.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2013
11:06 AM
It is interstering that you mention this, I have had the same issue with a reg key getting left behind, even when you mark it as NOT perm. I have an open issue with Flexera, Well see what happens. I have even gone in and re-created the component that the reg key lives in. Any thoughts on this would be greatly appreciated.
Thanks,
Jeff W. :confused:
Thanks,
Jeff W. :confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 17, 2013
04:24 PM
Component reference count was most likely incorrect. By changing component GUID, you essentially have a clean slate. If you have not, please refer to Component Rules 101.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 20, 2013
04:28 AM
Thanks TsungH for that response. But would you elaborate more on your statement: "Component reference count was most likely incorrect". I would like to know what you meant by "incorrect".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 20, 2013
01:37 PM
The ref count does not match the number of times component is installed. Off may be a better word.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 24, 2013
12:55 AM
Thanks TsungH...