RE: [NAnt-users] task: How to remove an existing installation before installing a new version?

2006-05-04 Thread Martin Thornalley
Title: task: How to remove an existing installation before installing a new version? I’m not exactly sure how to do this with the MSI task but in the past when I’ve created installers using Wise for Windows Installer I had to make a call to the RemoveExistingProducts Action.  I presume thi

RE: [Nant-users] Query process

2005-08-12 Thread Martin Thornalley
if(key != null)<br>     {<br> string buildFolder = Path.Combine(project.BaseDirectory, project.Properties["release.dir"]);<br> key.SetValue("ABCPath", buildFolder);<br> key.SetValue("ABCDataPath", buildFolder + "<a rel="nofollow" href="file:///\\Data\">\\Data</a>");<br>     }</span></font></p> <div> <p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size: 10.0pt;font-family:Tahoma;color:blue'>   }<br>    finally<br>    {<br>     if(key != null)<br>     {<br> key.Close();<br>     }<br>    }<br>   }<br> ]]><br> </code></span></font></p> </div> <div> <p class=MsoNormal><font size=2 color=blue face=Tahoma><span style='font-size: 10.0pt;font-family:Tahoma;color:blue'> Kind Regards   Andy Maggs   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Thornalley Sent: 11 August 2005 12:49 To: nant-users@lists.sourceforge.net Subject: [Nant-users] Query process Is there a way with either a NAnt task or a NAntContrib task to query if a particular process is running?   Thanks, Martin

[Nant-users] Write to registry

2005-08-11 Thread Martin Thornalley
I need to write to a registry key during my NAnt build because a bug in an application that is used within my build script.  I see there is a readregistry task but not an equivalent writeregistry task.  Does this mean I need to write it or is there another way?   Thanks, Martin

[Nant-users] Query process

2005-08-11 Thread Martin Thornalley
Is there a way with either a NAnt task or a NAntContrib task to query if a particular process is running?   Thanks, Martin