Is it possible to set the Source property of a File using something besides a $(var…) ?

 

Eg this works:

<File Id="FileId" Name="File1" LongName="SomeFile.dll" Source="$(var.SRCLOCATION)\SomeFile.dll" Vital="yes" DiskId="1" />

 

The following  does not work or I cannot seem to get it to work:

<File Id="FileId" Name="File1" LongName="SomeFile.dll" Source="$(env.SRCLOCATION)\SomeFile.dll" Vital="yes" DiskId="1" />

                                         

<File Id="FileId" Name="File1" LongName="SomeFile.dll" Source="$(sys.SRCLOCATION)\SomeFile.dll" Vital="yes" DiskId="1" />

 

<File Id="FileId" Name="File1" LongName="SomeFile.dll" Source="$(env.SRCLOCATION)\File_$(env.Version).dll" Vital="yes" DiskId="1" />

 

 

Basically I need to pass in dynamic file name and folder names via property or setting of environment variable.

 

Any working samples of this would be greatly appreciated.

 

Thanks in advance for any assistance anyone can provide,

 

Scott

 

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to