Hi. I want to implement some logic for mutually exclusive bundles.
For example, if two bundles A and B are mutually exclusive, and I install B
onto A, then B shows a message box that says "[A] is already installed in
this system. This product cannot be installed side by side with [A]. Do you
want to remove [A] first and install the product?"
If user clicks "Yes" then B uninstalls A and installs itself. If user clicks
"No" then the installer terminates.
(I'm keeping in mind a scenario like when you install [Awesome Program 2015
Professional Edition] in a system that already has [Awesome Program 2015
Standard Edition] installed, i.e., not upgradable bundle but different
edition of a bundle)
I can detect a releated bundle by using <RelatedBundle> element with the id
of the releated bundle. But still there are some problems for implementing
the logic:
1. How can I get the name(and, if possible, version) of the related
bundle(for displaying message box)?
2. How can I remove the related bundle if user clicked "Yes"?
Thanks.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-can-I-implement-mutually-exclusive-bundles-tp7599223.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to