I am working on developing Windows installer for an enterprise product, that has different variants as separate MSI products. We have to check that, we cannot install a product, if another variant is installed already. I created different WIX scripts and used to build them as separate products (MSI).
Each variant has a base framework, and number of modules. I created each module as a feature, and included them along with base feature (base feature must be installed as of now) based on the variant built.
I received requirements that, we have to allow installing another variant on top of any installed variant. For Example, I installed Product1 that has 2 modules along with base framework as three features (Base, Mod1, Mod2). Product2 built with Base and Mod3. Now, When I install Product2 in a system where Product1 is installed, only the Mod3 should be installed.
I am using WIX 3.5.
Any help would be appreciated.
Thanks in Advance.