Hello,
I got the following situation:
I have a component A which has a Registry Key (lets call it: A.Registry)
with a value and I got a component B which has the same Registry Key
with a different value (lets call it: B.Registry).

Now if component A is installed A.Registry needs to be registered, but
if component B is installed as well the B.Registry overrides the A
registry key and only Registry B should be registered in the registry.

To solve this problem I created 2 components installing the registry
keys to the registry.
Two Features with the default Level of 1 and a condition which checks a
property.
If the property is 1 the Level is set to 0 and the component (the
registry key) is not installed to the registry.

This works quite fine for checkboxes.
If i make 2 checkboxes for the 2 components, the user can decide which
component to install, the property gets set from the checkbox control.

But the problem is, I got more components from which the user can decide
which to install.
So I decided to use a SelectionTree and here is where my problem finally
appears ;)

How can I create a event or something which sets the right property
according to the selection of the user?
If component A is going to be installed the A.Registry needs to be
installed.
If component A and B is going to be installed the B.Registry needs to be
installed.
(Component A is mandatory it's always going to be installed, but that's
no problem at all so)

Someone maybe can help me?
Any help would be appreciated!


Stefan Seifert


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to