title: Can anyone give me a example of modifying windows environment system variables in WIX?
body: <p>I still don't know how to add the installdir into the PATH of the Windows System Variables after I went through the WIX tutorial.</p>
  
  <p>I tried to use </p>
  
  <pre><code>  Environment Id='UpdatePath' Action='create' Name='PATH'  System='yes' Value='[INSTALLDIR]' 
  </code></pre>
  
  <p>But there was no change in the Path after I installed the program. I can hardly find sample code of WIX anywhere.
  Please help me, thanks a lot!</p>