browser/installer/windows/nsis/defines.nsi.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/installer/windows/nsis/defines.nsi.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,110 @@
     1.4 +#filter substitution
     1.5 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 +
     1.9 +# Defining FunnelcakeVersion will append the value of StubURLVersionAppend to
    1.10 +# StubURLVersion, append the value of URLManualDownloadAppend to
    1.11 +# URLManualDownload, and append the value of URLStubDownloadAppend to
    1.12 +# URLStubDownload. The value of FunnelcakeVersion should not be defined when it
    1.13 +# is not used and when it is defined its value should never be empty.
    1.14 +# !define FunnelcakeVersion        "999"
    1.15 +
    1.16 +!ifdef FunnelcakeVersion
    1.17 +!define URLManualDownloadAppend  "&f=${FunnelcakeVersion}"
    1.18 +!define URLStubDownloadAppend    "-f${FunnelcakeVersion}"
    1.19 +!define StubURLVersionAppend     "-${FunnelcakeVersion}"
    1.20 +!else
    1.21 +!define URLManualDownloadAppend  ""
    1.22 +!define URLStubDownloadAppend    ""
    1.23 +!define StubURLVersionAppend     ""
    1.24 +!endif
    1.25 +
    1.26 +# These defines should match application.ini settings
    1.27 +!define AppName               "Firefox"
    1.28 +!define AppVersion            "@APP_VERSION@"
    1.29 +!define GREVersion            @MOZILLA_VERSION@
    1.30 +!define AB_CD                 "@AB_CD@"
    1.31 +
    1.32 +!define FileMainEXE           "@MOZ_APP_NAME@.exe"
    1.33 +!define WindowClass           "FirefoxMessageWindow"
    1.34 +!define DDEApplication        "Firefox"
    1.35 +!define AppRegName            "Firefox"
    1.36 +
    1.37 +!define BrandShortName        "@MOZ_APP_DISPLAYNAME@"
    1.38 +!define BrandFullName         "${BrandFullNameInternal}"
    1.39 +
    1.40 +!define NO_UNINSTALL_SURVEY
    1.41 +
    1.42 +!define CERTIFICATE_NAME      "Mozilla Corporation"
    1.43 +!define CERTIFICATE_ISSUER    "DigiCert Assured ID Code Signing CA-1"
    1.44 +
    1.45 +# LSP_CATEGORIES is the permitted LSP categories for the application. Each LSP
    1.46 +# category value is ANDed together to set multiple permitted categories.
    1.47 +# See http://msdn.microsoft.com/en-us/library/ms742253%28VS.85%29.aspx
    1.48 +# The value below removes all LSP categories previously set.
    1.49 +!define LSP_CATEGORIES "0x00000000"
    1.50 +
    1.51 +!if "@MOZ_UPDATE_CHANNEL@" == ""
    1.52 +!define UpdateChannel "Unknown"
    1.53 +!else
    1.54 +!define UpdateChannel "@MOZ_UPDATE_CHANNEL@"
    1.55 +!endif
    1.56 +
    1.57 +# Due to official and beta using the same branding this is needed to
    1.58 +# differentiante between the url used by the stub for downloading.
    1.59 +!if "@MOZ_UPDATE_CHANNEL@" == "beta"
    1.60 +!define BETA_UPDATE_CHANNEL
    1.61 +!endif
    1.62 +
    1.63 +!define BaseURLStubPing "http://download-stats.mozilla.org/stub"
    1.64 +
    1.65 +# ARCH is used when it is necessary to differentiate the x64 registry keys from
    1.66 +# the x86 registry keys (e.g. the uninstall registry key).
    1.67 +#ifdef HAVE_64BIT_OS
    1.68 +!define HAVE_64BIT_OS
    1.69 +!define ARCH "x64"
    1.70 +!define MinSupportedVer "Microsoft Windows Vista x64"
    1.71 +#else
    1.72 +!define ARCH "x86"
    1.73 +!define MinSupportedVer "Microsoft Windows XP SP2"
    1.74 +#endif
    1.75 +
    1.76 +#ifdef MOZ_MAINTENANCE_SERVICE
    1.77 +!define MOZ_MAINTENANCE_SERVICE
    1.78 +#endif
    1.79 +
    1.80 +#ifdef MOZ_METRO
    1.81 +!define MOZ_METRO
    1.82 +#endif
    1.83 +
    1.84 +#ifdef MOZ_CONTENT_SANDBOX
    1.85 +!define MOZ_CONTENT_SANDBOX
    1.86 +#endif
    1.87 +
    1.88 +# File details shared by both the installer and uninstaller
    1.89 +VIProductVersion "1.0.0.0"
    1.90 +VIAddVersionKey "ProductName"     "${BrandShortName}"
    1.91 +VIAddVersionKey "CompanyName"     "${CompanyName}"
    1.92 +#ifdef MOZ_OFFICIAL_BRANDING
    1.93 +VIAddVersionKey "LegalTrademarks" "${BrandShortName} is a Trademark of The Mozilla Foundation."
    1.94 +#endif
    1.95 +VIAddVersionKey "LegalCopyright"  "${CompanyName}"
    1.96 +VIAddVersionKey "FileVersion"     "${AppVersion}"
    1.97 +VIAddVersionKey "ProductVersion"  "${AppVersion}"
    1.98 +# Comments is not used but left below commented out for future reference
    1.99 +# VIAddVersionKey "Comments"        "Comments"
   1.100 +
   1.101 +# It isn't possible to get the size of the installation prior to downloading
   1.102 +# so the stub installer uses an estimate.
   1.103 +!define APPROXIMATE_REQUIRED_SPACE_MB "42.2"
   1.104 +
   1.105 +# Control positions in Dialog Units so they are placed correctly with
   1.106 +# non-default DPI settings
   1.107 +!define OPTIONS_ITEM_EDGE_DU 90u
   1.108 +!define OPTIONS_ITEM_WIDTH_DU 356u
   1.109 +!define OPTIONS_SUBITEM_EDGE_DU 119u
   1.110 +!define OPTIONS_SUBITEM_WIDTH_DU 327u
   1.111 +!define INSTALL_BLURB_TOP_DU 78u
   1.112 +!define APPNAME_BMP_EDGE_DU 19u
   1.113 +!define APPNAME_BMP_TOP_DU 12u

mercurial