Hi Dave,

Can you please let me know what all changes you are making for this.
Please let me know what code you are writing in python script, Is this Script 
placed in Wix Installer project?
How you are setting command line parameters which u pass to candle/etc.

Thanks and Regards,
Chetan.

-----Original Message-----
From: David Connet [mailto:d...@agilityrecordbook.com] 
Sent: Monday, February 10, 2014 8:07 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Set Product version in Product.wxs file

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

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not 
to copy, disclose, or distribute this e-mail or its contents to any other 
person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage 
you may sustain as a result of any virus in this e-mail. You should carry out 
your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this 
e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&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