Bug 351365 - Talkback won't install for new installs when DOMi is not present in the installer. r=sspitzer

This commit is contained in:
rob_strong%exchangecode.com 2006-09-05 01:18:47 +00:00
Родитель 547dfab193
Коммит cd9376e4e8
1 изменённых файлов: 2 добавлений и 4 удалений

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

@ -823,10 +823,6 @@ Function preComponents
Call CheckCustom
; If DOMi isn't available skip the components page
${Unless} ${FileExists} "$EXEDIR\optional\extensions\inspector@mozilla.org"
; If talkback exists always install it enabled.
${If} ${FileExists} "$EXEDIR\optional\extensions\talkback@mozilla.org"
SectionSetFlags 2 1
${EndIf}
Abort
${EndUnless}
!insertmacro MUI_HEADER_TEXT "$(OPTIONAL_COMPONENTS_TITLE)" "$(OPTIONAL_COMPONENTS_SUBTITLE)"
@ -1076,6 +1072,8 @@ Function .onInit
${If} ${FileExists} "$EXEDIR\optional\extensions\talkback@mozilla.org"
${GetSize} "$EXEDIR\optional\extensions\talkback@mozilla.org" "/S=0K" $0 $8 $9
SectionSetSize 2 $0
; Install Talkback by default.
SectionSetFlags 2 1
${Else}
; Hide Talkback in the components page if it isn't available.
SectionSetText 2 ""