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.


2 replies to this topic

Donald Bristol

Donald Bristol
  • Members
  • 35 posts

Posted 27 August 2001 - 19:12

with my installation, depending on the product code the end user enters, some features are suppose to be enabled or disabled.  I would like to hide the features on the custom setup dialog that are supposed to be disabled.  I tried using MsiSetFeatureState and MsiSetFeatureAttributes but, I was unsuccessful.

Is this possible?  


  • Members
  • 5 posts

Posted 31 August 2001 - 07:50

I use this way:

In Feature's condition property add an item in which Level is set to 0 and Condition set XXProperty = "No".
Then in your CA set the property XXProperty. While it is set to "No", the Feature will be invisible.
Note, the CA should be executed before CostFinalize.

Hope this can help you.