Bug 1070988 - Windows installer should remove leftover chrome.manifest on pave over install to prevent startup crash with Firefox 32 and above with unpacked omni.ja. r=tabraldes

This commit is contained in:
Robert Strong 2014-09-24 00:33:58 -07:00
Родитель ec3f2023af
Коммит 16e9936bb9
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -1008,6 +1008,14 @@ FunctionEnd
; Removes various directories and files for reasons noted below.
!macro RemoveDeprecatedFiles
; Some users are ending up with unpacked chrome instead of omni.ja. This
; causes Firefox to break badly after upgrading from Firefox 31, see bug
; 1063052. Removing the chrome.manifest from the install directory causes
; Firefox to use the updated omni.ja so it won't crash.
${If} ${FileExists} "$INSTDIR\chrome.manifest"
Delete "$INSTDIR\chrome.manifest"
${EndIf}
; Remove talkback if it is present (remove after bug 386760 is fixed)
${If} ${FileExists} "$INSTDIR\extensions\talkback@mozilla.org"
RmDir /r /REBOOTOK "$INSTDIR\extensions\talkback@mozilla.org"