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

Accessing Feature Attributes from Custom Action


1 reply to this topic

abc

abc
  • Members
  • 9 posts

Posted 05 June 2001 - 16:41

I have a problem:

 I need to access the level property in the Feature able after the user has selected the features to be installed.  Based on the these values i wish to make some of my dialog boxes invisible. How can I retrieve this infomation and perform this action.

Thanks for the help


Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 06 June 2001 - 00:38

Are you sure that it is the feature level that you are after, and not the feature action state?  The action state will tell you whether a particular feature is going to be installed.  To access it in script, use MsiGetFeatureState.  As a condition on dialogs/custom actions, use &FeatureName.

If the action state of the feature is greater than 2, it is going to be installed.