1#filter substitution 2# This Source Code Form is subject to the terms of the Mozilla Public 3# License, v. 2.0. If a copy of the MPL was not distributed with this 4# file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 7# These defines should match application.ini settings 8!define AppName "Thunderbird" 9!define AppVersion "@MOZ_APP_VERSION@" 10 11!define GREVersion @MOZILLA_VERSION@ 12!define AB_CD "@AB_CD@" 13 14!define FileMainEXE "@MOZ_APP_NAME@.exe" 15!define WindowClass "ThunderbirdMessageWindow" 16 17!define AppRegNameMail "Thunderbird" 18!define AppRegNameNews "Thunderbird (News)" 19!define AppRegNameCalendar "Thunderbird (Calendar)" 20 21!define ClientsRegName "Mozilla Thunderbird" 22 23!define BrandProductName "Thunderbird" 24!define BrandShortName "@MOZ_APP_DISPLAYNAME@" 25!define PreReleaseSuffix "@PRE_RELEASE_SUFFIX@" 26!ifndef BrandFullName 27!define BrandFullName "${BrandFullNameInternal}${PreReleaseSuffix}" 28!endif 29 30!define CERTIFICATE_NAME "Mozilla Corporation" 31!define CERTIFICATE_ISSUER "DigiCert SHA2 Assured ID Code Signing CA" 32; Changing the name or issuer requires us to have both the old and the new 33; in the registry at the same time, temporarily. 34!define CERTIFICATE_NAME_PREVIOUS "Mozilla Corporation" 35!define CERTIFICATE_ISSUER_PREVIOUS "DigiCert Assured ID Code Signing CA-1" 36 37# NO_INSTDIR_FROM_REG is defined for pre-releases which have a PreReleaseSuffix 38# (e.g. Alpha X, Beta X, etc.) to prevent finding a non-default installation 39# directory in the registry and using that as the default. This prevents 40# Beta releases built with official branding from finding an existing install 41# of an official release and defaulting to its installation directory. 42!if "@PRE_RELEASE_SUFFIX@" != "" 43!define NO_INSTDIR_FROM_REG 44!endif 45 46# AccessibleHandler.dll uses a different CLSID depending on release channel. 47# These defines must match HANDLER_CLSID defined in 48# accessible/ipc/win/handler/HandlerData.idl 49 50!define AccessibleHandlerCLSID "@MOZ_HANDLER_CLSID@" 51 52# ARCH is used when it is necessary to differentiate the x64 registry keys from 53# the x86 registry keys (e.g. the uninstall registry key). 54#ifdef HAVE_64BIT_BUILD 55!define HAVE_64BIT_BUILD 56#ifdef _ARM64_ 57!define ARCH "AArch64" 58!define MinSupportedVer "Microsoft Windows 10 for ARM" 59#else 60!define ARCH "x64" 61!define MinSupportedVer "Microsoft Windows 7 x64" 62#endif 63#else 64!define MinSupportedVer "Microsoft Windows 7" 65!define ARCH "x86" 66#endif 67 68!define MinSupportedCPU "SSE2" 69 70#ifdef MOZ_MAINTENANCE_SERVICE 71!define MOZ_MAINTENANCE_SERVICE 72#endif 73 74#ifdef MOZ_BITS_DOWNLOAD 75!define MOZ_BITS_DOWNLOAD 76#endif 77 78# File details shared by both the installer and uninstaller 79VIProductVersion "1.0.0.0" 80VIAddVersionKey "ProductName" "${BrandShortName}" 81VIAddVersionKey "CompanyName" "${CompanyName}" 82#ifdef MOZ_OFFICIAL_BRANDING 83VIAddVersionKey "LegalTrademarks" "${BrandShortName} is a Trademark of The Mozilla Foundation." 84#endif 85VIAddVersionKey "LegalCopyright" "${CompanyName}" 86VIAddVersionKey "FileVersion" "${AppVersion}" 87VIAddVersionKey "ProductVersion" "${AppVersion}" 88# Comments is not used but left below commented out for future reference 89# VIAddVersionKey "Comments" "Comments" 90