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.

Registry Sets: Overwrite property?

1 reply to this topic


  • Members
  • 1 posts

Posted 06 May 2005 - 19:20

I use InstallShield Professional 6.31.

Why don't registry values have a "replace existing value, if found" property, similar to the start menu shortcut property "replace existing shortcut, if found"?

I want to create registry values if they don't exist. However, if the values already exist I don't want to touch them. The only way I can think to accomplish this is to disassociate the values' registry set from any file group and determine if the registry values exist using InstallScript function calls. If the values don't yet exist, I create them using CreateRegistrySet.

Does anyone have a better idea?

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 07 May 2005 - 00:45

No, I can't think of a better idea and that's one of the reason I don't really use the registry set functionality.

I therefore have my own homemade function to do exactly that and preserve existing values.
user posted image