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

how to set a condition to a merge module?


3 replies to this topic

xinjiang

xinjiang
  • Full Members
  • 30 posts

Posted 04 December 2008 - 10:46

I select a merge module to a feature, then set the condition for that feature. But this method doesn't work. Does anyone know what's wrong with my method or how to set a condition to a merge module?

Matthias1967

Matthias1967
  • Full Members
  • 92 posts

Posted 12 December 2008 - 13:12

As you described it, it is the right way to set a condition.

Are you sure that you have entered the feature condition correctly? If a feature condition is true, it changes the install level of the feature rather than determining that the feature has to be installed.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 12 December 2008 - 13:42

An if the condition uses a property, that property must be set before CostFinalize, because feature conditions are evaluated during CostFInalize.

xinjiang

xinjiang
  • Full Members
  • 30 posts

Posted 15 December 2008 - 10:32

Thanks All, the mistake I made is just like Stefan said, now it's correct. biggrin.gif