Bug 760671 - Hide the default browser checkbox in the installer for Windows 8. r=rstrong

This commit is contained in:
Brian R. Bondy
2012-06-08 09:19:08 -04:00
parent 6af9f6b835
commit 9b1a4590a4

View File

@@ -920,6 +920,7 @@ Function preSummary
; If Firefox isn't the http handler for this user show the option to set
; Firefox as the default browser.
${If} "$R9" != "true"
${AndIf} ${AtMostWin2008R2}
WriteINIStr "$PLUGINSDIR\summary.ini" "Settings" NumFields "4"
WriteINIStr "$PLUGINSDIR\summary.ini" "Field 4" Type "checkbox"
WriteINIStr "$PLUGINSDIR\summary.ini" "Field 4" Text "$(SUMMARY_TAKE_DEFAULTS)"