Set the PreprocessorVariable. It's an optional string parameter that will substitute SourceDir for another variable name (ex: var.Dir).
-----Original Message----- From: Satyaprakash J [mailto:sat...@smartek21.com] Sent: Friday, August 20, 2010 2:54 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] SourceDir Hi I run the following command to generate the attached .wxs file. heat dir "\\192.168.10.61\Share\WebAppBuildDef\WebAppBuildDef_20100808.2\Debug<file:///\\192.168.10.61\Share\WebAppBuildDef\WebAppBuildDef_20100808.2\Debug>" -gg -sfrag -sreg -template:product -out directory.wxs -cg WebAppComponentGroup In the directory.wxs file the Source attribute of File element is set to "SourceDir\<FileName>". See attached wxs file. I would like to know how this "SourceDir" can be replaced with the actual path \\192.168.10.61\Share\WebAppBuildDef\WebAppBuildDef_20100808.2\Debug<file:///\\192.168.10.61\Share\WebAppBuildDef\WebAppBuildDef_20100808.2\Debug%3cfile:\192.168.10.61\Share\WebAppBuildDef\WebAppBuildDef_20100808.2\Debug%3e>" when running heat. Thanks Satyaprakash J ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users