I also saw this behaviour.  It would be nice to know why.

Rob

Improvize1 wrote:
> I am setting system environment variable on a Windows Server 2003 system 
> using the WiX Environment element like so:
> <Environment Id="SetMyAppDir" Action="set" Name="MYAPPDIR" 
> Value="[INSTALLLOCATION]" System="yes" />
> I can verify in control panel -> system after the installer runs that the it 
> was successfully defined, but when I open a new console window the variable 
> is not defined there. If I edit it in the control panel then open another 
> console window, it is defined there. The opposite case is also true: after 
> uninstalling and verifying that in the control panel that the environment 
> variable has been removed, subsequent console windows still see it. So it 
> seems something is not getting updated in the system cache. Is there some 
> other action that can be taken in the installer to fix this (short of 
> scheduling a reboot)? WiX 3.0.4130.0. Thanks.
> 
> 
> 
> 
>       
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to