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
- :
- Keyfiles not removed during Uninstall
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
‎Oct 24, 2008
08:03 AM
Keyfiles not removed during Uninstall
I've noticed that any files that are marked as keyfiles of my components are not removed when the application is uninstalled.
Why is this?
Why is this?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 24, 2008
12:17 PM
Are there any shared reference counts for these files in HKLM\Software\Microsoft\Windows\CurrentVersion\SharedDlls in the registry? If there are and the counts are greater than 1 before you uninstall, this will prevent Windows Installer from removing the components that installed these files.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2008
11:25 AM
And how can I overcome this?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 01, 2008
05:46 AM
You can set the component's attribute as not shared.
As a best practice you should only set the "shared" bit when you install in common locations (as Program Files\Common Files, System32, etc).
As a best practice you should only set the "shared" bit when you install in common locations (as Program Files\Common Files, System32, etc).