[WiX-users] Token Replacements in WXS

2009-06-15 Thread Pankaj Agrawal (Infosys Technologies Ltd)
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

Re: [WiX-users] Token Replacements in WXS

2009-06-15 Thread Brian Rogers
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

Re: [WiX-users] Token Replacements in WXS

2009-06-15 Thread Mike Rerick
You could also use an environmental variable and set it before running the installer. $(env.ServerVersion) *Mike Rerick* *Sr. Software Engineer* [image: Google Docs] http://www.iwsinc.com*ImageWare Systems, Inc.* 9200 S.E. Sunnybrook Blvd., Suite 170 Clackamas, OR

Re: [WiX-users] Token Replacements in WXS

2009-06-15 Thread Pankaj Agrawal (Infosys Technologies Ltd)
for Windows Installer XML toolset. Subject: Re: [WiX-users] Token Replacements in WXS You could also use an environmental variable and set it before running the installer. $(env.ServerVersion) *Mike Rerick* *Sr. Software Engineer* [image: Google Docs] http://www.iwsinc.com*ImageWare

Re: [WiX-users] Token Replacements in WXS

2009-06-15 Thread Christopher Karper
: Re: [WiX-users] Token Replacements in WXS You could also use an environmental variable and set it before running the installer. $(env.ServerVersion) *Mike Rerick* *Sr. Software Engineer* [image: Google Docs] http://www.iwsinc.com*ImageWare Systems, Inc.* 9200 S.E