Re: [Nant-users] Porting VBScript into C# Script Task

2005-06-22 Thread Robert Smith
Note that the NAnt list parser is modifying the syntax that I had in my construct. It replaced "table[(at symbol)name" with [EMAIL PROTECTED] thinking it was an email address. So the syntax should be xpath="/msi/table[(at symbol)name = 'ISProductConfigurationProperty']/row[td = 'ProductVersion']

Re: [Nant-users] Porting VBScript into C# Script Task

2005-06-22 Thread Robert Smith
Here's what I came up with that worked for changing the product version for an XML Install Shield .ism file...                     file="Test.ism"             xpath="/msi/[EMAIL PROTECTED] = 'ISProductConfigurationProperty']/row[td = 'ProductVersion']/td[3]"             value="${version}"/>    

Re: [Nant-users] Porting VBScript into C# Script Task

2005-06-21 Thread Chris Hansen
Jeremy P. Owens-Boggs wrote: We saved the InstallShield projects as XML and used the xmlpoke task in nant, no messy scriptJ Jeremy, you wouldn't by chance be willing to show some sample code would you? I haven't done this yet, but I need to - it would be nice to have a functioning exam

RE: [Nant-users] Porting VBScript into C# Script Task

2005-06-21 Thread Jeremy P. Owens-Boggs
We saved the InstallShield projects as XML and used the xmlpoke task in nant, no messy scriptJ   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Smith Sent: Tuesday, June 21, 2005 4:38 PM To: nant-users@lists.sourceforge.net Subject: [Nant-

[Nant-users] Porting VBScript into C# Script Task

2005-06-21 Thread Robert Smith
I'm not sure how to implement this construct in C# and hoping that someone can show me what the syntax might look like. I have the following _vbscript_ code that I use to change the ProductVersion number property inside of an InstallShield project using _vbscript_ that is called from my NAnt scrip