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

Rgeistry keys gets deleted


1 reply to this topic

mabr

mabr
  • Members
  • 3 posts

Posted 16 September 2003 - 15:18

I'm having some problems with registry keys getting deleted during uninstall .
I was under the impression that disable logging would take care of the problem.
But the registry keys get deleted anyway, even sub keys that are added manually after the installation.

I'm adding the keys in script, see code below.

Does anyone have an idea what going in?

CODE

RegDBSetDefaultRoot (HKEY_LOCAL_MACHINE);        

szKey = "Software\\Company Name\Product Name\\Settings";  
if RegDBKeyExist (szKey) != 1 then
 Disable(LOGGING);
 RegDBCreateKeyEx ( szKey , "" );
 Enable(LOGGING);
endif;        

Edited by mabr, 16 September 2003 - 15:20.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 September 2003 - 18:58

You need to make the parent key "shared" in the resources pane