You can use this:

-var <VariableName>     Substitute File/@Source="SourceDir" with a
preprocessor or a wix variable (e.g. -var var.MySource will become
File/@Source="$(var.MySource)\myfile.txt" and -var wix.MySource will become
File/@Source="!(wix.MySource)\myfile.txt".

Or this:

-wixvar     Generate binder variables instead of preprocessor variables.

Complete manual here:
http://wixtoolset.org/documentation/manual/v3/overview/heat.html



-----
Nir Bar 
Freelance Developer 
Mail: nir....@panel-sw.com 
Web: www.panel-sw.com 
   - C++ On Windows, Linux and Embedded Platforms 
   - WiX & InstallShield 
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/using-custom-variables-on-heat-command-line-tp7599633p7599635.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to