Something like this?

<FolderRef Id="Folder1">
  <Component Id="File.Is64" Transient="yes"...>
    <Condition>VersionNT64</Condition>
    <File Id="File1" KeyPath="yes".../>
  </Component>
  <Component Id="File.Is32" Transient="yes"...>
    <Condition>NOT VersionNT64</Condition>
    <File Id="File2" KeyPath="yes".../>
  </Component>
</FolderRef>

-----Original Message-----
From: rishikesh singh [mailto:rishi.co...@gmail.com] 
Sent: Monday, August 31, 2009 6:18 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ConditionBased Installation

Hi
We have requirement where i need to copy one file  say "File1"  to folder
say "Folder1" if the system is 64bit Machine  else copy "File2" to that
folder during installation. Please let me know how to write this condition.
Thanks in Advance.
----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to