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

Reply via email to