Agreed, thanks! And actually, in my contrived example, the service will get
installed regardless (if they want), but which FILES get deployed will
differ. That should be done at the Component level I think, driven off of
the properties in #1 and only if you choose the "Service That Does Database
Stuff". So my tree would then look like this:

.

└── Custom Installation

    ├── Website Feature

    └── Services

        ├── Service That Always Gets Installed

        └── Service That Does Database Stuff

And then have a dialog AFTER the feature tree to select either MSSQL or
Oracle, but only if you have chosen to include "Service That Does Database
Stuff".

Then if I have a "MssqlFilesComponentGroup", the condition would be
"(&ServiceThatDoesDatabaseStuffFeature) AND (DATABASE_FLAVOR=MSSQL)" or
something to that effect. And the same thing for the Oracle component. That
sound about right?

Thanks,

Levi


On Tue, Feb 4, 2014 at 12:11 PM, John Cooper <jocoo...@jackhenry.com> wrote:

> I would:
>
> 1) iron out how you will detect MSSQL and Oracle and set appropriate
> Property(s)
> 2) condition the Features for MSSQL and Oracle on the detect properties
> being set (and since you want only one, the conditions need to be mutually
> exclusive).  Enable the Feature (and make it visible in the tree) if set,
> and disable the feature (hide it) when unset.
> 3) condition the components of each feature in a like manner.
>
> --
> John Merryweather Cooper
> Build & Install Engineer – ESA
> Jack Henry & Associates, Inc.®
> Shawnee Mission, KS  66227
> Office:  913-341-3434 x791011
> jocoo...@jackhenry.com
> www.jackhenry.com
>
>
>
> -----Original Message-----
> From: Levi Wilson [mailto:l...@leviwilson.com]
> Sent: Tuesday, February 4, 2014 11:05 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] WiXUI_FeatureTree
>
> If I have the following feature tree:
> .
>
> └── Custom Installation
>
>     ├── Website Feature
>
>     └── Services
>
>         ├── Service That Always Gets Installed
>
>         ├── Service If You Have MSSQL (mutually exclusive of Oracle)
>
>         └── Service If You Have Oracle (mutually exclusive of MSSQL)
>
> In the "Feature Tree" dialog, you are able to individually select which
> features you would like installed.
>
> In my above fake example, I basically only want to install one of those
> services, depending on what type of database you have.
>
> What is the best way to achieve this? Would I have to have a dialog before
> this screen to have the use choose which database type they have? Is there
> an example of something similar? My Google Fu was unable to find an example
> of such a thing.
>
> Thanks in advance,
>
> Levi
>
> p.s. - sorry if this is a repost, but it's been an hour and my original
> post has not gone through yet for some reason.
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications Take advantage of
> what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> NOTICE: This electronic mail message and any files transmitted with it are
> intended
> exclusively for the individual or entity to which it is addressed. The
> message,
> together with any attachment, may contain confidential and/or privileged
> information.
> Any unauthorized review, use, printing, saving, copying, disclosure or
> distribution
> is strictly prohibited. If you have received this message in error, please
> immediately advise the sender by reply email and delete all copies.
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to