I am working on an installer using Wix 3.5 that needs to set the system PATH environment variable.
This is how I am setting the environment variable:
Check this question on ServerFault: How do you add a Windows environment variable without rebooting?
So to propagate the change to the list of environment variables, you can write a small program which broadcasts WM_SETTINGCHANGE message as described in KB article How to propagate environment variables to the system.
When you add or set an environment variable, a WM_SETTINGCHANGE
message is sent to all programs to inform them of the change. However, any already running program will not get the updated environment, unless it can handle this message itself. Rebooting the system updates every program.
A workaround without rebooting:
So summing-up, in order to get this to work for every user, you still need to reboot.