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.

Install registry

1 reply to this topic


  • Full Members
  • 1 posts

Posted 19 November 2008 - 22:19


I have a feature and when I select that feature, I want a particular registry key to be installed and if I deselect the feature, I want the value of the same registry key to be overwritten.... How do I accomplish this task ?

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 20 November 2008 - 15:38

In the OnFirstUIAfter event, use the the function ComponentIsItemSelected to determine whether or not the specified component is selected.

Then conditionally write to the registry accordingly via the functions RegDBSetDefaultRoot and RegDBSetKeyValueEx.

user posted image