We have created a library of tasks with NAnt for performing all manner of
installation functions. These work very well for us. The advantage of NAnt
is that it is easy to script. We don't need to write any C# code. It also
means that it is easy to know exactly in the installation where something
has failed.

I want to avoid calling NAnt as a separate process; I would rather bootstrap
directly.

Myles

----- Original Message -----
From: "Gary Feldman" <[EMAIL PROTECTED]>
To: <nant-users@lists.sourceforge.net>
Sent: Wednesday, January 17, 2007 10:17 PM
Subject: Re: [NAnt-users] Running a NAnt build from custom C# code


> Myles Jeffery wrote:
> > I am writing an MSI installer. I want to use NAnt as the backbone for
> > performing all the installation tasks. How can I call a NAnt project via
C#?
> >
> I don't know of an API, but you can always start it up via the Process
> class.
>
> But are you really sure you want to do this?  The Windows Installer
> already has a concept of task sequences, and things are already pretty
> complicated.  Bringing in NAnt would just make things even more
> convoluted.  What benefits do you see?
>
> Gary
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to