Fragments are a compiler/build concept not an installer/runtime concept.  
Take a look at component conditions  ( Condition element nested under a 
Component element ) and the VersionNT property.

----------------------------------------

From: "Anil Patel" <apatel...@googlemail.com>

Sent: Monday, September 05, 2011 9:29 AM

To: "General discussion for Windows Installer XML toolset." 
<wix-users@lists.sourceforge.net>

Subject: [WiX-users] Conditions on a Fragment


Hello,


I have a number of fragments say A, B & C.


What I would like to do is to install fragment A if the the OS is Windows 
7,

install fragment B if the OS is Win XP and install fragent C if its 
Windows

Vista.

So its a selective install of fragments based on OS.


I thought of using a condition element but I don't think that would be

appropriate (as far as I understand it would throw up a message to user

which is not what I want.).


Any help on this would be greatly appreciated.


Thank you,

Anil.

----------------------------------------------------------------------------
--

Special Offer -- Download ArcSight Logger for FREE!

Finally, a world-class log management solution at an even better 

price-free! And you'll get a free "Love Thy Logs" t-shirt when you

download Logger. Secure your free ArcSight Logger TODAY!

http://p.sf.net/sfu/arcsisghtdev2dev

_______________________________________________

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to