Loading
Set/Remove required features with Installscript
Hi:

 

How do I add/remove required features for a given feature with Installscript?

 

I spent sometime browsing through the help and google and cannot seem to figure it out.

 

Thank you in advance.

 

cheers,

  • Community Manager (Flexera Software)

    I don't think there's a straightforward way. Common practice seems to be to create at design time an invisible feature that requires your feature, and at run time programmatically select and deselect the invisible feature with FeatureSelectItem based on whatever condition you want to test.

Loading
Set/Remove required features with Installscript