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

uninstall service eventlog registry key


1 reply to this topic

yteng

yteng
  • Members
  • 1 posts

Posted 20 May 2002 - 20:40

I am using installshield 6.22. Install service from IDE insert installshield object NT Service wizard to add two services. I also select remove service during uninstall. Uninstall remove the service but left two registry keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Service\EventLog\Application\Servicename not remove after uninstall.
Has anybody an idea to solve my problem?

Yan

:(

Blake Miller Wonder

Blake Miller Wonder
  • Members
  • 121 posts

Posted 23 May 2002 - 19:27

In your install script you can remove the registry keys and values 'manually' when the component containing the services is removed from the system using RegDBDeleteValue and RegDBDeleteKey.

Add the code to the OnMaintUIAfter() function in the case of Modify and Remvoe All or add a handler function for the setup component being removed.

These values were probably added by the services themselves and not by InstallShield, which is why Installshield does not delete them.