I have built a setup project (vdproj from Visual Studio 2010) for a product. When uninstalling on my test machine, it does not remove everything it should. Specifically, it doesn't delete some registry entries it created in the installation.
A similar project DOES the cleanup; I compared the projects and found no error, so I assume that windows installer believes to have a good reason for this. I need to make him forget the reason, so that I get a clean test base for my product without reinstalling windows.
So I tried a manual cleanup: - uninstall -> registry entries are not deleted - regedit -> cleanup manually - install -> registry entries are created by my MSI - uninstall -> registry entries still not deleted.
I think there is a (probably obsolete) reference somewhere in the installer database that says: the component that contains these entries is still used by this feature, so you cannot delete them. Perhaps I have duplicate component keys, because I copied a setup project, so that I get this confusion.
I think I might be able to find the component and feature ID to which my registry keys belong, but how can I fix this in the installer database? Where Do I have to look? Are there any tools that could help me? It's Windows 7 Ultimate.