Hi Bob, This is my code. Here, I am removing features using Remove control
event on next button of ComponentType dialog. This dialog is used to make
selection from server, client or developers based installation. if User has
selected “Server based installation” in  ComponentType dialog then Feature
tree in CustomizeDlg should display only features of server rather than all.
I am not able to implement this. In my code, it is displaying all of server,
client and developer features and one of them selected others are cross
marked. but i dont want to show. i want to show only selected ones.

<Feature Id="Server" Title="Server" Level="1" Display="expand"
AllowAdvertise="no" ConfigurableDirectory="INSTALLDIR"> 
      <Feature Id="S_StreamlineServer" Title="Streamline Server"
AllowAdvertise="no" Level="1"> 
        <MergeRef Id="LexisNexis.Streamline.Component.StreamlineServer" /> 
      </Feature> 
        ……. have 3 more features here 
<Feature Id="Client" Title="Client" Level="1" Display="expand"
AllowAdvertise="no" ConfigurableDirectory="INSTALLDIR"> 
      <Feature Id="C_StreamlineClient" Title="Streamline Client"
AllowAdvertise="no" Level="1"> 
        <MergeRef Id="LexisNexis.Streamline.Component.StreamlineClient" /> 
      </Feature> 
…… have 2 more features here 
<Feature Id="Developers" Title="Developer" Level="1" Display="expand"
AllowAdvertise="no" ConfigurableDirectory="INSTALLDIR"> 
      <ComponentRef Id="UtilityComponent"/> 
      <ComponentRef Id="CommonRegistry"/> 
      <Feature Id="D_DeveloperTools " Title=" DeveloperTools"
AllowAdvertise="no" Level="1"> 
  <MergeRef Id="LexisNexis.Streamline.Component.DeveloperTools" /> 
     </Feature> 
…… have 2 more features here 
Publish Button events 
  <Publish Dialog="ComponentTypeDlg" Control="Next" Event="AddLocal"
Value="Server"><![CDATA[COMPONENT_TYPE =1]]> </Publish> 
      <Publish Dialog="ComponentTypeDlg" Control="Next" Event="AddLocal"
Value="Client"><![CDATA[COMPONENT_TYPE = 2]]> </Publish> 
      <Publish Dialog="ComponentTypeDlg" Control="Next" Event="AddLocal"
Value="Developers"><![CDATA[COMPONENT_TYPE = 3]]> </Publish> 
      <Publish Dialog="ComponentTypeDlg" Control="Next" Event="Remove"
Value="Server"><![CDATA[COMPONENT_TYPE <> 1]]> </Publish> 
      <Publish Dialog="ComponentTypeDlg" Control="Next" Event="Remove"
Value="Client"><![CDATA[COMPONENT_TYPE <> 2]]> </Publish> 
      <Publish Dialog="ComponentTypeDlg" Control="Next" Event="Remove"
Value="Developers"><![CDATA[COMPONENT_TYPE <> 3]]> </Publish> 
<Publish Dialog="ComponentTypeDlg" Control="Next" Event="NewDialog"
Value="FeatureCustomizeDlg">1</Publish> 




Bob Arnson-6 wrote:
> 
> jagdish.sakhiya wrote:
>> No Bob.. I don’t want to show features which are removed using Remove
>> control event in feature tree. Is there any way for same?
>>   
> 
> I don't understand what you're trying to accomplish. Please explain.
> 
> -- 
> sig://boB
> http://joyofsetup.com/
> 
> 
> 
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Disable-Features-in-Feature-tree-tp2180402p2263060.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to