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 registry problem

2 replies to this topic


  • Members
  • 16 posts

Posted 20 July 2006 - 13:40


I have one question regarding the removal of the main product registry key at Uninstall.
Or more specifically how can disable this.

Installation 1 - creates a key : HKLM/Software/Installation 1
Installation 2 - creates a key : HKLM/Software/Installation 1/Installation 2 Information

I need to do this because when i uninstall Installation 1 from Add/Remove , e.t.c. set REMOVEALL install type, the Installation 1 key is removed along with the key i've created during Installation 2, but i still need this info.

Can anyone suggest how's this to be done?

tnx in advance,


  • Members
  • 16 posts

Posted 08 August 2006 - 09:04

i'll really appreciate If someone says anything about it. i tried more than 10 different things without success.

As written in the InstallShield language reference i should disable LOGGING when i create this key. i did it , and i also disabled LOGGING when i created the parent key.
But the uninstallation process still removes my registry.

i put the code under FirstUIBefore, OnMoving ...

Anyone got any ideas what i am doing wrong???

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 08 August 2006 - 16:05

If you are crearing the entry using script (RegDB... function) then you could put Enable/Disable LOGGING around that line. If you are creating the enry using the registry view I think there's a check box to indicate that a key is shared between applications.