1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/branding/official/branding.nsi Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,49 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +# NSIS branding defines for official release builds. 1.9 +# The nightly build branding.nsi is located in browser/installer/windows/nsis/ 1.10 +# The unofficial build branding.nsi is located in browser/branding/unofficial/ 1.11 + 1.12 +# BrandFullNameInternal is used for some registry and file system values 1.13 +# instead of BrandFullName and typically should not be modified. 1.14 +!define BrandFullNameInternal "Mozilla Firefox" 1.15 +!define CompanyName "Mozilla Corporation" 1.16 +!define URLInfoAbout "https://www.mozilla.org" 1.17 +!define URLUpdateInfo "https://www.mozilla.org/firefox/${AppVersion}/releasenotes" 1.18 +!define HelpLink "https://support.mozilla.org" 1.19 + 1.20 +; The OFFICIAL define is a workaround to support different urls for Release and 1.21 +; Beta since they share the same branding when building with other branches that 1.22 +; set the update channel to beta. 1.23 +!define OFFICIAL 1.24 +!define URLStubDownload "http://download.mozilla.org/?os=win&lang=${AB_CD}&product=firefox-latest" 1.25 +!define URLManualDownload "https://www.mozilla.org/${AB_CD}/firefox/installer-help/?channel=release&installer_lang=${AB_CD}" 1.26 +!define Channel "release" 1.27 + 1.28 +# The installer's certificate name and issuer expected by the stub installer 1.29 +!define CertNameDownload "Mozilla Corporation" 1.30 +!define CertIssuerDownload "DigiCert Assured ID Code Signing CA-1" 1.31 + 1.32 +# Dialog units are used so the UI displays correctly with the system's DPI 1.33 +# settings. 1.34 +# The dialog units for the bitmap's dimensions should match exactly with the 1.35 +# bitmap's width and height in pixels. 1.36 +!define APPNAME_BMP_WIDTH_DU "134u" 1.37 +!define APPNAME_BMP_HEIGHT_DU "36u" 1.38 +!define INTRO_BLURB_WIDTH_DU "258u" 1.39 +!define INTRO_BLURB_EDGE_DU "170u" 1.40 +!define INTRO_BLURB_LTR_TOP_DU "20u" 1.41 +!define INTRO_BLURB_RTL_TOP_DU "12u" 1.42 + 1.43 +# UI Colors that can be customized for each channel 1.44 +!define FOOTER_CONTROL_TEXT_COLOR_NORMAL 0x000000 1.45 +!define FOOTER_CONTROL_TEXT_COLOR_FADED 0x666666 1.46 +!define FOOTER_BKGRD_COLOR 0xFFFFFF 1.47 +!define INTRO_BLURB_TEXT_COLOR 0x666666 1.48 +!define INSTALL_BLURB_TEXT_COLOR 0x666666 1.49 +!define INSTALL_PROGRESS_TEXT_COLOR_NORMAL 0x666666 1.50 +!define COMMON_TEXT_COLOR_NORMAL 0x000000 1.51 +!define COMMON_TEXT_COLOR_FADED 0x666666 1.52 +!define COMMON_BKGRD_COLOR 0xF0F0F0