зеркало из https://github.com/mozilla/gecko-dev.git
Bug 807357 - Windows 8 N builds should call SHChangeNotify as per documentation. r=jimm
This commit is contained in:
Родитель
b6652156ac
Коммит
453addf297
|
@ -557,7 +557,7 @@ Section "-InstallEndCleanup"
|
|||
WriteIniStr "$0" "TASKBAR" "Migrated" "true"
|
||||
|
||||
; Refresh desktop icons
|
||||
System::Call "shell32::SHChangeNotify(i 0x08000000, i 0, i 0, i 0)"
|
||||
System::Call "shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_DWORDFLUSH}, i 0, i 0)"
|
||||
|
||||
${InstallEndCleanupCommon}
|
||||
|
||||
|
|
|
@ -436,7 +436,7 @@ Section "Uninstall"
|
|||
; Refresh desktop icons otherwise the start menu internet item won't be
|
||||
; removed and other ugly things will happen like recreation of the app's
|
||||
; clients registry key by the OS under some conditions.
|
||||
System::Call "shell32::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)"
|
||||
System::Call "shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i 0, i 0, i 0)"
|
||||
|
||||
!ifdef MOZ_MAINTENANCE_SERVICE
|
||||
; Get the path the allowed cert is at and remove it
|
||||
|
|
|
@ -83,6 +83,12 @@
|
|||
!define SHORTCUTS_LOG "shortcuts_log.ini"
|
||||
!define TO_BE_DELETED "to_be_deleted"
|
||||
|
||||
; !define SHCNF_DWORD 0x0003
|
||||
; !define SHCNF_FLUSH 0x1000
|
||||
!define SHCNF_DWORDFLUSH 0x1003
|
||||
!ifndef SHCNE_ASSOCCHANGED
|
||||
!define SHCNE_ASSOCCHANGED 0x08000000
|
||||
!endif
|
||||
|
||||
################################################################################
|
||||
# Macros for debugging
|
||||
|
@ -5146,7 +5152,7 @@
|
|||
|
||||
finish:
|
||||
${UnloadUAC}
|
||||
System::Call "shell32::SHChangeNotify(i 0x08000000, i 0, i 0, i 0)"
|
||||
System::Call "shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i 0, i 0, i 0)"
|
||||
Quit ; Nothing initialized so no need to call OnEndCommon
|
||||
|
||||
continue:
|
||||
|
|
Загрузка…
Ссылка в новой задаче