is it valid to reference a binary file id using a public property value?

e.g. if I have the following public property and binary files defined

<Property Id="ENVIRONMENTID" Value="Unk" />
<Binary Id="MyService.exe.dvt.config" 
SourceFile="$(var.SolutionDir)Configuration\MyService.exe.dvt.config" />
<Binary Id="MyService.exe.dev.config" 
SourceFile="$(var.SolutionDir)Configuration\MyService.exe.dev.config" />
<Binary Id="MyService.exe.test.config" 
SourceFile="$(var.SolutionDir)Configuration\MyService.exe.test.config" />
<Binary Id="MyService.exe.perf.config" 
SourceFile="$(var.SolutionDir)Configuration\MyService.exe.perf.config" />

Then should the following approach for referencing an environmentid public 
property associated binary file going to work?
<CustomAction Id="QtExecCmdLineSet5" Property="QtExecCmdLineRun5" 
Value="&quot;[$(var.SystemFolder)]cmd.exe&quot; /c copy 
&quot;[#MyService.exe.[ENVIRONMENTID].config]&quot; 
&quot;[Service1Dir]MyService.exe.config&quot;" />

tia

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to