Hey Pankaj,

Why would you use WiX and the preprocessor for this? Why not just use a text
replacer? Do you need this to be automated? You could add "var." in the toke
and then yes, you could use the preprocessor.

$(var.Serverversion)

and then pass the value to candle.exe on the command line
"-dServerversion=dldl".

Hope that helps,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Mon, Jun 15, 2009 at 2:42 PM, Pankaj Agrawal (Infosys Technologies Ltd) <
v-pa...@microsoft.com> wrote:

> Hi,
>
> We need to do token replacement in the whole file using WIX and I was
> wondering whether this feature is available in wxs or not.
>
> For e.g.
>
> I have a text file which has $(Serverersion) at 10 places and I want to
> replace all the values in the text file using token replacement feature if
> any provided by WXS.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Pankaj
>
> ------------------------------------------------------------------------------
> 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