I am looking for a way to set path variables in wxs file & use it to copy the
files to the targetdir.

I have written the following code:

<Component Id='sepPath' Guid='{18422F21-C884-45f3-A1BD-FAD31DBEC55B}'>
  <Environment Id='setHelpPath' Name='PATH1' Action='create' System='no'
Value='C:\WIX\HelpFiles'/>
</Component>

then I am using it to copy the help file:

<File Id='tutorial' Name='tutorial.pdf' DiskId='1'
Source='$(env.PATH1)\tutorial.pdf' Vital='no' />

But while compiling I get error:
"fatal error CNDL0023: Undefined environment variable: $(env.PATH1)".

Can somebody please tell me how to get it right?

Thanks,
HINA



-- 
View this message in context: 
http://www.nabble.com/Set-path-variable---use-it-to-install-files.-tf4608453.html#a13159559
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to