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?
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.
how to set a condition to a merge module?
Started by
xinjiang
, Dec 04 2008 10:46
3 replies to this topic
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.
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.
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.
Stefan Krüger
InstallSite.org twitter facebook
Posted 15 December 2008 - 10:32
Thanks All, the mistake I made is just like Stefan said, now it's correct.