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

feature selection


1 reply to this topic

YaI

YaI
  • Full Members
  • 13 posts

Posted 21 February 2007 - 12:01

I have a dialog where the user selects features to be installed using a checkbox. The custom setup dialog should now show the features if the checkbox' is selected. It shouldn't show the feature if the checkbox is deselected.

Can I access the value of a checkbox in the feature condition builder? I have associated a property to this checkbox too. But the property doesn't change depending on the status of checkbox. I would like to set a condition to level 0 in feature condition builder either using the property or with CheckBox1.Value field.

How do I do this?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 February 2007 - 15:00

Feature conditions are evaluated during the CostFinalize action, before your dialogs are displayed. There's no way to dynamically hide a feature in the feature tree dialog. You could de-select it so that it's shown with a red x, but users could still select it.