diff options
| -rw-r--r-- | scripts/installer.nsi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/installer.nsi b/scripts/installer.nsi index 8ef9e2e6d..998dde356 100644 --- a/scripts/installer.nsi +++ b/scripts/installer.nsi @@ -300,6 +300,9 @@ Section "Add to PATH" InstallPath ; Write the installation path into the $PATH environment variable WriteRegExpandStr ${HKCU} "Environment" "Path" "$R1;$InstDir" ${EndIf} + + ; make sure windows knows about the change + SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000 SectionEnd |
