On 2/10/2014 5:48 AM, Chetan Rajakumar wrote:
> Hi All,
>
> Below is my requirement:
> I have a Version.txt file kept under WixInstaller project and I have below 
> text in Version.txt:
> BuildVersion=1.2.3.4
> Now I have to read the above BuildVersion from the Version.txt and Update the 
> value of Product Version in Product.wxs file.
> Something like below:
> <Product Id="*" Name="MyProduct" Language="1033"
>             Version="$Read Build version from Version.txt" 
> Manufacturer="MyManufacturer" 
> UpgradeCode="335569EF-2DF3-4CD7-8EDA-59996E345553">
>
> Please help me out to achieve this requirement, Thanks in advance.

I do something similar. What I did was use a python script to parse the 
file and set command line parameters which I pass to candle/etc.

Dave

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to