branding.nsi 2.34 KB
Newer Older
1 2 3
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4

5 6 7
# NSIS branding defines for official release builds.
# The nightly build branding.nsi is located in browser/installer/windows/nsis/
# The unofficial build branding.nsi is located in browser/branding/unofficial/
8 9 10 11

# BrandFullNameInternal is used for some registry and file system values
# instead of BrandFullName and typically should not be modified.
!define BrandFullNameInternal "Abrowser"
12
!define BrandFullName         "Abrowser"
13 14 15
!define CompanyName           "Trisquel"
!define URLInfoAbout          "http://trisquel.info/browser"
!define URLUpdateInfo         "http://trisquel.info/wiki"
16
!define HelpLink              "https://trisquel.info/en/wiki/abrowser-help"
17

18 19 20 21
; The OFFICIAL define is a workaround to support different urls for Release and
; Beta since they share the same branding when building with other branches that
; set the update channel to beta.
!define OFFICIAL
22 23 24 25
!define URLStubDownload32 "http://trisquel.info/browser"
!define URLStubDownload64 "http://trisquel.info/browser"
!define URLManualDownload "http://trisquel.info/browser"
!define URLSystemRequirements "http://trisquel.info/browser"
26
!define Channel "release"
27 28 29

# The installer's certificate name and issuer expected by the stub installer
!define CertNameDownload   "Mozilla Corporation"
30
!define CertIssuerDownload "DigiCert SHA2 Assured ID Code Signing CA"
31 32 33 34 35

# Dialog units are used so the UI displays correctly with the system's DPI
# settings.
# The dialog units for the bitmap's dimensions should match exactly with the
# bitmap's width and height in pixels.
36 37 38 39 40 41
!define APPNAME_BMP_WIDTH_DU "134u"
!define APPNAME_BMP_HEIGHT_DU "36u"
!define INTRO_BLURB_WIDTH_DU "258u"
!define INTRO_BLURB_EDGE_DU "170u"
!define INTRO_BLURB_LTR_TOP_DU "20u"
!define INTRO_BLURB_RTL_TOP_DU "12u"
42 43 44

# UI Colors that can be customized for each channel
!define FOOTER_CONTROL_TEXT_COLOR_NORMAL 0x000000
45
!define FOOTER_CONTROL_TEXT_COLOR_FADED 0x666666
46
!define FOOTER_BKGRD_COLOR 0xFFFFFF
47 48 49
!define INTRO_BLURB_TEXT_COLOR 0x666666
!define INSTALL_BLURB_TEXT_COLOR 0x666666
!define INSTALL_PROGRESS_TEXT_COLOR_NORMAL 0x666666
50 51 52
!define COMMON_TEXT_COLOR_NORMAL 0x000000
!define COMMON_TEXT_COLOR_FADED 0x666666
!define COMMON_BKGRD_COLOR 0xF0F0F0