Take a look at the -var option for heat.exe. If you give it '-var var.xyz' then 
it will do the "search/replace" for you.

I don't think there are any problems with using the feature but I could be 
wrong.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail


> -----Original Message-----
> From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com]
> Sent: Monday, June 08, 2009 9:36 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] heat / "SourceDir"
>
> Hi,
>
> I recall in a recent thread that heat generated .wxs files will search
> for files with the path "SourceDir\..." in folders specified with the
> "-b" switch to light, but can't find anything in the documentation
> about this feature/
>
> Currently I'm just doing a search/replace and replacing "SourceDir\"
> with a $(var.xyz) preprocessor variable on the heat output, is there
> any benefit/problems with either method?
>
> Sascha
>
> -----------------------------------------------------------------------
> -------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to