diff --git a/development/Win32/packaging/installer/include/nsis.nsh b/development/Win32/packaging/installer/include/nsis.nsh index cf38f7acda..7cd2fe0f0e 100644 --- a/development/Win32/packaging/installer/include/nsis.nsh +++ b/development/Win32/packaging/installer/include/nsis.nsh @@ -35,15 +35,10 @@ Configuration of standard NSIS header files !include MultiUser.nsh !include nsDialogs.nsh -#-------------------------------- -# Windows constants - -!define SHCNE_ASSOCCHANGED 0x08000000 -!define SHCNF_IDLIST 0x0000 - #-------------------------------- # Include standard functions !insertmacro GetParent +!insertmacro RefreshShellIcons !insertmacro VersionCompare !insertmacro WordFind2X diff --git a/development/Win32/packaging/installer/setup/configure.nsh b/development/Win32/packaging/installer/setup/configure.nsh index 2b4949d8ca..58e281cbcb 100644 --- a/development/Win32/packaging/installer/setup/configure.nsh +++ b/development/Win32/packaging/installer/setup/configure.nsh @@ -31,7 +31,7 @@ Section -FileAssociations ${REG_FILEEXT} "Content Type" "${APP_MIME_TYPE}" # Refresh shell - System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)' + ${RefreshShellIcons} SectionEnd