Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Uninstalling service leaves behind reg keys


3 replies to this topic

Oogle

Oogle
  • Members
  • 11 posts

Posted 18 September 2003 - 21:30

When I uninstall services, keys get left behind under...

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_<servicename>

How can I easily remove these keys?

Also, I've googled quite a bit for this issue and sites have said that this key has weird permissions set that would prevent somebody from easily deleting these. Would Windows Installer have a problem removing these?

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 19 September 2003 - 08:53

From my experience, Windows installer never removes these.

Maybe someone else can provided some extra information?

Oogle

Oogle
  • Members
  • 11 posts

Posted 22 September 2003 - 16:51

Would Windows Installer have enough permissions to remove these keys? I'm thinking about using custom actions through a dll or using the Registry table.

Edited by Oogle, 22 September 2003 - 16:54.


Oogle

Oogle
  • Members
  • 11 posts

Posted 22 September 2003 - 17:50

Well, I guess the best way to know is to try it out yourself. And it looks like using the Registry table to "remove keys on uninstall" works. Just make sure to associate that removal with the appropriate component. Hope this info helps out others with this problem.

Edited by Oogle, 22 September 2003 - 17:52.