Re: [WiX-users] Read a value from a text file and use it in WIX source file

2014-02-20 Thread Walt Dexter
low error. > Undefined Preprocessor Variable. > > Please let me know if I have missed something. > > > Thanks and Regards, > Chetan. > > -Original Message----- > From: Suvrajyoti Panda [mailto:suvrajyo...@contata.co.in] > Sent: Friday, February 14, 2014 11:34 A

Re: [WiX-users] Read a value from a text file and use it in WIX source file

2014-02-19 Thread Chetan Rajakumar
Thanks and Regards, Chetan. -Original Message- From: Suvrajyoti Panda [mailto:suvrajyo...@contata.co.in] Sent: Friday, February 14, 2014 11:34 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Read a value from a text file and use it in WIX source file Thanks Wa

Re: [WiX-users] Read a value from a text file and use it in WIX source file

2014-02-13 Thread Suvrajyoti Panda
Thanks Walter, that works for me :) On 12-02-2014 21:35, Walter Dexter wrote: > Sorry I forgot about this. Here's what I'm doing. I'm sure someone more > experienced will have a much better way, but this works for me. > > First, in my "build.cmd" file, set "svt" envrironment variable to the > con

Re: [WiX-users] Read a value from a text file and use it in WIX source file

2014-02-12 Thread Walter Dexter
Sorry I forgot about this. Here's what I'm doing. I'm sure someone more experienced will have a much better way, but this works for me. First, in my "build.cmd" file, set "svt" envrironment variable to the contents of the "svnversion.txt" file: set /p svt= On Tue, Feb 11, 2014 at 9:34 AM, Suvr

Re: [WiX-users] Read a value from a text file and use it in WIX source file

2014-02-11 Thread Suvrajyoti Panda
Thanks Walter, that would be really helpful if you can give me an example. Regards, Suvra Jyoti On 11-02-2014 19:53, Walter Dexter wrote: > It may not be the most elegant way, but I'm doing the same thing by passing > the contents of the file (first line anyway) as a command line argument to > th

Re: [WiX-users] Read a value from a text file and use it in WIX source file

2014-02-11 Thread Hoover, Jacob
) Build. -Original Message- From: Walter Dexter [mailto:wfdex...@gmail.com] Sent: Tuesday, February 11, 2014 8:23 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Read a value from a text file and use it in WIX source file It may not be the most

Re: [WiX-users] Read a value from a text file and use it in WIX source file

2014-02-11 Thread Phill Hogland
Take a look at this thread: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-installer-upgrade-does-not-work-td7589150.html#a7589177 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Read-a-value-from-a-text-file-and-use-it-in-WIX-s

Re: [WiX-users] Read a value from a text file and use it in WIX source file

2014-02-11 Thread Walter Dexter
It may not be the most elegant way, but I'm doing the same thing by passing the contents of the file (first line anyway) as a command line argument to the linker. I use a .cmd file to run the WiX ci mpile and link so its just a bit of batch file processing. If you need an example I can get it for

[WiX-users] Read a value from a text file and use it in WIX source file

2014-02-10 Thread Suvrajyoti Panda
Hi All, I have a requirement wherein in i need to read a value from a text file located at D:\Project\ESI\Code\trunk\lastVersion.txt. This file contains a single line as below: 6.0.0 Build 3280 This 6.0.0 is basically the "version" . Now i want to read this value of version and use it in th