title: Setting environment variables requires reboot on 64-bit
body: <p>I am working on an installer using Wix 3.5 that needs to set the system PATH environment variable.</p>
  
  <p>This is how I am setting the environment variable:</p>
  
  <pre><code>&lt;Directory Id="DirectoryName"&gt;
      &lt;Component Id="ComponentID" Guid="{BE20AF67-5943-4AF4-BE66-226E2D4B844F}"&gt;
          &lt;Environment Id="EnvironmentID" Name="PATH" Action="set" Value="the path" Part="last" Separator=";" System="yes" /&gt;
      &lt;/Component&gt;
  &lt;/Directory&gt;
  </code></pre>
  
  <p>This seems to be working on 32-bit systems without requiring a reboot for the changes to be recognized. However, when I try it on 64-bit Windows 7 a reboot is required.</p>
  
  <p>Is this a known issue on 64-bit systems?</p>
  
  <p>Maybe the best approach would be to schedule a reboot to cover all bases.</p>
  
  <p>Thanks,
  Alan</p>