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 Level Condtioning


1 reply to this topic

mh8368

mh8368
  • Members
  • 13 posts

Posted 12 January 2005 - 19:54

InstallScript MSI --

All,

I am setting a condition at the feature level and I want to be able to set the variable in the condition via Install Script some time before the files get moved. The problem is it appears that the Feature Level condition appears to evaluate immediately at Runtime, forcing me to use a command line or a default value of my condtions variable to set it before evaluation.

Can anyone tell me exactly when the feature condtion is evaluated?

Does anyone know how to implement script to set a variable that will later be evaluated in the feature condtion and determine whether the feature will be installed?

I can use componenet level condtioning, but I would like to use the Feature Level as each feature has several components.

Thanks,
MJH


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 January 2005 - 17:37

Feature conditions are evaluated during the CostFinalize standard action.
You can call FeatureSelectItem to (de-)select features from your script.