-Francis
On 6/13/06, Derek Cicerone <[EMAIL PROTECTED]> wrote:
Tweaking feature states via a custom action is a little heavy and pretty
dangerous in terms of getting all the behavior exactly right. If you have
two components that can never be installed at the same time, you could also
consider giving them conditions such that they never get installed
simultaneously.
Derek
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Nicholas
Muguira
Sent: Tuesday, June 13, 2006 6:20 AM
To: Joannic Laborde
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] FW: 2 exlusive features
Bah, just re-read your original message. Yes, you'll need a custom action to
control this. If you are using the feature tree, you will want MSI 3.0+ I
believe so that you'll have access to the extra events for the feature tree
in those versions.
On 6/13/06, Joannic Laborde <[EMAIL PROTECTED]> wrote:
> It is not possible; you'll have to use a custom action to unselect a
> feature when the other is selected (using
> MsiSelectionTreeSelectedAction and MsiSelectionTreeSelectedFeature).
> Unfortunately, the SelectionTree doesn't refresh itself when a feature
> state is modified in a custom action, so you will also need another
> identical dialog to reload when a feature state is changed.
>
> Another way would be to simply check if both features are selected,
> and disable the Next button (or display a warning).
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] ] On Behalf Of Yves @
> Hanoulle
> Sent: June 13, 2006 9:00 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] FW: 2 exlusive features
>
>
> Thank you, but I think I have not expressed myself good enough.
> I have already one what you describe.
> I also want the user not to be able to select option 1 at the same
> time as option 2
>
> Met vriendelijke groeten,
> Yves Hanoulle, Project-Coach
> http://www.paircoaching.be/blogs
> www.hanoulle.be 0476 43 38 32
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto: [EMAIL PROTECTED]] On Behalf Of Nicholas
> Muguira
> Sent: Tuesday, June 13, 2006 2:36 PM
> To: [EMAIL PROTECTED]
> Cc: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] 2 exlusive features
>
> Put the features in seperate components. Have them on the same install
> level and use the feature tree to control which features are
> installed.
>
> AFAIK there is nothing the MSI supports that WiX doesn't.
>
> On 6/13/06, Yves @ Hanoulle <[EMAIL PROTECTED]> wrote:
> > In my install file I have 2 features that are mutual exclusive. (I
> > do
> not want to have them both installed at the same time.)
> > (Yes it needs to be 1 install file.) Is there a way to do this,
> > (preferable using wixui_mondo)?
> >
> > Yves Hanoulle
> >
> >
> >
> >
> >
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users