Werner, Harvey D wrote:
> I need to update the PATH environment variable to prepend the value of
> "[TARGETDIR]\bin" during our product installation.
>   
You need

Action='set'

below, and I believe you have to do a CA to get/manipulate the value to set.

Am I the only one who absolutely hates it when a program plays with my 
path? Drives me nuts. It's MY path.

> How is this done in WiX? I tried using the Environment element, but it
> does not change PATH at all.
>
>                 <Environment
>                   Id="Environment"
>                   Name="PATH"
>                   Part="first"
>                   System="yes"
>                   Value="[TARGETDIR]\bin" />
>
> Obviously, I do not want to delete PATH during uninstall, but just
> remove what was added.
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to