I am using Wix Version 2.

I have the two features F1 and F2. F2 is a sub component of F1. I have a
component C1 which is kept inside F1.

The component C1 has a file element like this:

<File Id="xyz" Name="abc.txt" Source="C:\abc.txt" />

But, the Source attribute path and Name attribute depends on the Feature
which is selected.
So, I tried to have a custom action to set a property PATHARGS to the path
based on selection of a feature (F1 or F2) and also property FILENAME to set
appropriate file based on selection of Feature (F1 or F2).

Now, if I redefine File element as

<File Id="xyz" Name="[FILENAME]" Source="[PATHARGS]" /> ,

the File element is unable to read the property value.

So, my questions are:

1) Why are the above mentioned steps not working properly?
2) Is there any other way to pass property values to File Name and Source
element.

--thanks..
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to