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
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
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
Is there a way with either a NAnt task or a
NAntContrib task to query if a particular process is running?
Thanks,
Martin