Commit e7c84f82 authored by Mathias Küsel's avatar Mathias Küsel Committed by Alexis Campailla
Browse files

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: default avatarBert Belder <bertbelder@gmail.com>
(cherry picked from commit 668bde8a)

--Node.js commmit metadata--
PR-URL: https://github.com/joyent/node/pull/25100


Reviewed-By: default avatarJulien Gilli <julien.gilli@joyent.com>
Fixes: https://github.com/joyent/node/issues/4356
parent ad9947e3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment