Hi experts, 
I've assigned a task in which one sub feature among 4 should be displayed to
the user in the state as "This Feature Will Not be available"

For instance, I have this feature set:

    <Feature Id="Main" AllowAdvertise="no" ConfigurableDirectory="MYROOT"
Description="Required components"   Display="expand" Level="1" Title="Main
Feature" Absent="disallow">
            <ComponentRef Id ="Cmp22"/>
        
        <Feature Id="SubFeature_1" AllowAdvertise="no" Level="1"> 
        
        </Feature>
        <Feature Id="SubFeature_2" AllowAdvertise="no" Level="1"> 
        
        </Feature>
        <Feature Id="SubFeature_3" AllowAdvertise="no" Level="1"> 
                <!-- I want this feature to displayed as "This Feature Will
Not be available" -->
        </Feature>
        
    </Feature>

I've tried with different **Level** values.

Also, I used a VbScript custom action using **Session.FeatureRequestState**
method, to change it at runtime, but can't get enough results.

Can someone please guide me about this?

Thanks and Best regards

-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-How-to-set-a-Feature-State-This-Feature-Will-Not-be-available-tp5841493p5841493.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to