You could make the Perl feature a child of the Java feature. It might look a little strange on the Feature selection tree, but it should work.
Rob On 04/02/2013 09:34, Tal Maoz wrote: > Hello all, > > I'm trying to add a feature dependency into an installer and I can't find > how to do this. > here is my situation: > > I have features 'Java' and 'Perl' and both appear as options in the > installer UI. Now, 'Perl' depends on 'Java' so while I want the user to be > able to choose only 'Java', if he chooses 'Perl' the installer should > automatically also select 'Java'. Also, if the user selected both and then > tries to deselect 'Java', he should get a warning that 'Perl' depends on > 'Java' and either cancel both or install both. > It doesn't have to be a message, it can also be an automatic > select/deselect action. > > Can this be done in WiX? I went over the documentation and tutorials, and > searched google but couldn't find anything. > > Any help would be greatly appreciated! > > Thanks, > > Tal. > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users