win,msi: broadcast WM_SETTINGCHANGE after install
Backport 668bde8a from io.js. Original commit message follows: In theory the msi should broadcast a 'WM_SETTINGCHANGE' message to all windows after modifying the PATH environment variable. This ensures that the new PATH is visible to other processes without restarting windows (although it's still necessary to close and reopen active console windows). Unfortunately, the broadcast doesn't always happen, for unknown reasons. That's why this patch adds a custom action that unconditionally broadcasts a WM_SETTINGCHANGE message. Bug: https://github.com/iojs/io.js/issues/603 PR: https://github.com/iojs/io.js/pull/613 Reviewed-by:Bert Belder <bertbelder@gmail.com> (cherry picked from commit 668bde8a) --Node.js commmit metadata-- PR-URL: https://github.com/joyent/node/pull/25100 Reviewed-By:
Julien Gilli <julien.gilli@joyent.com> Fixes: https://github.com/joyent/node/issues/4356
parent
ad9947e3