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

Dynamically hiding features in the Feature Tree


1 reply to this topic

p13

p13
  • Full Members
  • 15 posts

Posted 11 October 2007 - 16:27

I'm trying to dynamically display features in the feature tree dialog depending on an install key entered into a dialog.

I know feature conditions are evaluated during the CostFinalize action but in my Macrovision training book it says an "advanced technique" would be "to postpone the CostFinalize action for a first-time installation by using the condition "Installed", along with a custom action that later runs CostFinalize with the MsiDo Action API."

Has anyone tried this? Can you still use the back buttons and allow the user to re-enter their key and dynamically show the tree again?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 15 October 2007 - 07:14

I believe that CostFinalize should be called only once. I don't know what effects it might have calling it multiple times.