The hierarchical nature of the tree enforces dependencies. Otherwise, you have 
to use custom actions. I remember doing that at a previous company and it was a 
pain.

Dave




----- Original Message -----
> From: Gary Henry <gary.he...@microfocus.com>
> To: General discussion about the WiX toolset. 
> <wix-users@lists.sourceforge.net>
> Cc: 
> Sent: Friday, February 13, 2015 3:35 PM
> Subject: Re: [WiX-users] Using a WiX Selection Tree control, when I select 
> Feature 1, I want Feature 2 to be selected automatically
> 
> Actually what I want is for all the features to be at the same level.  If I 
> set 
> it up like Jacob suggests then the first screen that I see shows the 
> following 
> with Feature 2 hidden:
> 
>     [-] All Features
>         [-] Feature 1 (requires Feature 2)
>         [x] Feature 3
> 
> I know I could expand Feature 1 the first time the screen is displayed but 
> there 
> are cases were I just want to install only Feature 2 which is why I want them 
> at 
> the same level.  In other words, Feature 2 does not depend on Feature 1.  In 
> the 
> end, I will have 20 features with some depending on others.  Each time I 
> select 
> a feature I want all the features that it requires to be automatically 
> selected 
> also.  If the features are at the same level and there is no way to 
> automatically select Feature 2 if Feature 1 is selected then I will either 
> have 
> to use the method you suggest or create a custom dialog with checkboxes to do 
> what I want.  Let me know if you or anyone has any other ideas.
> 
> 
> -----Original Message-----
> From: David Connet [mailto:d...@agilityrecordbook.com] 
> Sent: Friday, February 13, 2015 3:14 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] Using a WiX Selection Tree control, when I select 
> Feature 1, I want Feature 2 to be selected automatically
> 
> ----- Original Message -----
> 
>>  From: "Hoover, Jacob" <jacob.hoo...@greenheck.com>
>>  To: General discussion about the WiX toolset. 
>>  <wix-users@lists.sourceforge.net>
>>  Cc: 
>>  Sent: Friday, February 13, 2015 3:04 PM
>>  Subject: Re: [WiX-users] Using a WiX Selection Tree control, when I 
>>  select Feature 1, I want Feature 2 to be selected automatically
>> 
>>  Shouldn't it be
>> 
>>      [-] All Features
>>          [x] Feature 1 (requires Feature 2)
>>              [x] Feature 2
>>          [x] Feature 3
> 
> 
> Think you meant:
> 
>   [-] All Features
> 
>       [x] Feature 2
>           [x] Feature 1 (requires Feature 2)
>       [x] Feature 3
> 
> 
> Dave
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website, 
> sponsored 
> by Intel and developed in partnership with Slashdot Media, is your hub for 
> all 
> things parallel software development, from weekly thought leadership blogs to 
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> This message has been scanned for malware by Websense. www.websense.com
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to