Revision control

Copy as Markdown

Other Tools

#filter substitution
# 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/.
# These defines should match application.ini settings
!define AppName "Thunderbird"
!define AppVersion "@MOZ_APP_VERSION@"
!define GREVersion @MOZILLA_VERSION@
!define AB_CD "@AB_CD@"
!define FileMainEXE "@MOZ_APP_NAME@.exe"
!define WindowClass "ThunderbirdMessageWindow"
!define AppRegNameMail "Thunderbird"
!define AppRegNameNews "Thunderbird (News)"
!define AppRegNameCalendar "Thunderbird (Calendar)"
!define ToastAumidPrefix "@MOZ_TOAST_APP_NAME@Toast-"
!define ClientsRegName "Mozilla Thunderbird"
!define BrandProductName "Thunderbird"
!define BrandShortName "@MOZ_APP_DISPLAYNAME@"
!ifndef BrandFullName
!define BrandFullName "${BrandFullNameInternal}"
!endif
!if "@MOZ_UPDATE_CHANNEL@" == "beta"
# NO_INSTDIR_FROM_REG is defined for Beta to prevent finding a non-default
# installation directory in the registry and using that as the default. This
# prevents Beta releases built with official branding from finding an existing
# install of an official release and defaulting to its installation directory.
# Beta has it's own branding since bug 1845794.
!define NO_INSTDIR_FROM_REG
!endif
!define InstDirName "${BrandFullName}"
!define CERTIFICATE_NAME "Mozilla Corporation"
!define CERTIFICATE_ISSUER "DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1"
; Changing the name or issuer requires us to have both the old and the new
; in the registry at the same time, temporarily.
!define CERTIFICATE_NAME_PREVIOUS "Mozilla Corporation"
!define CERTIFICATE_ISSUER_PREVIOUS "DigiCert SHA2 Assured ID Code Signing CA"
# ARCH is used when it is necessary to differentiate the x64 registry keys from
# the x86 registry keys (e.g. the uninstall registry key).
#ifdef HAVE_64BIT_BUILD
!define HAVE_64BIT_BUILD
#ifdef _ARM64_
!define ARCH "AArch64"
!define MinSupportedVer "Microsoft Windows 10 for ARM"
#else
!define ARCH "x64"
!define MinSupportedVer "Microsoft Windows 10 x64"
#endif
#else
!define MinSupportedVer "Microsoft Windows 10"
!define ARCH "x86"
#endif
!define MinSupportedCPU "SSE2"
#ifdef MOZ_MAINTENANCE_SERVICE
!define MOZ_MAINTENANCE_SERVICE
#endif
#ifdef MOZ_BITS_DOWNLOAD
!define MOZ_BITS_DOWNLOAD
#endif
# File details shared by both the installer and uninstaller
VIProductVersion "1.0.0.0"
VIAddVersionKey "ProductName" "${BrandShortName}"
VIAddVersionKey "CompanyName" "${CompanyName}"
#ifdef MOZ_OFFICIAL_BRANDING
VIAddVersionKey "LegalTrademarks" "${BrandShortName} is a Trademark of The Mozilla Foundation."
#endif
VIAddVersionKey "LegalCopyright" "${CompanyName}"
VIAddVersionKey "FileVersion" "${AppVersion}"
VIAddVersionKey "ProductVersion" "${AppVersion}"
# Comments is not used but left below commented out for future reference
# VIAddVersionKey "Comments" "Comments"