diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-18 20:35:12 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-18 20:35:12 -0700 |
commit | 1d773cb8921848c99f12b8cd9840cb0267b66e1f (patch) | |
tree | bb1e02539fa3c7624e2d062a0ad478bdb84d2f65 | |
parent | 7767a045d446ea2bc5fe1ec98d89274155f956c4 (diff) |
windows: Missed adding 'refresh-sh.nsh'
This script forces windows explorer to reload icons.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosui/Instdrv/NSIS/Includes/refresh-sh.nsh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/altosui/Instdrv/NSIS/Includes/refresh-sh.nsh b/altosui/Instdrv/NSIS/Includes/refresh-sh.nsh new file mode 100644 index 00000000..23d8e5e4 --- /dev/null +++ b/altosui/Instdrv/NSIS/Includes/refresh-sh.nsh @@ -0,0 +1,14 @@ +!define SHCNE_ASSOCCHANGED 0x08000000 +!define SHCNF_IDLIST 0 + +Function RefreshShellIcons + ; By jerome tremblay - april 2003 + ${DisableX64FSRedirection} + System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)' +FunctionEnd + +Function un.RefreshShellIcons + ; By jerome tremblay - april 2003 + ${DisableX64FSRedirection} + System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)' +FunctionEnd |