Name RefreshDesktopWindow
OutFile RefreshDesktopWindow.exe
SilentInstall silent
var ProgmanHwnd
var ShellHwnd
var DesktopHwnd
Section ""
; 256=WM_KEYDOWN
; 257=WM_KEYUP
; 116=VK_F5
System::Call 'Shell32::SHChangeNotify(i 0x8000000, i 0, i 0, i 0)'
SectionEnd
!define SHCNE_ASSOCCHANGED 0x08000000
!define SHCNF_IDLIST 0
Call RefreshShellIcons
Function RefreshShellIcons
; By jerome tremblay - april 2003
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v
(${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'
FunctionEnd