Hi John,

I actually do something similar in the NAntContribInstall.include file.
This should do the trick:

<environment>
 <variable name="*PATH" append="'[D__NANT_BIN]'" component="C__NAnt_Bin" />
</environment>

The * prefixing the PATH name means that the install should treat it as a
system variable.  If you're interested in other prefixes, have a look here:
http://msdn.microsoft.com/library/en-us/msi/setup/environment_table.asp

Hope that helps

Jim


As a reference, the NAntContribInstall.include file is located here:
http://cvs.sourceforge.net/viewcvs.py/nantcontrib/NAntContrib/NAntContribInstall.include?rev=1.10&view=auto


> James,
>  How would I modify the system path from an MSI task?  I'd like to add
>  the
> installation path\bin for the NAnt installation.
>
> Thanks!
>
> John Cole
>
> -------------------------------------
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager. This message contains confidential information and
> is intended only for the individual named. If you are not the named
> addressee you should not disseminate, distribute or copy this e-mail.





-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to