You can condition your WiX source based on properties to pass into 
candle.exe. But because the product composition would be different, you 
should use different ProductCodes. This is important if you intend to 
patch the product later, as you don't want a single, all-inclusive patch 
to add everything back in if you don't want it, and there would 
otherwise be no other way to target a specific product with a specific 
patch - all traits that patch transform target would be exactly the same.

Using different ProductCodes also avoids Windows Installer picking the 
wrong MSI out of the Installer cache and using that instead of the 
actual source MSI (if installing two different compositions on the same 
machine).

nils_gate wrote:
> I am trying to create an installer, which has 4 components. In QC Version, I
> want to include all the 4 components. While in Final release, I want to
> include 1 of 4 components based on requirement. 
>
> I can acheive this using Conditional Installation of a particular feature at
> installation time. But, in this case I have to include all the components
> into Installer Database. 
>
> I want to conditionally include only required component into Installer
> Databse. 
>
> I suppose using EmbeddedChainer, I can do this. Have any one done any hands
> on it?
>
> Please help Me
> N!ls
>   

-- 

Heath Stewart
Deployment Technology Group, Microsoft
http://blogs.msdn.com/heaths


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to