Skip to content
⌘ NSIS Forum Archive

NSIS 3 - ${RefreshShellIcons}

2 posts

Lenge#

NSIS 3 - ${RefreshShellIcons}

Hello world,

NSIS 3 comes with a new ${RefreshShellIcons} command. In the past I have frequently used
System::Call 'shell32.dll::SHChangeNotify(i 0x8000000, i 0, i 0, i 0)'
in order to trigger an icon refresh.

Are the two are fully equivalent?

And (if not) which command should be preferred?
Anders#
Please don't waste peoples time with bullshit questions like these.

A) You can just look in the .nsh and you will see that it is the exact same thing as the code you just posted!

B) This macro has been there since at least 2.46