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.

remove installed registry

2 replies to this topic


  • Members
  • 1 posts

Posted 12 October 2004 - 09:08

hi guys!
There is a problem with the IS registry set functionality in that if
you specify to write a value under an existing key, at uninstall time
not just the value will be removed, but the KEY AND ALL ITS SUBKEYS
will also be removed.
Any suggestion?

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 12 October 2004 - 18:35

Call Disbale(LOGGING) before you create the key


  • Full Members
  • 407 posts

Posted 13 October 2004 - 11:20

or check for an existing key and use RegDBSetKeyValueEx(...); instead of using CreateRegistrySet("");
you could create a backup key/tree before writing your own values and put this back when uninstalling ... you can use a special dll with functions UninstInitialize() and UninstUnInitialize(), see http://www.installsi...f.htm#dlltester for testing this functionality.

Gruß / regards