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
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
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
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
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
5 matches
Mail list logo